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
精彩评论