The server was unable to process the request due to an internal error. in WCF error

我只是一个虾纸丫 提交于 2019-12-05 15:37:08

When I get these cryptic errors, I turn on tracing and create a service log (.svcLog). You can then load/read this file using the Service Trace Viewer tool. This will give you detailed data regarding the error(s). Follow the instructions on this link - http://msdn.microsoft.com/en-us/library/ms732023.aspx

Please Check the Proxy file. check whether have you updated any thing in business/data access file and not updated the proxy. this is due to proxy error.

you can try adding diagnostics your web.config file to get logs:

 <system.diagnostics> 
      <sources> 
        <source name="System.ServiceModel" 
                switchValue="All" 
                propagateActivity="true"> 
          <listeners> 
            <add name="traceListener" 
                type="System.Diagnostics.XmlWriterTraceListener" 
                initializeData= "D:\AppLogs\Traces.svclog" /> 
          </listeners> 
        </source> 
      </sources> 
    </system.diagnostics>

It might be the case when you copy project from one system to another. in this case you must delete the endpoint from the web.config and you should add service reference again.

Also, you may add activity logging for client application and service application.

I hope this will solve your problem.

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