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: & Lt; / Behavior & gt; & Lt; / ServiceBehaviors & gt; ... & lt; /system.serviceModel> & Lt; / Configuration & gt;

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

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -