Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I create WCF service library and i test that working fine on WCF Test client(default). when i host the WCF service in winodws service that time i got the error. I am using windows XP sp3, .Net 3.5 and Visual Studio 2008. i got error.

Error opening host : HTTP could not register URL "http://+:8731/WCFServerDLL/Service1/." Your process does not have access rights to this namespace (see "" for details).

the above link for microsoft i implement the httpcfg. Here i run the "httpcfg.exe set urlacl /u http://localhost:8731/WCFServerDLL/Service1/ /a"

i get the result

HttpSetServiceConfiguration completed with 0. what is the problem i got same error. can you give me a suggation.

share|improve this question

Yeah. READ. What you did, what the error message says. Realized that 8731 is NOT equal to 8000.

See, the error is thatt you dont ahve access rights on port 8731- "http://+:8731/WCFServerDLL/Service1/".

Then you blindly go and assign rights on port 8000 - "httpcfg.exe set urlacl /u http://localhost:8000/WCFServerDLL/Service1/ /a"

Change that and it will be working. Obviously the rights granted must be on the correct URL, which incidentally includes the correct port.

share|improve this answer
The error is "http://+:8731/WCFServerDLL/Service1" – sivakumar Dec 27 '10 at 13:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.