views:

37

answers:

2

I have created a user using the built-in CreateUserWizard - control.

I can now log-in using the built-in Login - control.

But where is the data stored in the database?

I am using SQL Server 2005 Express and I have also sql server 2000 running on my PC.

A: 

In some tables.

Typically named:

  • aspnet_Membership
  • aspnet_Users
  • and friends
Noon Silk
How can I configure my Web project to use membership from sql 2000?
Point the connection string to that database? No?
Noon Silk
There is no ConnectionString in my Web.config file. But my application is working. How is it possible?
See the answer you've accepted for that.
Noon Silk
OK I am accepting you. Now plz tell me.
What? It makes no difference who accepted you; I was just saying that his post has the answers you need!
Noon Silk
Where can I find the window used in Step 3...'new ASP.NET Admin MMC Snap-in now provides a GUI based way'?
+2  A: 

Look in the app_data folder, which is a part of your project. There should be a database file in there. Unless you manually created the aspnetdb, using the aspnet_regsql.exe command, a database will be created for you in that folder.

Joshua Hudson
How can I use sql 2000 for membership?
google the aspnet_regsql.exe command. It is used to create all the tables you need. Here is a pretty good walkthrough for using it with sql 2000. http://weblogs.asp.net/scottgu/archive/2005/08/25/423703.aspx
Joshua Hudson
Where can I find the window used in Step 3...'new ASP.NET Admin MMC Snap-in now provides a GUI based way...'?
Ahh yes, that would be use if you were using IIS to host your pages. When you click on the virtual directory for your site in IIS there is a new ASP.net page. Since i'm assuming you are just using the built in visual studio host (You click run or debug and the page just opens), you can just edit the web.config.
Joshua Hudson
Correction: Not ASP.net page, I meant ASP.net tab.
Joshua Hudson