解决 service cannot be activated because it requires ASP.NET compatibility. ASP.NET compatibility is
2011-12-01 11:34
483 查看
解决 wcf The service cannot be activated because it requires ASP.NET compatibility. ASP.NET compatibility is not enabled for this application. Either enable ASP.NET compatibility in web.config or set the AspNetCompatibilityRequirementsAttribute.AspNetCompatibilityRequirementsMode
property to a value other than Required.
在web.config中配置<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
相关文章推荐
- 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
- 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
- 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
- Resolve Error: The service cannot be activated because it does not support ASP.NET compatibility.
- The service cannot be started, either because it is disabled or because it has no enabled deices ass
- [asp.net core]The requested page cannot be accessed because the related configuration data for the page is invalid.
- VS2010 + Sql Server Express 2008 R2 如何安装(兼谈错误:The database 'XXX' cannot be opened because it is version 661. This server support
- 关于applicationContext.xml cannot be opened because it does not exist的解决
- 解决App can’t be opened because it is from an unidentified developer
- Cannot be serialized to JSON because its IsReference setting is 'True'
- The project cannot be built until its prerequisite base-service is built. Cleaning and building all projects is recommended
- java.io.FileNotFoundException: class path resource [beans.xml] cannot be opened because it does not exist 解决方法
- VS2010 + Sql Server Express 2008 R2 如何安装(兼谈错误:The database 'XXX' cannot be opened because it is version 661. This server support
- SharePoint : This item cannot be deleted because it is still referenced by other pages
- The type javax.http.HttpServletRequest cannot be resolved.It is indirectly……问题之解决
- PowerShell: 如何解决File **.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get- help about_sig" for more de
- Powershell profile.ps1 cannot be loaded because its operation is blocked by software restriction policies