Pages

Thursday, 18 August 2011

AddressAccessDeniedException HTTP could not register URL http://+:...

System.ServiceModel.AddressAccessDeniedException was unhandled
  Message=HTTP could not register URL http://+:xxxx/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details).

This is a typical problem which you can encounter when you migrate/create a service on Vista or Windows 7 machine. The reason why you can see it is because your user/group does not have rights to create a service that listen on the portion of the namespace. To perform reservation on Windows Vista or Windows 7 you have to use netsh.exe application which is available directly from your command line:

netsh http add urlacl http://+:[port]/ user=[Domain\Username or Everyone]

Before you even start, remember to run your command line application as an administrator otherwise you will not be able to accomplish the procedure. If your case scenario is more specific/unusual go to Microsoft webpage where you can find more detailed information. If you want to list existing reservations use the following expression: netsh http show urlacl

No comments:

Post a Comment