突然提示这个Error:
Server Error in '/' Application. 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. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace:
查了一下, 如果有 Response.AddHeader()
改成 Response.Headers.Add()
或者 有写Response.Headers.Add()
改成 Response.AddHeader()
特此记录。