您的位置:首页 > 移动开发

ASP.NET features need application service database support

2014-09-04 15:11 197 查看


搭建的web程序出现如上图所示的错误
原因程序使用以下ASP.NET 特性

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



related link
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐