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
相关文章推荐
- The service cannot be activated because it does not support ASP.NET compatibility. ASP.NET compatibility is enabled for this application. Turn off ASP.NET compatibility mode in the web.config or add the AspNetCompatibilityRequirements attribute to the ser
- How to use an ASP.NET application to query an Indexing Service catalog by using Visual Basic .NET
- ASP.NET 2.0 Localization (Video, Whitepaper, and Database Provider Support)
- ASP.NET MVC #01, Create a Movie Database Application in 15 Minutes with ASP.NET MVC
- Virus Scanner induced bug with ASP.NET webservice application
- Visual Studio 2008中ASP.NET AJAX的新应用程序服务:Role Application Service
- Resolve Error: The service cannot be activated because it does not support ASP.NET compatibility.
- asp.net create windows application and setup service.
- The service cannot be activated because it does not support ASP.NET compatibility
- The service cannot be activated because it does not support ASP.NET compatibility
- The service cannot be activated because it does not support ASP.NET compatibility
- Q & A:Does ASP.NET support one-way Web Service operations?
- Visual Studio 2008中ASP.NET AJAX的新应用程序服务:Role Application Service
- EF Database First with ASP.NET MVC: Creating the Web Application and Data Models开发遇到问题的解决办法
- The service cannot be activated because it does not support ASP.NET compatibility
- ASP.NET 2.0 Localization (Video, Whitepaper, and Database Provider Support)
- The service cannot be activated because it does not support ASP.NET compatibility
- How To Create an ASP.NET Application from Multiple Projects for Team Development
- Borland Delphi 2005 ( support .net freamwork and asp.net web app for delphi .net)
- ASP.NET 2.0: URL Mapping with RegEx Support