Regarding Login control of ASP.Net 2.0

A

Amit Saxena

Hi,

i am trying to use Login control to check the credential of the user. i
want to validate credential against active directory in the
organization. i followed the steps suggested as in
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/paght000026.asp

I am not able to make this control work. i would like to know how can i
debug the login control or get some messages .

below is my web.config
<?xml version="1.0"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<connectionStrings>
<add name="ADConnectionString"
connectionString="LDAP://MYORG_Area.ad.Myorg.com/CN=Users,DC=MYORG_Area,DC=ad,DC=Myorg,DC=com"/>
</connectionStrings>
<system.web>
<membership defaultProvider="MyADMembershipProvider" />
<authentication mode="Forms">
<forms name=".ADAuthCookie" timeout="10"/>
</authentication>
<authorization>
<deny users="?"/>
<allow users="*"/>
</authorization>
<add name="MyADMembershipProvider"
type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web,
Version=2.0.0.0,Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="ADConnectionString"
connectionUsername="MYORG_Area\dtsadmin" connectionPassword="password"
attributeMapUsername="sAMAccountName"/>
<compilation debug="true"/></system.web>
</configuration>




Any pointers will be appreciated.
Thanks
Amit
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top