积极答复者
xp中可以用的wcf程序在win7下报错 Your process does not have access rights to this namespace

问题
-
我打开一个wcf服务端程序就报错:在open的时候
HTTP could not register URL http://+:8735/Design_Time_Addresses/DebugService/. Your process does not have access rights to this namespace
(see http://go.microsoft.com/fwlink/?LinkId=70353 for details).这个错误信息,搞不清楚,给的连接也看不了,另外一台xp电脑上可以用的,我的win7就用不了。why?
答案
-
1.注册你的WCF服务地址到你的机器上,例如:
netsh http add urlacl url=http://+:8000/ServiceModelSamples/Service user=mylocaluser2.以管理员的身份运行Visual Studio.
你可以参考下:
http://www.dotnetfunda.com/forums/thread3651-http-could-not-register-url-httpxxxsvc-your-process-does-not-have.aspx
http://stackoverflow.com/questions/885744/wcf-servicehost-access-rightsPlease mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com Microsoft One Code Framework
- 已标记为答案 a013strife 2012年6月7日 0:50
-
全部回复
-
1.注册你的WCF服务地址到你的机器上,例如:
netsh http add urlacl url=http://+:8000/ServiceModelSamples/Service user=mylocaluser2.以管理员的身份运行Visual Studio.
你可以参考下:
http://www.dotnetfunda.com/forums/thread3651-http-could-not-register-url-httpxxxsvc-your-process-does-not-have.aspx
http://stackoverflow.com/questions/885744/wcf-servicehost-access-rightsPlease mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com Microsoft One Code Framework
- 已标记为答案 a013strife 2012年6月7日 0:50
-