Tag: WCF

HTTP could not register URL [url]. Your process does not have access rights to this namespace

I was trying to build a project that I inherited (ASP C# ~.Net4) and I got the following error Please try changing the HTTP port to 8732 or running as Administrator. System.ServiceModel.AddressAccessDeniedException: HTTP could not register [url]. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details). —> System.Net.HttpListenerException: Access is denied … System.Net.HttpListenerException (0x80004005): Access...

Including Exception Details in WCF (IncludeExceptionDetailInFaults)

Sometimes when you receive an exception when debugging a WCF service, you receive the following 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...