I am trying to setup .NET form based authentication with Sharepoint Services 3.0 and Active Directory. I enabled forms and created an appropriate membership provider in the administration page. I followed the instructions on for setting up an
http://technet2.microsoft.com/windowsserver/WSS/en/library/91035419-980e-4230-b3ae-67253b94af4a1033.mspx?mfr=true, and have the following in my web.config file:
<connectionStrings>
<add name="ADConnectionString"
connectionString=
"LDAP://ADDRESS/CN=WSIB_Us
ers,DC=WSI
B-IIS,DC=w
sibdemo,DC
=local" />
</connectionStrings>
<membership defaultProvider="Membershi
pADProvide
r">
<providers>
<add name="MembershipADProvider
" type="System.Web.Security.
ActiveDire
ctoryMembe
rshipProvi
der, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d
50a3a" connectionStringName="ADCo
nnectionSt
ring"
connectionUsername="DOMAIN
\Administr
ator" connectionPassword="PASSWO
RD" attributeMapUsername="SAMA
ccountName
"/></provi
ders>
</membership>
Restarting IIS and turning on custom error reporting gives me the parser error message:
Parser Error Message: Unable to establish secure connection with the server
It also highlights line 84:
Line 82: <membership defaultProvider="Membershi
pADProvide
r">
Line 83: <providers>
Line 84: <add name="MembershipADProvider
" type="System.Web.Security.
ActiveDire
ctoryMembe
rshipProvi
der, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d
50a3a" connectionStringName="ADCo
nnectionSt
ring" connectionUsername="wsibde
mo\Adminis
trator" connectionPassword="Wsib12
34" attributeMapUsername="SAMA
ccountName
"/></provi
ders>
Line 85: </membership>
Line 86: <httpModules>
Has anybody successfully managed to connect to AD using the System.Web.Security.Active
DirectoryM
embershipP
rovider provider and what steps did you take?