我有一个 wcf 休息服务,当我把它放在 iss7 上并运行时,给我这个
The server encountered an error processing the request.
See server logs for more details.
但是日志没有说明任何内容。所以我的问题是我怎样才能把这些错误提出来?
最佳答案
根据我的需要(调试),只需将其设置为 true 我的服务行为并得到异常。
<serviceDebug includeExceptionDetailInFaults="false"/>
关于.net - 使用 wcf Rest 服务在 iis7 上显示错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15753719/