Click here to Skip to main content
15,888,003 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I am quite new with asp.net MVC. Recently I started playing arround with web api and came accross some strange errors. When I create new project(ASP.NET MVC 4 Web application -> WEB API), and I try to access the values controller via fiddler the PUT and DELETE methods dot't work - I get 404 not found. When I experimented with the problem I found out that this only occurs when I choose .net 4.5 framework(I use visual studio 11 RC). When the application uses .net 4.0 put and delete methods work normally. The only work-around I found so far is to create the application and choose .net 4.0 and once the project is created change the target framework to 4.5.

DId anybody else had similar problems and found a solution. Can anybody replicate my problem?

Any advice will be appreciated.
Uros
Posted
Comments
Nathan Stiles 30-Jun-12 22:42pm    
IIS has been giving false 404 since windows xp whatever version that was.
hollysong 18-Jul-12 3:43am    
I have same problem. And I can not find the right solution for me because I'm using IIS6 but if you have newer version check out http://geekswithblogs.net/michelotti/archive/2011/05/28/resolve-404-in-iis-express-for-put-and-delete-verbs.aspx

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900