Last post Jan 23, 2014 07:46 AM by msmolka
Jan 22, 2014 03:05 PM|standa.kurik|LINK
It seems there has been a problem introduced in the latest version of WebAPI. While so far I did not have any issues, after updating to 5.1.0 and deploying to our production server, I started getting the following errors to each request:
[PlatformNotSupportedException: This operation requires IIS version 7.5 or higher running in integrated pipeline mode.]
System.Web.Http.WebHost.HttpResponseBaseExtensions.GetClientDisconnectedTokenWhenFixed(HttpResponseBase response) +60
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +144
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +84
System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) +98
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288
The only WebAPI-related change I did after the update is that I added an ExceptionLogger-derived class to the pipeline. But this error pops up for all requests (at least it seems so), even those which should otherwise succeed.
I have no idea where this is coming from. Does anyone know more about this?
Jan 23, 2014 07:46 AM|msmolka|LINK
Yes, I'm seeing the same error. It looks like it doen't like IIS 7. And requires 7.5, but there is no such thing in documentation. At least I didn't find it in breaking changes from version 2 to 2.1