tags:

views:

852

answers:

4

When trying to get a RESTful WCF service POST to work in ASP.NET we are seeing the following error message in the browser:

The server encountered an error processing the request. See server logs for more details.

We are using the ASP.NET Development Server - does anyone know where it keeps its log files?

+1  A: 

Does anything show up on the Event Viewer?

Josh Stodola
Nothing in the Event Viewer...
Richard Ev
+2  A: 

You can get more details if you activate the debug messages in the web.config file inside the behavior section :

<serviceDebug 
            httpHelpPageEnabled="true" 
            includeExceptionDetailInFaults="true"
          />

http://msdn.microsoft.com/fr-fr/library/system.servicemodel.configuration.servicedebugelement.aspx

Matthieu
+1  A: 

The built-in development server should be outputting message to the event viewer Application log. Mine does.

Dave Ranck
+3  A: 

You might want to consider configuring WCF tracing as described in this MSDN article.

Joe