Self Hosted WCF Service with Certificates

If you are self-hosting a WCF service, exposed via HTTP and requiring certificates for transport security, you’ll probably need to learn a little bit about netsh. If you are using IIS, you’ll just set up the certificates using inetmgr, but because you are self-hosting, you’ll need to run a command such as this: netsh httpContinue reading “Self Hosted WCF Service with Certificates”

Dealing with the Address Access Denied Exception

This article literally only exists because the link supplied in the System.ServiceModel.AddressAccessDeniedException didn’t work at all for me. The basic scenario is that you are debugging a WCF service in Visual Studio and you get this error: System.ServiceModel.AddressAccessDeniedException: HTTP could not register URL http://+:8001/MyService/. Your process does not have access rights to this namespace (seeContinue reading “Dealing with the Address Access Denied Exception”

Event Code 3005: An Unhandled Exception has Occurred

If you have come across this rather vague message (Event Code 3005: An Unhandled Exception has Occurred), you will have spotted that there are very few resources that give any reasonable answers on the root cause of the issue – that’s probably why you are here, so I will do my best to help. ForContinue reading “Event Code 3005: An Unhandled Exception has Occurred”