开发者

I've a sql database file I want to use asp_regsql.exe tool to put asp.net membership provider

开发者 https://www.devze.com 2023-03-18 08:34 出处:网络
I\'ve a sql database fileI want to use asp_regsql.exe tool to put asp.net membership provider The main problem that I can\'t use the asp_regsql.ex开发者_如何学运维e to add the tables that I need ,

I've a sql database file I want to use asp_regsql.exe tool to put asp.net membership provider

I've a sql database file I want to use asp_regsql.exe tool to put asp.net membership provider

The main problem that I can't use the asp_regsql.ex开发者_如何学运维e to add the tables that I need , I tried various of connections , If some one got a CREATE sql file that contains the membership table construction it would help ,

Thank you in advance


Check out this tip I have written in code project. Simply, you can call the following once:

System.Web.Management.SqlServices.Install("YOUR_DATABASE", SqlFeatures.All, "YOUR_CONNECTION_STRING");  


You can find the SQL script @ %WINDOWS%\Microsoft.NET\Framework\v2.0.50727\InstallCommon.sql Source: https://web.archive.org/web/20211020203214/https://www.4guysfromrolla.com/articles/040506-1.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号