Click here to Skip to main content
11,703,505 members (73,204 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: WCF C#4.0
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 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.

Posted 25-Dec-12 1:37am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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
Oleksandr Kulchytskyi at 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)

  Print Answers RSS
0 Maciej Los 550
1 OriginalGriff 460
2 Sergey Alexandrovich Kryukov 400
3 Andy Lanng 159
4 Matt T Heffron 115
0 OriginalGriff 8,519
1 Sergey Alexandrovich Kryukov 7,667
2 CPallini 4,987
3 Maciej Los 4,686
4 Mika Wendelius 3,566

Advertise | Privacy | Mobile
Web02 | 2.8.150819.1 | Last Updated 25 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100