Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTTP could not register URL http://+:8000/HelloWCF/. Your process does not have access rights to this namespace

Tags:

wcf

Unfortunately the link in the exception text, http://go.microsoft.com/fwlink/?LinkId=70353, is broken. However, it used to lead to http://msdn.microsoft.com/en-us/library/ms733768.aspx which explains how to set the permissions.

It basically informs you to use the following command:

netsh http add urlacl url=http://+:80/MyUri user=DOMAIN\user

You can get more help on the details using the help of netsh

For example: netsh http add ?

Gives help on the http add command.


I closed Visual studio IDE and reopened it by right clicking on the Visual Studio icon and saying "Run as Administrator", Then when I ran the host , It worked!!!


Right Click on Visual Studio > Run as Administrator > Open your project and run the service. This is a privilege related issue.


You need some Administrator privilege to your account if your machine in local area network then you apply some administrator privilege to your User else you should start ide as Administrator...