文章类型: .NET
关键词: ASP.NET,profile,找不到存储过程
内容摘要:

ASP.NET profile 找不到存储过程

2015/7/29 12:13:26    来源:apple    阅读:

ASP.NET profile 找不到存储过程'dbo.aspnet_CheckSchemaVersion'

 

webconfig的配置如下:

<connectionStrings>

<remove name="LocalSqlServer" />

<add name="LocalSqlServer" connectionString="Data Source=.;Initial Catalog=aspnetdb;User ID=sa;pwd=sa" providerName="System.Data.SqlClient" />

</connectionStrings>

 

发现如下错误:  找不到存储过程'dbo.aspnet_CheckSchemaVersion'

解决方法:

   导航到目录C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727,执行aspnet_regsql.exe,一定要选对数据库(webconfigconnectionString中保持一致)


↑ 上一篇文章:密码最短长度为 7,其中必须包含以下非字母数字字符: 1 关键词:密码,最短长度为,7,必须包含以下,非字母数字字符,1,.. 发布日期:2015/7/29 12:12:44
↓ 下一篇文章:ASP.NET 2.0的Membership, Roles, 和Profile 关键词:ASP.NET,2.0,Membership,Roles.. 发布日期:2015/7/29 12:14:04
相关文章:
ASP.NET 2.0的Membership, Roles, 和Profile 关键词:ASP.NET,2.0,Membership,Roles,Profile 发布日期:2015-07-29 12:14
ASP.NET中的URL编码解码 关键词:ASP.NET,URL编码,解码 发布日期:2015-07-28 17:58
asp.net中Response.Redirect与Server.Transfer的区别分析 关键词:asp.net,Response,Redirect,Server,Transfer,区别分析 发布日期:2015-07-29 14:11
相关目录:.NET软件开发ANDROID
我要评论
正在加载评论信息......