Home How to enable HTTP PUT on IIS 6?
Reply: 0

How to enable HTTP PUT on IIS 6?

user1246
1#
user1246 Published in May 21, 2018, 11:19 am

I have an ASP.NET 3.5 web site that I am trying to deploy on a server running IIS 6. Everything works OK, except I am getting an error when trying to make an HTTP PUT request to an .aspx page:

Error Message: Path 'PUT' is forbidden. Stack Trace: at System.Web.HttpMethodNotAllowedHandler.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

This is an ASP.NET 3.5 Forms application. I have tried:

  • Setting "All" Verbs for .aspx in IIS Mappings
  • Setting "All" Verbs for .svc in IIS Mappings
  • Adding a wildcard application map for C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll
  • Adding "PUT" to the system.webServer -> handlers section in web.config

If anyone has any suggestions it would be greatly appreciated.

I have had no problems with the same site running on IIS 7.5, but unfortunately I am stuck with 6.0 in this case.

Thanks!

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.340755 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO