Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please help with creating membership user

Status
Not open for further replies.

CRuser89

Programmer
May 18, 2005
79
US
Hello,

I am new to .net and C#. I am following a walkthrough and got to the step where i am to create a membership user through the ASP.net Web Site Administration Tool. I click on the "security" tab and get the following error:

There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store.

The following message may help in diagnosing the problem: Unable to connect to SQL Server database.

Can someone please walk me step by step on how to fix this? I am stuck here and cannot proceed until this step is done. thanks so much...

Tracy
 
No body can walk you step by step because we don't know your environment.

I guess what you called “ASP.NET Administration tools was the server explorer available in VS.NET. If I am correct in my guess, you need to update the connection string because something maybe changed so that you can’t connect to the SQL-Server any more. The easiest way is to delete the data store from Server Explorer and create another one. If you need to add a user or role to SQL-Server, the best way is to use Enterprise Manager of SQL-Server to do that. Then your role, user, etc will be available to your code after that. I know it can frustrating in the beginning, be patient and it will get better and easier.

If you still need help, try to be more precise in describing the problem and the environment you are using. Good luck to you



Walid Magd (MCP)

The primary challenge of every software development team is to engineer the illusion of simplicity in the face of essential complexity.
-Grady Booch
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top