Reputation: 489
when calling for example http://localhost/odata/test - (no TestController implemented),
Odata return internal server error instead of 404 (Not Found).
What can I do?
Upvotes: 1
Views: 1512
Reputation: 36
Confirm the path="*."
in the web.config file (inside <system.webServer> <handlers>
)
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0"/>
Upvotes: 2