WCF ServiceHost access rights

前端 未结 10 1919
时光说笑
时光说笑 2020-11-27 09:36

I get the following error when going through the WCF tutorial.

HTTP could not register URL http://+:8000/ServiceModelSamples/Service/. Your process does not have acc

10条回答
  •  甜味超标
    2020-11-27 10:17

    Open a command prompt as the administrator and you write below command to add your URL:

    netsh http add urlacl url=http://+:8000/YourServiceLibrary/YourService user=Everyone
    

提交回复
热议问题