Search code examples
asp.netconfigurationvisual-studio-2008-sp1sqlmembershipprovider

Can't add user in ASP.NET Web Site Adminstration Tool


I have added the SQL Role Provider and SQL Membership Provider to an existing application and set the authentication mode to Windows. I have created roles, but I cannot add users.

In the Security Tab of Web Site Administration Tool, I search for my user name and get the following:

No users found for this search.

It is my expectation that the tool would search AD for users. Am I supposed to add users to the aspnet_Users table manually? Or is there some key configuration element I'm supposed to set in the Web.config?


Solution

  • Here is an article by Scott Gu on how to do what you want.