Click here to Skip to main content
14,638,468 members
Articles » General Programming » Exception Handling » General
Tip/Trick
Posted 22 Nov 2011

Tagged as

Stats

73.6K views
1 bookmarked

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

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

Share

About the Author


Comments and Discussions

 
QuestionThanks Pin
qamar.nust11-Mar-18 20:47
Memberqamar.nust11-Mar-18 20:47 
QuestionThanks! Pin
Kuv Patel20-Aug-15 1:50
MemberKuv Patel20-Aug-15 1:50 
QuestionThanks a lot, This helped me today! Pin
KNam6-Apr-15 17:13
MemberKNam6-Apr-15 17:13 
GeneralThanks Pin
dvissu8-Dec-14 19:02
Memberdvissu8-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.