Windows Server 2012 R2. Updated to Obsidian from Onyx yesterday.
When loading any page (even plain text) in a plesk protected directory, we get an error: "This server variable cannot be modified during request execution."
(by default this error does not show, I needed to set customErrors mode="off" to see the error).
(I switched the app pool to classic mode instead of integrated mode and it works, but apparently classic mode is not ideal and this solution is only a last resort).
Full error:
Server Error in '/' Application.
This server variable cannot be modified during request execution.
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.Web.HttpException: This server variable cannot be modified during request execution.
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:
[HttpException (0x80004005): This server variable cannot be modified during request execution.]
System.Web.HttpServerVarsCollection.SetServerVariableManagedOnly(String name, String value) +3418531
System.Web.HttpServerVarsCollection.SynchronizeServerVariable(String name, String value, Boolean ensurePopulated) +52
System.Web.HttpRequest.SynchronizeServerVariable(String name, String value) +120
System.Web.Hosting.IIS7WorkerRequest.GetServerVarChanges(HttpContext ctx) +321
System.Web.Hosting.IIS7WorkerRequest.SynchronizeVariables(HttpContext context) +9918689
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +156
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4261.0
When loading any page (even plain text) in a plesk protected directory, we get an error: "This server variable cannot be modified during request execution."
(by default this error does not show, I needed to set customErrors mode="off" to see the error).
(I switched the app pool to classic mode instead of integrated mode and it works, but apparently classic mode is not ideal and this solution is only a last resort).
Full error:
Server Error in '/' Application.
This server variable cannot be modified during request execution.
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.Web.HttpException: This server variable cannot be modified during request execution.
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:
[HttpException (0x80004005): This server variable cannot be modified during request execution.]
System.Web.HttpServerVarsCollection.SetServerVariableManagedOnly(String name, String value) +3418531
System.Web.HttpServerVarsCollection.SynchronizeServerVariable(String name, String value, Boolean ensurePopulated) +52
System.Web.HttpRequest.SynchronizeServerVariable(String name, String value) +120
System.Web.Hosting.IIS7WorkerRequest.GetServerVarChanges(HttpContext ctx) +321
System.Web.Hosting.IIS7WorkerRequest.SynchronizeVariables(HttpContext context) +9918689
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +156
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4261.0