您的位置:首页 > 编程语言 > ASP

使用aspnet_regsql.exe生成Memebership对应的数据库

2013-01-15 15:28 639 查看
 如果想自己手动创建Memebership 对应的数据库会,可以使用 Aspnet_regsql.exe

ASP.NET SQL Server Registration Tool (Aspnet_regsql.exe)

参考http://msdn.microsoft.com/en-us/library/ms229862(v=vs.100).aspx

Aspnet_regsql.exe 可以在本机找到,位置如下:

Aspnet_regsql.exe is installed in the Microsoft.NET Framework directory. If the computer is running multiple .NET Framework versions side-by-side, multiple versions of the tool might be installed. The following table lists the locations where the tool is
installed for different versions of the .NET Framework.

Version of .NET Framework

Location of Aspnet_regsql.exe file

.NET Framework version 2.0, version 3.0, and version 3.5 (32-bit systems)

%windir%\Microsoft.NET\Framework\v2.0.50727

.NET Framework version 2.0, version 3.0, and version 3.5 (64-bit systems)

%windir%\Microsoft.NET\Framework64\v2.0.50727

.NET Framework version 4 (32-bit systems)

%windir%\Microsoft.NET\Framework\v4.0.30319

.NET Framework version 4 (64-bit systems)

%windir%\Microsoft.NET\Framework64\v4.0.30319

找到Aspnet_regsql.exe,执行后出现图形界面,

参考:http://weblogs.asp.net/sukumarraju/archive/2009/10/02/installing-asp-net-membership-services-database-in-sql-server-expreess.aspx

web.config配置参考:

http://msdn.microsoft.com/en-us/library/6e9y4s5t.aspx

Memebership的使用

http://darcyz.blog.163.com/blog/static/331124762010101082012304/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: