HTTP could not register URL http://+:10001/. Your process does not have access rights to this namespace

前端 未结 3 1517
终归单人心
终归单人心 2021-01-03 05:18

I just upgraded from Windows 7/VS2010 to a clean install of Windows 8/VS2012. I\'m logging onto a domain user (domain admin) and have started seeing this error when launchin

相关标签:
3条回答
  • 2021-01-03 05:58

    Make sure, you run both the VS and Command prompt as Administrator. Execute the command on Command Prompt

    netsh http add urlacl url=http://+:10001 user=<your_userid>
    

    Open VS as Administrator

    0 讨论(0)
  • 2021-01-03 05:59

    You can change Account window to administrator in control panel, it's have all permission to run url.

    0 讨论(0)
  • 2021-01-03 06:12

    You must execute something like this:

    netsh http add urlacl url=http://+:10001/YourUri/ user=\Everyone
    

    or

    netsh http add urlacl url=http://+:10001/YourUri/ user=DOMAIN\user
    

    Something is mentioned in this article or google for "netsh http add urlacl"

    AFAIK since Vista processes do not run with elevated privileges even if launched by Admin account. That is the whole point behind UAC.
    However after you run netsh command you will not need anything like that anyway.

    0 讨论(0)
提交回复
热议问题