What version of IIS are you running?

Also what is the OS?

 

 

Regards

 

Adrian Halid

 

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Greg Keogh
Sent: Monday, 31 July 2017 1:56 PM
To: ozDotNet <ozdotnet@ozdotnet.com>
Subject: [OT] WebApi not working

 

Folks, I deployed a WebApi to a Windows Server box that has never before had a 
REST style service installed on it. It has existing static sites, ASP.NET 
<http://ASP.NET>  apps and SOAP services all running fine. Routing is not 
working for the WebApi and all you get for any request is:

 

HTTP Error 404.0 - Not Found

The resource you are looking for has been removed, had its name changed, or is 
temporarily unavailable.

IIS Web Core

MapRequestHandler

StaticFile

0x80070002

 

I've had this before and I usually bumble around for an hour and find the 
Web.config file needs to add ExtensionlessUrlHandler-Integrated-4.0 with all 
verbs and the IIS role needs a few features installed, like Redirection (I 
think). So I usually stumble into getting it working, but this time I'm utterly 
blocked and nothing works. I've searched the whole Internet and tried every 
stupid thing I can think of. All the config and features are present, procmon 
reports no permission problems ... but I get nothing but the error above for 
the last 3 hours and I'm about to throw my box out the window.

 

Is there something I've forgotten to try?

Greg K

 

Reply via email to