Friday, July 18, 2008

How to enable Asp.NET security tables for a database.

You can run Aspnet_regsql.exe without any command-line arguments to run a wizard that will walk you through specifying connection information for your SQL Server database and installing or removing the database elements for supported features. You can also run Aspnet_regsql.exe as a command-line tool to specify database elements for individual features to add or remove. To specify SQL cache dependency settings or set up session state, you must use the command-line tool.

To run the wizard, run Aspnet_regsql.exe without any command-line arguments, as shown in the following example.


C:\%windir%\Microsoft.NET\Framework\[versionNumber]\aspnet_regsql.exe

0 comments: