I have problem with WCF on IIS when using diagnostics.
When I call the service I get the following error:
System.Net.WebException: The remote server returned an error: (500) Internal Server Error..
If I remove "system.diagnostics" section I dont get error 500 but I get an error
The requested service, 'http://localhost/CustomerServiceSite/Customer.svc' could not be activated. See the server's diagnostic trace logs for more information..
Which obviously needs diagnostics to get fixed.
Any idea why diagnostics doesnt work?