Posts

Showing posts from January 5, 2009

Tips while working on WCF

While working on WCF application, i encountered an error but could not see the message . I was only getting this message " The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs." To enable to see the error , go to the web.config and set the includeExceptionDetailInFaults to true . Cheers!!!

Error while running WCF application

I was getting this error when running my WCF application "This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false"." Then i searched in google and found this post http://forums.asp.net/t/1220987.aspx . This was helpful. But even i gave the allow permission it did not work. Then i did a aspnet_regiis -u and the aspnet_regiis -i . Bingo, it worked.. Cheers!!!