Hosting WCF service on IIS7.5

丶灬走出姿态 提交于 2019-12-06 07:11:38

This is a generic error usually caused by an exception being thrown by the service. Unfortunately, since includeExceptionDetailInFaults is set to false in your config, you do not see any soap exception details on your client consuming the service.

First, set includeExceptionDetailInFaults = "true" in your development environment so you may see any additional exception details. Next, try to use a browser and navigate directly to http://localhost:4567/Service1.svc to see if the generic service page is displayed. Then try to navigate to http://localhost:4567/Service1.svc?wsdl to see if the WSDL is appropriately displayed. Any errors being thrown by the service should be thrown to the browser in both situations. Hopefully, this helps lead you to the root cause of your problem. Please post any additional information you find if you still cannot figure out the problem. Good luck!

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!