This operation requires IIS integrated pipeline mode.
8/8/2017 9:03:05 PM
如服务器安装的是IIS7++,那改为集成模式就能解决了。
关键是在IIS6时,这问题,呵呵了
解决方法:
Response.Headers.Set删除试试,让客户端自动识别就好,非得要这样的
//Response.Headers.Set("Content-type", "application/json;charset=utf-8");
还有老外的解决方法,不过半天没看懂怎么用,据了解是直接获取IIS的版本,还有更改web.config之类的,但这些方法还是没能解决。。
This operation requires IIS integrated pipeline mode.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.PlatformNotSupportedException: This operation requires IIS integrated pipeline mode.