SIVA KUMAR

SIVA KUMAR

  • NA
  • 2
  • 5.1k

WCF service host in windows services

Dec 27 2010 8:55 AM


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.
Error opening host : HTTP could not register URL "http://+:8731/WCFServerDLL/Service1/." Your process does not
have access rights to this namespace (see "http://go.microsoft.com/fwlink/?LinkId=70353" for details).
the above link for microsoft to given and refer to 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.
I got same issue, what is the problem? can you give me a suggation.