Showing posts with label VS Dev. Show all posts
Showing posts with label VS Dev. Show all posts

Friday, 11 July 2014

The server encountered an error processing the request. See server logs for more details in (.svc) WCF Service

My Work env:

When I tried to access the .svc file hosted in IIS, I got the below mentioned error

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

I didn't get any other clue about this error.

Solution:

I added the line in .svc.cs,

config.UseVerboseErrors = true; in InitializeService() function.

Now I got a much clearer error message on the client side.