Local Environment { IIS 7.5 | Windows 7 | ASP.NET 4.0 | Integrated Pipeline}
ASP.NET WEBAPI生產環境| 「系統找不到指定文件」
Production Environment {IIS 8.0 | Windows 2012 Server | ASP.NET 4.x | Integrated Pipeline}
的WebAPI的功能在本地環境中工作如
http://<domain>/api/towncity?startsWith=Marston
但在生產,我收到下面的 「遲鈍」 的錯誤消息。
{"Message":"An error has occurred.","ExceptionMessage":"The system cannot find the file specified","ExceptionType":"System.ComponentModel.Win32Exception","StackTrace":null}
任何改進錯誤的信息呢?或者你知道解決方案?
非常感謝,戴夫。
查看服務器上的EventLog。它可能包含更多有用的信息。 – 2013-03-04 16:54:16