Click here to Skip to main content
13,548,686 members
Click here to Skip to main content
Add your own
alternative version


2 bookmarked
Posted 10 May 2014
Licenced CPOL

Disable SharePoint Service Application's Custom Errors and Enable Service Debug

, 10 May 2014
Rate this:
Please Sign up or sign in to vote.
Disable SharePoint Service Application's Custom Errors and Enable Service Debug

You may have encountered the following error in SharePoint applications. You need to enable service debug to see real exception in the application.

Sorry, something went wrong.
The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.


If you are in a multi farm environment, first you need to find out where your service applications are running. For an example, assume that you need to know where reporting service is running.

Go to central administration and then go to Services on this server. Here you can change the Farm machine and can see whether reporting server instance is running. So note down machines which has reporting sever instance running.


Then log in to those machines and find reporting service web service application in IIS.


For that, you can change the View to Content View and select each SharePoint Web service and see whether ReportingWebService.svc is available. If yes, it the web application corresponding to reporting service service application.

Then open the web.config and add includeExceptionDetailInFaults=”true” to enable service debug.

        <serviceDebug includeExceptionDetailInFaults="false" />
    <behavior name="RSExecutionBehavior">
          <serviceThrottling maxConcurrentCalls="512" maxConcurrentInstances="512" />

Note: If service is running on multiple machines, you need to change all related web.config.


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


About the Author

Sri Lanka Sri Lanka
No Biography provided

You may also be interested in...


Comments and Discussions

-- There are no messages in this forum --
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01-2016 | 2.8.180515.1 | Last Updated 10 May 2014
Article Copyright 2014 by Melick
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid