The API which I'm building is running in IIS express in Visual studio and on a test server which uses the same IIS as the live server. On both the IIS express and the test server works the API just fine, but when we put it on the live server it keeps returning a 404 response.
So far I found this article: Resolve 404 in IIS Express and found an explanation in this article:Request Filtering in IIS 7
All the settings are as far as I know dafault, but what do I need to check for errors more then the verbs?
EDIT:
It looks like it has to do with an setting in the web.config. The Managed Pipeline Mode is set to Integrated (classic mode will cause also this problem) and added: <system.webServer> <modules runAllManagedModulesForAllRequests="true"/> </system.webServer> source. Now the api is returning a http 500 error, but that is something I've to fix in the code.
aspnet_regiis -r(from the visual studio command prompt) to register the script mapping/handlers for .net. – Frank Thomas Aug 06 '15 at 15:05