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 3.0 SDK documentation and inspect the server trace logs .
The server could not process the request due to an internal error. For more information about the error, either open Includeexceptiondetailinfaults (either from the ServiceBehaviorAttribute or from the <serviceDebug> Configure behavior) on the server, Send exception information back to the client, or turn tracing on by Microsoft. NET Framework 3.0 SDK documentation and check the server trace logs.
Encountered the above error, is generally the WCF configuration of the Includeexceptiondetailinfaults=false, will be the specific error hidden, as long as the value of Includeexceptiondetailinfaults to True, Then look at the specific error, then the specific problem specific analysis will be OK.
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior>
<!--to avoid leaking metadata information, set the following value to False before deployment and delete the above metadata endpoint--
<servicemetadata httpgetenabled= "true"/>
<!--to receive the fault exception details for debugging, set the following value to True. Set to false before deployment to avoid leaking exception information--
<servicedebug includeexceptiondetailinfaults= "true"/>
<datacontractserializer maxitemsinobjectgraph= "2147483647"/>
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
</configuration>
The WCF server cannot process the request due to an internal error