Last post Sep 09, 2008 01:49 PM by desertfoxaz
Mar 13, 2006 04:31 PM|salex2|LINK
I've been going through some online tutorials that show how to implement ActiveDirectoryMembershipProvider in .NET 2.0 but I cannot figure out how to do even a simple login...
I keep getting this error:
"If either of the properties connection-username or connection-password is specified, the other must also be specified."
The web.config is where it seems to be failing... here's the PROVIDER data (taken straight from the demo, except for one of our test user/password combos) - this is the line that throws the debug message:
I'm sure I'm messing something up - but what? I can't find a good, understandable example of hooking up Active Directory for simple User Login Authentication...
Mar 17, 2006 01:21 PM|dunnry|LINK
Mar 17, 2006 01:52 PM|salex2|LINK
Are you connecting to ADAM or AD? What is the connection protection you are using: secure or none?
Mar 03, 2008 06:23 AM|Zumbs|LINK
I had the same problem. The problem is the above line. It should read:
(that is, use a small n in Username)
Sep 09, 2008 01:49 PM|desertfoxaz|LINK
That was my problem. Thanks for the tip.