I have a problem with my ASP.NET login page that running trought IIS web server. the message problem "Invalid postback or callback argument" after clicking login that cannot be redirect for "admin main page". But if that login page running with Visual Studio, it working that redirect normaly How I can do for IIS configuration or my login code?
this is my login page code (default page) :
KoneksiServer()
Response.Cache.SetExpires(DateTime.UtcNow.AddMinutes(-1))
Response.Cache.SetCacheability(HttpCacheability.NoCache)
Response.Cache.SetNoStore()
txt_user.Focus()
If Not IsPostBack Then
If Session("username") <> "" And Session("Login") <> "" Then
Response.Redirect("~/page/Admin/index.aspx")
End If
If ((Not (Request.Cookies("UserName")) Is Nothing) _
AndAlso (Not (Request.Cookies("Password")) Is Nothing)) Then
txt_user.Text = Request.Cookies("UserName").Value
txt_password.Attributes("value") = Request.Cookies("Password").Value
End If
End If
and this is error page if trought IIS :
