成员资格提供商已停止在ASP.Net MVC中使用成员资格提供程序

时间:2010-06-15 20:42:13

标签: c# asp.net-mvc sql-server-2008 membership-provider

我有一个使用会员服务的生产ASP.Net MVC应用程序。它运作良好,一直到今天。服务器上没有任何变化,但我现在有这个错误:

System.Configuration.Provider.ProviderException:
The 'System.Web.Security.SqlMembershipProvider' requires a database schema compatible with schema version '1'.  However, the current database schema is not compatible with this version.  You may need to either install a compatible schema with aspnet_regsql.exe (available in the framework installation directory), or upgrade the provider to a newer version.

我检查了asp_schemaversions表,它看起来很好。请任何帮助将不胜感激。

更新

我通过重启服务器来解决问题。相反,我应该说我修复了症状。我想知道是否有其他人之前遇到过这个问题,因为每次重新启动服务器似乎都不是正确的修复。

0 个答案:

没有答案