Welcome to Bilal Haidar [MVP, MCT] Official Blog Sign in | Join | Help

Install Application Services Database on Microsoft Sql Server 2000

ASP.NET 2.0 ships with a set of providers for different features. We have the profile, membership, personalization and other new features that require a set of database tables and stored procedures, which are known as Application Services Database.

Usually when you create a new web application in ASP.NET 2.0 using either Visual Studio 2005 or Visual Web Developer, those tools would automatically build the database to use in either the Microsoft Sql Server 2005 or in the Microsoft Sql Express 2005.

However, if you still want to use the new features in ASP.NET 2.0 that need the database, with Microsoft Sql Server 2000, that is possible too. There is a tool called aspnet_regsql.exe that you can use in order to install the database on Microsoft Sql Server 2000.

In this post, we will go through a step by step tutorial on how to do so.

First of all, open a new comand prompt windows, go to:

{DriveLetter}:\Windows\Microsoft.Net\Framework\{Version Number}\aspnet_regsql.exe

Once you run this, the following screen is shown in front of you:

Click Next.

You have the choice to either install a new Application Services Database or remove an existing one from one of the databases you installed before. In this case we want to install new one, so choose the first option and press Next.

You will need to put your machine name instead of *Development*, it is the name of my VPC that I develop on. You can use either Windows or Sql authentication. In case you want to use Sql Authentication, then should have previously created the username and password on the database you want to install the services databased. Finally choose the database where you to install the services related database. Click Next. 

Click Next.

Click Finish.

 

Hope this tutorial helps,

 

Regards

 

Published Sunday, January 22, 2006 10:01 AM by BilalHaidar [MVP]

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Install Application Services Database on Microsoft Sql Server 2000

ASP.Net Forums listed this link to your Blog. Nice but I need to xfer a 2005 DB back to SQL Server 2000. The DB is pretty simple but I don't wish to manually recreate it. Running a script in 2K (created in 2005) fails. A number of other people have also expressed frustration with having developed an app using SQL Server Express or SQL Server 2005 but being forced to deal with a SQL Server 2000 environment. Any comments? Thanks.
Tuesday, July 18, 2006 12:23 PM by Melvin Bernstein

# re: Install Application Services Database on Microsoft Sql Server 2000

Your are right but there is one problem with COLLATION on sql server 2000, with two procedures, Where this procedures wants to create a temp table on temp db, when collation of our database does not match with SERVER collation, you can not add or remove ROLES from databse. i think that you must cover this error.

Thursday, May 17, 2007 3:01 AM by Mahdi Yousefi

# Install Application Services Database on MySQL

Is it possible to do the same for MySQL database server?

Friday, May 18, 2007 6:09 AM by Prakhar Prakash

# re: Install Application Services Database on Microsoft Sql Server 2000

I got the error: sql server does not allow remote connections.

Any idea how i can fix this?

thanks.

Tuesday, June 19, 2007 1:29 PM by twgirl

# re: Install Application Services Database on Microsoft Sql Server 2000

At what stage you got this exception twgirl? I can't help you like that without giving me more information!!

Feel free to email me on bhaidar @ gmail.com

Regards

Thursday, June 21, 2007 10:08 AM by BilalHaidar [MVP]

Leave a Comment

(required) 
required 
(required)