解决win7下发布的WCF服务出现的Http不能注册的问题,附上我的小工具
2011-01-11 17:09
585 查看
最近在学习WCF编程,开始就被一连串的小问题给挡住了,在我认真查阅资料后,看了好多网友的方法,找到解决方法之后,
我写了一个小工具方便刚学习WCF的朋友,遇到此类问题,可以很快得到解决,而不是花大量时间去到处寻找答案。
先看问题描述:
无法启动服务。System.ServiceModel.AddressAccessDeniedException: HTTP 无法注册 URLhttp://+:8080/。进程不具有此命名空间的访问权限(有关详细信息,请参阅http://go.microsoft.com/fwlink/?LinkId=70353)。 ---> System.Net.HttpListenerException: 拒绝访问。
在 System.Net.HttpListener.AddAll()
在 System.Net.HttpListener.Start()
在 System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
--- 内部异常堆栈跟踪的结尾 ---
在 System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
在 System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
在 System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
在 System.ServiceModel.Channels.HttpChannelListener.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.ServiceHo...
网友:/article/5172226.html给出了答案,但是他那个脚本,弄得有点麻烦,新手会被搞闷,我随后写了个小工具,
以方便解决这种问题。
小工具下载地址:WCFTools
我写了一个小工具方便刚学习WCF的朋友,遇到此类问题,可以很快得到解决,而不是花大量时间去到处寻找答案。
先看问题描述:
无法启动服务。System.ServiceModel.AddressAccessDeniedException: HTTP 无法注册 URLhttp://+:8080/。进程不具有此命名空间的访问权限(有关详细信息,请参阅http://go.microsoft.com/fwlink/?LinkId=70353)。 ---> System.Net.HttpListenerException: 拒绝访问。
在 System.Net.HttpListener.AddAll()
在 System.Net.HttpListener.Start()
在 System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
--- 内部异常堆栈跟踪的结尾 ---
在 System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
在 System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
在 System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
在 System.ServiceModel.Channels.HttpChannelListener.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.ServiceHo...
网友:/article/5172226.html给出了答案,但是他那个脚本,弄得有点麻烦,新手会被搞闷,我随后写了个小工具,
以方便解决这种问题。
小工具下载地址:WCFTools
相关文章推荐
- WCF 部署问题 小总结 (HTTP 不能注册的解决方法)
- WCF 部署问题 小总结 (HTTP 不能注册的解决方法 和 部署Bat脚本)[转]
- WCF 部署问题 小总结 (HTTP 不能注册的解决方法 和 部署Bat脚本)
- Orchestration通过向导发布为WCF服务寄宿在IIS中,出现账户权限问题的解决
- WCF 部署问题 小总结 (HTTP 不能注册的解决方法)
- WCF 部署问题 小总结 (HTTP 不能注册的解决方法 和 部署Bat脚本)
- 把WCF发布到iis上出现HTTP 404.3 Not Found的解决方法
- [解决]UserLibrary中的jar包不会自动发布到Tomcat的lib目录下,而出现的tomcat开启服务报错问题
- 发布我的Ajax工具类(myAjax)。可解决UTF-8客户端获取GB2312的服务器端出现的乱码问题
- Oracle EBS R12 - 解决在Oracle Linux 5.8 64上装完后http服务不能启动的问题
- weblogic服务上传word等文件直接打开问题解决 博客分类: web应用服务器 在weblogic上发布的web项目,测试中发现出现当上传word、excel、pdf等文件在下载的时候出现
- win7出现无法连接到代理服务器的错误,不能上网的问题的解决
- [问题]通过IIS宿主发布WCF服务,客户端添加服务引用出错的解决办法
- win7 下使用vb开发工具拖动控件时出现控件闪烁问题的解决方法
- ORACLE监听器TNS服务不能启动的问题解决(转自:http://www.cnweblog.com/sunGIS/archive/2006/08/21/124117.html)
- 解决Win7 x64安装解压版mysql 5.7.18 winx64出现服务无法启动问题
- win7出现无法连接到代理服务器的错误,不能上网的问题的解决
- ARCGIS Server 发布服务时出现的问题解决
- WCF服务发布到IIS时候,只能根据hostname访问,不能根据IP地址访问的解决办法
- 解决WCF服务使用net.tcp协议时出现“无法识别该URI前辍”的问题