System.ServiceModel.AddressAccessDeniedException

来源:互联网 发布:狗书 python 编辑:程序博客网 时间:2024/06/08 00:56

问题描述

System.ServiceModel.AddressAccessDeniedException: HTTP could not register URLhttp://+:8998/AutoSystemMessageService.svc/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details). ---> System.Net.HttpListenerException: 拒绝访问。


解决方案

运行 CMD,执行下面的命令即可
netsh http add urlacl url=http://+:8998/AutoSystemMessageService.svc/ user="\Everyone"


0 0
原创粉丝点击