System.ServiceModel.AddressAccessDeniedException: HTTP could not register URL http://+:8000/... Your process does not have access rights to this namespace
When you get the error as mentioned in title. Please check the below things:
WCF service has to run as administrator
If you want to run this service locally then we can workaround this error. For this please follow the below blog:
http://blogs.msdn.com/b/avkashchauhan/archive/2011/03/22/opening-an-internal-http-endpoint-with-wcf-servicehost-basichttpbindings-may-cause-system-net-httplistenerexception-system-servicemodel-addressaccessdeniedexception.aspx
But the catch here as the blog says, it is totally internal to the machine. External WCF clients cannot communicate with this WCF service.
If you are logged in as Local user in the machine. Then run the application in elevated mode to avoid this error.
Comments
Post a Comment