System.ServiceModel.AddressAccessDeniedException

问题描述

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"


posted @ 2015-04-02 15:18  踏歌长行  阅读(527)  评论(0编辑  收藏  举报