Note that there are some explanatory texts on larger screens.

plurals
  1. POForms Authentication, .Net 3.5 + IIS 6
    text
    copied!<p>I changed the Intranet site's authentication method from Windows to Forms, using AD authentication. It works when I launch it from VS 2008, goes directly yo login.aspx page and after loggin in goes to default.aspx. When I use the URL it tries to go to default.aspx directly and says you are not authorized to view this page, instead of going to login.aspx page. Not sure what I am missing here. In IIS, I enabled anonymous access and checked everything else off. In web.config I have the following:</p> <pre><code> &lt;authentication mode="Forms"&gt; &lt;forms name=".ADAuthCookie" loginUrl="Account/Login.aspx" defaultUrl="Default.aspx" timeout="5" /&gt; &lt;/authentication&gt; &lt;authorization&gt; &lt;deny users="?"/&gt; &lt;allow users="*"/&gt; &lt;/authorization&gt; &lt;membership defaultProvider="CMSOracleMembershipProvider"&gt; &lt;providers&gt; &lt;add name="CMSOracleMembershipProvider" type="Oracle.Web.Security.OracleMembershipProvider, Oracle.Web, Version=2.112.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342" connectionStringName="CMSConnectionString" applicationName="/" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="4" minRequiredPasswordLength="9" passwordAttemptWindow="8"/&gt; &lt;/providers&gt; &lt;/membership&gt; &lt;roleManager enabled="true" defaultProvider="CMSOracleRoleProvider"&gt; &lt;providers&gt; &lt;add name="CMSOracleRoleProvider" type="Oracle.Web.Security.OracleRoleProvider, Oracle.Web, Version=2.112.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342" connectionStringName="CMSConnectionString" applicationName="/"/&gt; &lt;/providers&gt; &lt;/roleManager&gt; </code></pre> <p>I don't have an asp login control, but a couple of textboxes for id and password and I handle the authentication using AD.</p> <p>I appreciaet your help.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload