Click here to Skip to main content
15,885,875 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to code a WCF service in my laptop. I am trying to create a service host instance and then add a Service End Point to it. But I am getting the following error message :-

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


I am able to run the program as an admin but is there any way to run the program successfully without having Admin Rights?

THanks in Advance.

Regards
Jashobanta
Posted

1 solution

Hi, i know hot to resolve this issue with success.
For resolving , open comand ine with admin rights and paste nex line:
netsh http add urlacl url=http://+:8000/ServiceModelSamples/Service/ user=mylocaluser
 
Share this answer
 
Comments
Oleksandr Kulchytskyi 25-Dec-12 8:11am    
So, Does it help to you??

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