Click here to Skip to main content
15,886,851 members
Articles / WCF
Tip/Trick

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

Rate me:
Please Sign up or sign in to vote.
5.00/5 (5 votes)
22 Nov 2011CPOL 84.2K   1   5
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)



Comments and Discussions

 
PraiseWCF - HTTP code 400 Pin
ItzAnish10-Aug-23 12:45
ItzAnish10-Aug-23 12:45 
QuestionThanks Pin
qamar.nust11-Mar-18 20:47
qamar.nust11-Mar-18 20:47 
QuestionThanks! Pin
Kuv Patel20-Aug-15 1:50
Kuv Patel20-Aug-15 1:50 
QuestionThanks a lot, This helped me today! Pin
KNam6-Apr-15 17:13
KNam6-Apr-15 17:13 
GeneralThanks Pin
dvissu8-Dec-14 19:02
dvissu8-Dec-14 19:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.