c# - turn on IncludeExceptionDetailInFaults -
I am using the asmx webservice which works in some cases and receives an exception: < Blockquote>
System.ServiceModel.FaultException: The server was unable to process the request due to internal error. For more information about the error, either to send the exception information to the customer, or to start tracing according to the Microsoft.NET Framework 3.0 SDK document, IncludeExceptionDetailInFaults (either by Save BeaverAttet or configuration behavior) on the server Turn on And server trace logs are inspected. Let me know the web. Adding to the config is to include adding Exclusivity Detectives but I found an invalid child: Any suggestions please
& lt; Configuration & gt; & Lt; System.serviceModel & gt; & Lt; Behavior & gt; & Lt; ServiceBehaviors & gt; & Lt; Transaction name = "debug" & gt; & Lt; Service debug includes ExceptionDetailInFaults = "true" /> & Lt; / Behavior & gt; & Lt; / ServiceBehaviors & gt; & Lt; / Behavior & gt; ... & lt; /system.serviceModel> & Lt; / Configuration & gt;
Comments
Post a Comment