Prerequisites:
Visual Studio 2005 installed
SQL Server 2005 installed (with a current database and your windows account with dbo/admin rights)
- Locate your SQL Database – make sure you have rights to it
- Locate the Visual Studio Command Prompt (All Programs -> Microsoft Visual Studio 2005 -> Visual Studio Tools -> Visual Studio 2005 Command Prompt)
- Run the following command: aspnet_regsql -S (local) -E -d MyDatabaseName -A all
DONE! Now have a look at your database. You should see a whole lot of new tables and stored procedures etc within your database.
For more help on the switches on the command above, type: aspnet_regsql /? within the Visual Studio 2005 Command Prompt.
No comments:
Post a Comment