Yes, there are tons on same question, but looks like i have a bit differently problem. I have created a new Web Api 2 project (Visual Studio 2015) with simple controller. That works fine, but only if you run via IIS Express. But with local IIS (v 7.5) it doesn't work and return 404.0 error.
ASP has been installed — i have other sites, hosted on my local IIS.
web.config i use in project is default
<?xml version="1.0" encoding="utf-8"?> <configuration> <system.webServer> <handlers> <add name="httpPlatformHandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified"/> </handlers> <httpPlatform processPath="%DNX_PATH%" arguments="%DNX_ARGS%" stdoutLogEnabled="false" startupTimeLimit="3600"/> </system.webServer> </configuration>
<modules runAllManagedModulesForAllRequests="true"/> does not solve my problem.
I have issue even with GET-requests, not only with PUT or DELETE.
Application has integrated mode and .NET Framework 4.0 version (in IIS applications)