Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enabling html PUT method on IIS 7.5

I'm doing a iCal Service to allow sync between Calendar instances and runs fantastic on localhost (under VS2010 Web Server)

But now That I hosted on a Windows 2008 R2 (IIS 7.5.7600) I couldn't create not even update an event :-o

Thunderbird always said

alt text

So I rush into Fiddler and found out the problem

alt text

a 405 error

alt text

That says PUT is not allowed :(

How can I enabled this method? Application Pool? WebSite definition? IIS Settings?

like image 840
balexandre Avatar asked Oct 15 '10 21:10

balexandre


People also ask

How do you enable put and delete in IIS?

To allow PUT and DELETE, you need to remove the WebDAV handler and module from the request pipeline by making the following changes to the Web. Config. The WebDAV element contains the settings that configure Web Distributed Authoring and Versioning (WebDAV) for Internet Information Services (IIS) 7 or above.

How do I enable Aspnet in IIS?

In Control Panel, click Programs, and then click Turn Windows features on or off. In the Windows Features dialog box, click Internet Information Services to install the default features. Expand the Application Development Features node and click ASP.NET 4.5 to add the features that support ASP.NET.

How do I enable Post in IIS?

Answers. First, make sure you have all handler mappings correctly, then your php pages should be handled by PHP things correctly. For HTML pages, if they are in fact PHP, map them to PHP also so that POST requests can be handled. Don't try to ask StaticFileHandler to handle POST, as it fails always as you see.

What is IIS10?

IIS 10.0 is the latest version of Internet Information Services (IIS) which shipped with Windows 10 and Windows Server 2016. This article describes the new functionality of IIS on Windows 10 and Windows Server 2016 and provides links to resources to learn more about these features.


1 Answers

We just need to remove the WebDav Service

Control Panel > Program and Features > Turn Windows features on or off

alt text

then navigate to Server Manager > Roles > Web Server (IIS) and wait until Roles Services come up.

Then Remove Role Service and Remove WebDAV Publishing

alt text

You need to restart the Server to finalize this action.

I hope it helps someone

like image 153
balexandre Avatar answered Sep 28 '22 04:09

balexandre