Could not register HTTP URL with WCF
2013-03-29 17:45
495 查看
http://alensiljak.blogspot.com/2011/10/could-not-register-http-url-with-wcf.html
Just had the following error:
HTTP could not register URL http://+:8000/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details).
when trying to run a Windows Service that listens on localhost using HTTP protocol. This happens on operating systems >= Vista, meaning the Windows 2008 is affected. The solution (listed
here) is to run the following command as Administrator:
netsh http add urlacl url=http://+:8000/ user=DOMAIN\UserName
Now, to execute the same thing in older operating systems (Windows 2003, for example), you would run:
httpcfg set urlacl -u http://+:8890/ -a D:(A;;GX;;;S-1-5-20)
Then check the results with "httpcfg query urlacl". Replace "set" with "delete" to remove the permissions. Given SID is for NTAuthority\NetworkService.
Just had the following error:
HTTP could not register URL http://+:8000/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details).
when trying to run a Windows Service that listens on localhost using HTTP protocol. This happens on operating systems >= Vista, meaning the Windows 2008 is affected. The solution (listed
here) is to run the following command as Administrator:
netsh http add urlacl url=http://+:8000/ user=DOMAIN\UserName
Now, to execute the same thing in older operating systems (Windows 2003, for example), you would run:
httpcfg set urlacl -u http://+:8890/ -a D:(A;;GX;;;S-1-5-20)
Then check the results with "httpcfg query urlacl". Replace "set" with "delete" to remove the permissions. Given SID is for NTAuthority\NetworkService.
相关文章推荐
- 注册WCF Host的时候发生错误:An exception occurred: HTTP could not register URL
- 本地调试WCF程序出现错误:AddressAccessDeniedException: HTTP could not register URL
- HTTP could not register URL http://+:****/WCFService/. Your process does not have access rights to this namespace
- WCF常见错误之HTTP could not register URL http://+:80/Temporary_Listen_Addresses/<guid>/ because TCP port 80 is being used by
- 启动WCF服务时出现WCF Error: HTTP could not register URL http://+:xxxx/... Your process does not have access rights to this namespace
- HTTP could not register URL http://+:8000/ServiceModelSamples/service/. Your
- HTTP could not register URL http://+:86/. 设置VS默认以管理员权限打开
- HTTP could not register URL http://+:8000/testservice/. Your process does not have access rights to this namespace 解决方案
- 【解决方案】HTTP could not register URL http://+:6001/
- HTTP could not register URL http://+:8000/testservice/. Your...
- WCF分布式开发常见错误(23):This could be due to the fact that the server certificate is not configured properly with HTTP.SYS
- Http could not register URL http://
- WCF分布式开发常见错误(24):Could not establish trust relationship for the SSL/TLS secure channel with authority(转)
- WCF:Could Not Load Type ‘System.ServiceModel.Activation.HttpModule’
- 解决:Could not connect to database with specified JDBC URL问题
- .CondaHTTPError: HTTP Error: Could not find URL: https://pypi.python.org/pypi/win-64/
- WCF Could not establish trust relationship for the SSL/TLS secure channel with authority
- win8 iis8 发布wcf服务,诡异的Could not load type System.ServiceModel.Activation.HttpModule
- BuildError: Could not build url for endpoint 'auth.register'(关键词:Web开发/Flask/bug)
- Could not find a base address that matches scheme http for the endpoint with binding MetadataExchangeHttpBinding.