http://guodong.me/?p=1560
ASP. NET MVC 4 has a new feature called WebAPI which makes it much easier to create a REST API in ASP. Unfortunately, I ran into one problem with IIS 6.0 that prevented the full REST spec from being used. By default, IIS 6 wouldn ' t allow the PUT or DELETE verbs to being used with the WebAPI app, that we created.
Page requests using GET and POST worked fine, but PUT and DELETE gave the following error:
Failed to load Resource:the Server responded with a status of 501 (not implemented)
In order to solve the issue I needed to add the ASP. 4.0 DLL to the Wildcard mappings in the "Configuration area" on the Home Directory tab for the website. That fixed the problem for me. Here is the steps that I took to correct the issue in IIS.
1. Find the Web site in the ' Web Sites ' folder in Internet information Services (IIS) and right-click and select Propertie S.
2. Go to the "Home Directory" tab and click the "Configuration ..." button.
3. Find the. aspx extension in the "Application Extensions" table, select it and press the "Edit ..." button.
4. Copy the entire path and file name in the ' Executable: ' text box to the Clipboard. Press the "Cancel" button.
5. Press the "Insert ..." button near the "Wildcard Application Maps" list box. Paste the text from the Clipboard into the "Executable:" text box and press "OK".
6. Press OK on the application Configuration dialog and again on the website properties box.
Finishing HTTP PUT and DELETE requests fail after you deploy the ASP. NET MVC Web Api under IIS 6.0