Web services on Vista

Just a quick one… while developing web services in Vista, (in VB 2008 Express), you may find your system giving you an error in the form of

HTTP could not register URL Your process does not have access rights to
this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details).


Now of course the link you are given is a bit outdated so I’m just posting the quick solution…

Rather than the security vulnerability of requiring admin rights for your app, just give access to the particular namespace to your account.

Run a command prompt as admin and run the following command:
netsh http add urlacl url=http://+:8000/ user=MYMACHINEUserName

For more info, go here.

Leave a Reply

Your email address will not be published. Required fields are marked *