You must Sign In to post a response.
  • Category: WCF

    Could not able to run my WCF created. Throwing an exception


    I have created a WCF service. I build it. There is no error during the build. It is throwing an exception as follows:

    "Http could not register URL http://+:8080. Your process does not have access rights to this namespace(see LinkId=70353 for details)."

    I am having windows 7 as my operation system.

    Can anyone tell me how to resolve this.


  • #754692

    The issue is that the URL is being blocked from being created by Windows.

    Steps to fix: Run command prompt as an administrator. Add the URL to the ACL:

    netsh http add urlacl url=http://+:8000/ServiceModelSamples/Service user=mylocaluser

    here lets assume that, inside sevice folder my servicemodelsample page is there.

    hope its work for U..


  • #754733
    the NETSH command will hep you adding and registering the URL, if it is not coming default.

    Please refer the below discussion for more details.

    Thanks & Regards
    Anil Kumar Pandey
    Microsoft MVP, DNS MVM

  • #754775
    You have to open VS in administrative mode to resolve this issue

    Umesh Bhosale

  • Sign In to post your comments