Due to new security settings in Windows Vista, we get this error "HTTP could not register URL http://+:8081/Greeting. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details)" when we try to run a ServiceHost in an HTTP address.
To resolve this, we have to give permissions to our user:
1º) Run Visual Studio 2005 Command Prompt as Administrator.
2º) Execute netsh http add urlacl url=http://+:8081/Greeting user=DOMAIN\user
3º) If we want remove permissions: netsh http delete urlacl url=http://+:8081/Greeting
No comments:
Post a Comment