Click here to Skip to main content
15,917,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi when i amhosting the service i am getting the error like below

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

please help me

Thanks
durga prasad
Posted

1 solution

selfhosting services is a little tricky. For development purposes you could run the application under administrive-privileges...this is, however, almost ever a bad idea.

the solution described here is better, but needs further configuration in a production environment...

Either way, if you have the choice, i would recommend IIS as the services host.
 
Share this answer
 
Comments
Samsani.v.s.Durga Prasad 19-Nov-12 7:53am    
but presently i do not have access to iis that's why i am doing selefhosting

i tried the below one in command prompt
netsh> http add url=http://+8072/Serviecname user=domain\Administrator listen=yes
then i am getting Url reservation add failed Error:87
earloc 19-Nov-12 8:21am    
you need to execute those commands under full administrative privileges. make sure you start your command line "as administrator". does this solve the issue?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900