Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / WCF

Error: The server encountered an error processing the request. See server logs for more details

5.00/5 (5 votes)
22 Nov 2011CPOL 85.6K  
Error: The server encountered an error processing the request. See server logs for more details

Hi,

This issue comes into picture whenever there is any issue at WCF service.
So see more details about the issue, you need to includeexceptiondetailInfaults attribute to true in servicedebug tag.
HTML
<servicebehaviors>
        <behavior name="myServiceBehavior">
          <servicedebug includeexceptiondetailinfaults="true" />
        </behavior>
</servicebehaviors>

Either you can also add class attribute to the service class.

Happy Kooding… Hope this helps!

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)