Friday, February 24, 2012

Avoiding ASPNETDB SQL database?

Hello.

I have been developing a small site that has two backend SQL Server databases. One for my application data and one for the ASPNETDB database that is created by the ASP .NET Configuration utility.

Is it possible to configure the ASP .NET Configuration tool to use my custom database instead of creating a second database called ASPNETDB?

Thanks in advance.

Kev

You first step would be to create the required ASP.NET required tables and objects. You would need to run the aspnet_regsql.exe tool located in the C:\<WindowsDir>\Framework\<frameworkversion> folder.

After that you need to change the connectionstrings section of you Web.Config.

|||

Thanks for the swift response jguadagno - much appreciated.

I ran the aspnet_regsql.exe utility and updated the connection string in the web.config file and that works perfectly.

Thanks again.

No comments:

Post a Comment