Login form not working
-
I have my ASP.NET application working fine under Visual Studio's integrated web server. Also I have set up IIS with my files and can access my application via browser But My problem is there is a login form which is not working in IIS but the same login form is working in Visual Studio. The username and password are not stored in database. I used Form authentication. My web.config part is shown below allow roles="Administrators" deny users="*" I have everything working fine except the login form in IIS. Login form is perfectly working under Visual Studio. Plz help me
-
I have my ASP.NET application working fine under Visual Studio's integrated web server. Also I have set up IIS with my files and can access my application via browser But My problem is there is a login form which is not working in IIS but the same login form is working in Visual Studio. The username and password are not stored in database. I used Form authentication. My web.config part is shown below allow roles="Administrators" deny users="*" I have everything working fine except the login form in IIS. Login form is perfectly working under Visual Studio. Plz help me
Have you configured the IIS properly? There is an Authentication configuration present in it. You need to set that too based on your application. Further, what exactly is happening on Login page in IIS... any error? From your details it just sounds like some sort of impersonation issue. Since it's a Forms Authentication, you would be able to debug too... what does that say? Also, Have a look at these: http://msdn.microsoft.com/en-us/library/ff647070.aspx#pagexplained0002_iisauthentication[^] http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/3b69057f-39a7-4d0b-9315-ccc66a0c6676.mspx?mfr=true[^]
-
I have my ASP.NET application working fine under Visual Studio's integrated web server. Also I have set up IIS with my files and can access my application via browser But My problem is there is a login form which is not working in IIS but the same login form is working in Visual Studio. The username and password are not stored in database. I used Form authentication. My web.config part is shown below allow roles="Administrators" deny users="*" I have everything working fine except the login form in IIS. Login form is perfectly working under Visual Studio. Plz help me
DO NOT CROSS POST! Remove the one that has not had any answers posted to it and read the forum guidelines.
I know the language. I've read a book. - _Madmatt