Monday, February 14, 2011

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 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 3.0 SDK documentation and inspect the server trace logs.


While configuring the SharePoint 2010 for Forms Based Authentication, I encountered above error. To get the problem, I had to change “IncludeExceptionDetailInFaults” to true somewhere. But WHERE?

Here is what solved my problem:

Go to following path:

1. C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebServices\SecurityToken

2. Open Web.config there.

3. Add following in the “behaviors > serviceBehaviors > behavior” node.

<serviceDebug includeExceptionDetailInFaults="true"/>

Now try to login and see what error it gives, off to a next error Smile

1 comment:

Feel free to give constructive feedback or let me know if it was helpful.