ASP.NET features need application service database support
-
Membership (the SqlMembershipProvider class).
-
Role management (the SqlRoleProvider class).
-
Profile (the SqlProfileProvider class).
-
Web Parts personalization (the SqlPersonalizationProvider class).
-
Web events (the SqlWebEventProvider class)
By default, each SQL Server provider stores data in an automatically generated database using a local Microsoft SQL Server Express installation. Each feature can be used individually, or in conjunction with other features. For example, you could use role management by itself or in conjunction with the user information managed by the membership feature
有两种解决办法
1:ASP.NET includes a tool for installing the SQL Server database used by the SQL Server providers(aspnet_regsql.exe)
2: web.config
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。