does not support ASP.NET compatibility 错误

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 service type with RequirementsMode setting as ‘Allowed‘ or ‘Required‘.?

 

在web.config中设置

<system.serviceModel>

<serviceHostingEnvironment aspNetCompatibilityEnabled="false"></serviceHostingEnvironment>
 </system.serviceModel>

does not support ASP.NET compatibility 错误,布布扣,bubuko.com

does not support ASP.NET compatibility 错误

上一篇:OO 第四单元总结


下一篇:解决子级用css float浮动 而父级div没高度不能自适应高度