本文介绍了HttpInitialize以5失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我已经创建了WCF服务并尝试从控制台主页运行它。我收到了一些抱怨的错误:"您的进程没有对此命名空间的访问权限"。例外还注意到这篇文章:http://msdn.microsoft.com/en-us/library/ms733768.aspx

Hi, i have created WCF service and trying to run it from a console home.  I recieved some errors complaining: "Your process does not have access rights to this namespace".  the exception also noted this article: http://msdn.microsoft.com/en-us/library/ms733768.aspx.

我已按照该文章中的步骤操作,但是当我运行httpcfg时,我收到此错误:" HttpInitialize失败,5 "。这是我正在使用的命令行:

I have followed the steps in that article, but when i run httpcfg, i get this error: "HttpInitialize failed with 5". This is the command line i am using:

httpcfg.exe set urlacl / u / a"O:AOGADA ;; RPWPCCDCLCSWRCWDWOGA ;;; S-1-0-0)"

httpcfg.exe set urlacl /u http://localhost:1530/ /a "O:AOGADA;;RPWPCCDCLCSWRCWDWOGA;;;S-1-0-0)"


 

(注意:我使用的ACL来自本文:http://msdn.microsoft.com/en-us/library/ms733768.aspx

(Note: the ACL i am using was from this article: http://msdn.microsoft.com/en-us/library/ms733768.aspx

我真的不知道这是否重要或者我会在我的系统中找到这样的东西)

i don't know really if that matters or where i would find such a thing on my system)

有什么建议吗?

推荐答案


这篇关于HttpInitialize以5失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 03:42