Hi, I was trying to set up the Forms authentication via Active Directory on my test website. I followed all the instructions inside here: Unfortunately, when I try to login, I get this error message:
Error: You were not connected because a duplicate name exists on the network. Go to System in Control Panel to change the computer name and try again.
(C:\Inetpub\ line 120)
Here is my membership details in Web.config
<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="XXXXXXX\xxxx"
connectionPassword="xxxxxx"
attributeMapUsername="sAMAccountName"
/>
</providers>
</membership>
I don't know what is causing this as I'm certain the computer name is unique on the network. Can anyone help with this? Thanks in advance.
Error: You were not connected because a duplicate name exists on the network. Go to System in Control Panel to change the computer name and try again.
(C:\Inetpub\ line 120)
Here is my membership details in Web.config
<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="XXXXXXX\xxxx"
connectionPassword="xxxxxx"
attributeMapUsername="sAMAccountName"
/>
</providers>
</membership>
I don't know what is causing this as I'm certain the computer name is unique on the network. Can anyone help with this? Thanks in advance.