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
So I rush into Fiddler and found out the problem
a 405 error
That says PUT is not allowed :(
How can I enabled this method? Application Pool? WebSite definition? IIS Settings?
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.
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.
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.
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.
We just need to remove the WebDav Service
Control Panel > Program and Features > Turn Windows features on or off
then navigate to Server Manager
> Roles
> Web Server (IIS)
and wait until Roles Services
come up.
Then Remove Role Service
and Remove WebDAV Publishing
You need to restart the Server to finalize this action.
I hope it helps someone
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With