Click here to Skip to main content
15,915,603 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
In my web application i am using forms authentication and it is working fine in my local machine. After deploying code on IIS7.0, it is working some time and sometimes it is not. When i run the application, it is giving me the login page and after entering the credentials it is displaying as "Internet Explorer Cannot display the web page" after approximately 1 min.
Below are my web.config settings.
HTML
<authentication mode="Forms">
      <forms loginUrl="Login.aspx"
      protection="All"
           timeout="30"
           name=".ASPXAUTH"
           path="/"
           requireSSL="false"
           slidingExpiration="true"
           defaultUrl="SDAuditUI.aspx"
           cookieless="UseDeviceProfile"
           enableCrossAppRedirects="false" />
    </authentication>
    <authorization>
      <deny users="?" />
      <allow users="*" />      
    </authorization>    

These are my settting is Appliacation pool in IIS7.0
Managed Pipelinemode: Integragrated
Identity: NetworkService

Please adive where are the settings I am missing in IIS7.0
Posted
Updated 5-Sep-11 2:38am
v2

1 solution

Check if your IIS has the authentication you need. By default IIS 7 does not have all the authentication installed.
Also check your app pool in the IIS.

missing-windows-authentication-provider-for-iis-7-on-windows-server-2008.aspx[^]

installing-iis-7-on-windows-server-2008-or-windows-server-2008-r2/[^]
 
Share this answer
 
Comments
eskumar 6-Sep-11 2:37am    
Thanks for the reply.I verified that FOrms authentication is available and even after enabling it in IIS 7.0, the same issue..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900