System.ServiceModel.AddressAccessDeniedException
来源:互联网 发布:node.exe是什么东西 编辑:程序博客网 时间:2024/06/05 19:17
发生了 System.ServiceModel.AddressAccessDeniedException
HResult=0x80131501
Message=HTTP 无法注册 URL http://+:8998/MyHellowWord/AppServer/。进程不具有此命名空间的访问权限(有关详细信息,请参见 http://go.microsoft.com/fwlink/?LinkId=70353)。
Source=System.ServiceModel
StackTrace:
在 System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
在 System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
在 System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
在 System.ServiceModel.Channels.TransportChannelListener.OnOpen(TimeSpan timeout)
在 System.ServiceModel.Channels.HttpChannelListener`1.OnOpen(TimeSpan timeout)
在 System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
在 System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)
在 System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
在 System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
在 System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
在 System.ServiceModel.Channels.CommunicationObject.Open()
在 MyHellowWord.Program.Main(String[] args) 在 G:\Projects\HellowWord\MyHellowWord\MyHellowWord\Program.cs 中: 第 16 行
内部异常 1:
HResult=0x80131501
Message=HTTP 无法注册 URL http://+:8998/MyHellowWord/AppServer/。进程不具有此命名空间的访问权限(有关详细信息,请参见 http://go.microsoft.com/fwlink/?LinkId=70353)。
Source=System.ServiceModel
StackTrace:
在 System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
在 System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
在 System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
在 System.ServiceModel.Channels.TransportChannelListener.OnOpen(TimeSpan timeout)
在 System.ServiceModel.Channels.HttpChannelListener`1.OnOpen(TimeSpan timeout)
在 System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
在 System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)
在 System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
在 System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
在 System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
在 System.ServiceModel.Channels.CommunicationObject.Open()
在 MyHellowWord.Program.Main(String[] args) 在 G:\Projects\HellowWord\MyHellowWord\MyHellowWord\Program.cs 中: 第 16 行
内部异常 1:
HttpListenerException: 拒绝访问。
解决办法:
管理员运行cmd:
输入:netsh http add urlacl url=http://+:8998/ user="\Everyone"
(netsh http add urlacl url=http://+:8998/AutoSystemMessageService.svc/ user="\Everyone")
阅读全文
1 0
- WCF System.ServiceModel.AddressAccessDeniedException
- System.ServiceModel.AddressAccessDeniedException
- System.ServiceModel.AddressAccessDeniedException
- WCF System.ServiceModel.AddressAccessDeniedException: HTTP 无法注册
- System.ServiceModel.ExceptionDetail
- C#System.ServiceModel.CommunicationException解决方案
- Wcf 添加服务失败 System.ServiceModel.FaultImportOptions
- VS2008添加服务失败 System.ServiceModel.FaultImportOptions
- ConfigSource attribute on system.serviceModel section
- C#找不到System.ServiceModel.Web命名空间
- System.ServiceModel.EndpointNotFoundException 发生在owstimer.exe
- <serviceHostingEnvironment>——引发的<system.serviceModel>
- 无法识别的配置节 system.serviceModel。
- Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel,
- 未能从程序集“System.ServiceModel”中加载类型“System.ServiceModel.Activation.HttpModule”。
- 配置错误,无法识别的配置节 system.serviceModel
- 配置错误,无法识别的配置节 system.serviceModel 解决方案
- 配置错误,无法识别的配置节 system.serviceModel
- JAVA设计模式——单例模式
- 日语词汇辨析:以来と以降と以後
- 《Visual Basic 程序设计》——>过程
- 隐马尔科夫模型(HMM)
- ASP.NET Razor – VB 循环和数组
- System.ServiceModel.AddressAccessDeniedException
- html中元素尺寸、坐标的获取
- response得输出
- spark-cluster及yarn-client说明
- Angularjs启动过程
- Oracle对于表中字段的相关操作
- 《Visual Basic 程序设计》——>文件
- java 正则表达式
- 编译器的字节范围测试