OData returns internal server error (500) when calling a controller that not exists - on iis
- 阅读更多 关于 OData returns internal server error (500) when calling a controller that not exists - on iis
问题 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? 回答1: 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"/> 来源: https://stackoverflow.com/questions/46884389/odata-returns