How should I handle the installation of a Windows Service that needs to register HTTP/TCP bindings? I’m currently getting the following exception when I try and start the service?
System.ServiceModel.AddressAccessDeniedException: HTTP could not register URL ht
tp://+:1001/AutoActionWCFService/. Your process does not have access rights to t
his namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details). –
-> System.Net.HttpListenerException: Access is denied
It works fine as I run the executable directly, as administrator, but not sure how I can do that from Octopus.
Thanks for getting in touch! Have you tried to change your service LogOn details (see attachment) and run it as Administrator? If not, then please try to do it and see if this fixes the problem. If it does, then the account that the service was using originally is missing some permissions.