PUT handler not found with serviceStack on IIS7.5

I am currently using serviceStack to create REST-based services hosted in an MVC web application.

So far, ServiceStack has been awesome, and I have achieved most of what I wanted to do. All this works in IISExpress.

Now I upgraded to IIS 7.5, and I got a 400 error that the "Request Handler Not Found" when doing PUT. GET works great and both PUT and GET work on IISExpress.

In IISExpress, this all works.

Any ideas?

+3
source share
1 answer

Information about IIS + PUT / DELETE Verbs taken from the NancyFx WebFx ASP.NET Documentation :

IIS 6 PUT DELETE. , Nancy - "URL-, IIS6" : http://haacked.com/archive/2008/11/26/asp.net-mvc-on-iis-6-walkthrough.aspx

"405 " PUT/DELETE IIS 7/7.5. - WebDAVModule web.config.

<system.webServer>
    <modules runAllManagedModulesForAllRequests="true">
      <remove name="WebDAVModule" />
    </modules>  
</system.webserver>

PUT/DELETE - HTTP-

ServiceStack X-Http-Method-Override HTTP, PUT DELETE POST ( ).

+9

All Articles