我想用我在web.config中定义的用户名和密码使用表单身份验证来保护我的网站的一部分。当我尝试登录时,我会看到下面的消息。使用没有.Net提供程序的Forms身份验证
Server Error in '/' Application.
Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'.
我猜这是因为它试图使用由LocalSqlServer连接字符串定义的Membership表。 我不想使用会员功能,我该如何配置我的web应用程序来做到这一点?
我是否需要为内置登录控件自己编写Authenticate函数?
嗨,你已经使用过asp.net SQL Server安装工具吗? http://weblogs.asp.net/scottgu/archive/2005/08/25/423703.aspx – keyboardP 2010-01-16 15:47:45
这正是我不想使用的。让我重新迭代,我不想使用Membership特性。 – 2010-01-17 16:55:02
另一个非常类似的问题与不同的答案:http://stackoverflow.com/questions/1583262/asp-net-authentication-use-credentials-from-web-config-problem – Greg 2010-01-29 16:21:47