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

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

    Hi,

    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 http://go.microsoft.com/fwlink/? LinkId=70353 for details)."

    I am having windows 7 as my operation system.

    Can anyone tell me how to resolve this.

    Regards,

    RAJAN CRP
  • #754692
    Hi,

    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..


    Thanks,
    chitaranjan

  • #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.



    blogs.msdn.com/b/paulwh/archive/2007/05/04/addressaccessdeniedexception-http-could-not-register-url-http-8080.aspx

    Thanks & Regards
    Anil Kumar Pandey
    Microsoft MVP, DNS MVM

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

    Thanks
    Umesh Bhosale


  • Sign In to post your comments