当前位置: 代码迷 >> ASP.NET >> 服务器供应商不让使用aspnet_regsql.exe,该如何解决
  详细解决方案

服务器供应商不让使用aspnet_regsql.exe,该如何解决

热度:8622   发布时间:2013-02-25 00:00:00.0
服务器供应商不让使用aspnet_regsql.exe
我需要用profile
要用aspnet_regsql.exe
但服务器供应商说不可以随便运行那些向导
怎么办

------解决方案--------------------------------------------------------
再aspnet_regsql.exe的目录下面有那几个sql文件,执行一下即可。
然后再web.config中修改
<connectionStrings>
<remove name= "LocalSqlServer "/>
<add name= "LocalSqlServer " connectionString= "自己知道怎么写吧 "/>
</connectionStrings>