R
raghu
I have a simple logon control and I use form/AD authentication using a
service account. I still get the above error on testing. I am testing in:
vs2005/ XP/localhost, asp.net 2.0
The web.config is:
<?xml version="1.0"?>
<configuration>
<appSettings/>
<connectionStrings>
<add name="ADConnectionString" connectionString="LDAP://myDomain/DC=..." />
</connectionStrings>
<system.web>
<compilation debug="false"/>
<authentication mode="Forms">
<forms
name=".ADAuthCookie"
timeout="10" />
</authentication>
<authorization>
<deny users="?" />
<allow users="*" />
</authorization>
<membership defaultProvider="MyADMembershipProvider">
<providers>
<add
name="MyADMembershipProvider"
type="System.Web.Security.ActiveDirectoryMembershipProvider,
System.Web, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="ADConnectionString"
connectionUsername="Domain\ServiceAcct"
connectionPassword="password"/>
</providers>
</membership>
</system.web>
</configuration>
I am new to .NET 2.0 and login controls. What am I missing. For giggles, I
change the service account to my domain account,it allows only my credentials
:
What am I missing ??
thanks
service account. I still get the above error on testing. I am testing in:
vs2005/ XP/localhost, asp.net 2.0
The web.config is:
<?xml version="1.0"?>
<configuration>
<appSettings/>
<connectionStrings>
<add name="ADConnectionString" connectionString="LDAP://myDomain/DC=..." />
</connectionStrings>
<system.web>
<compilation debug="false"/>
<authentication mode="Forms">
<forms
name=".ADAuthCookie"
timeout="10" />
</authentication>
<authorization>
<deny users="?" />
<allow users="*" />
</authorization>
<membership defaultProvider="MyADMembershipProvider">
<providers>
<add
name="MyADMembershipProvider"
type="System.Web.Security.ActiveDirectoryMembershipProvider,
System.Web, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="ADConnectionString"
connectionUsername="Domain\ServiceAcct"
connectionPassword="password"/>
</providers>
</membership>
</system.web>
</configuration>
I am new to .NET 2.0 and login controls. What am I missing. For giggles, I
change the service account to my domain account,it allows only my credentials
:
What am I missing ??
thanks