Hi,
I have created a simple wcf service. I have already debug the wcf service separately, it's okay then. I have hosted it by a windows service. But when I install the windows service in my computer and tried to start the windows service, it can't be start. It's getting the following exception.
Service cannot be started. System.ServiceModel.AddressAccessDeniedException: HTTP could not register URL http://+:8080/. 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
at System.Net.HttpListener.AddAllPrefixes()
at System.Net.HttpListener.Start()
at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
--- End of inner exception stack trace ---
at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
at System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
at System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
at System.ServiceModel.Channels.TransportChannelListener.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.HttpChannelListener`1.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan ...
Although I have started my visual studio as an administrator and also the visual studio developer command window during the service installation. I have also register the base address of the service by using the command "netsh http add urlacl url=http://+:8080/MyUri
user=DOMAIN\user". None of those process can't solve the exception. Please suggest me a way to solve the exception.