Hi all,
I have an error...
The container specified in the connection string does not exist
Basically, I am using Active Directory authentication in ASP.NET 2.
I have set up my connection string. (This is called ADConn)
LDAP://MyADServer/OU=TKE-GB,OU=Employee,OU=Accounts,DC=cene,DC=edc,DC=CompName,DC=com
I am still very new to AD.
I also have in my member****p part of the web.config...
<member****p defaultProvider="ADMember****pProvider">
<providers>
<clear />
<add name="ADMember****pProvider"
type="System.Web.Security.ActiveDirectoryMember****pProvider,
System.Web, Version=2.0.3600.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="ADConn"
connectionUsername="ADSERVER\MyUser"
connectionPassword="MyPassword"
attributeMapUsername="sAMAccountName"
connectionProtection="Secure" />
</providers>
</member****p>
I am using Forms Authentication.
For some reason, my login doesn't work. I have a potential idea what it
may
be, but would like to hear your thoughts as to what causes the error. "The
container specified in the connection string does not exist"
I can navigate fine using an LDAP browser and other code that lists all
the
users using the same connection string works fine, so I cannot understand
why the member****p provider doesn't work.
Any help would be very much appreciated.
--
Best regards,
Dave Colliver.
http://www.AshfieldFOCUS.com
~~
http://www.FOCUS****tals.com
- Local franchises available


|