<i id='sdUtn'><tr id='sdUtn'><dt id='sdUtn'><q id='sdUtn'><span id='sdUtn'><b id='sdUtn'><form id='sdUtn'><ins id='sdUtn'></ins><ul id='sdUtn'></ul><sub id='sdUtn'></sub></form><legend id='sdUtn'></legend><bdo id='sdUtn'><pre id='sdUtn'><center id='sdUtn'></center></pre></bdo></b><th id='sdUtn'></th></span></q></dt></tr></i><div id='sdUtn'><tfoot id='sdUtn'></tfoot><dl id='sdUtn'><fieldset id='sdUtn'></fieldset></dl></div>
      <tfoot id='sdUtn'></tfoot>

        <legend id='sdUtn'><style id='sdUtn'><dir id='sdUtn'><q id='sdUtn'></q></dir></style></legend>
      1. <small id='sdUtn'></small><noframes id='sdUtn'>

          <bdo id='sdUtn'></bdo><ul id='sdUtn'></ul>
      2. WCF 服务主机访问权限

        WCF ServiceHost access rights(WCF 服务主机访问权限)
        <i id='jYOPU'><tr id='jYOPU'><dt id='jYOPU'><q id='jYOPU'><span id='jYOPU'><b id='jYOPU'><form id='jYOPU'><ins id='jYOPU'></ins><ul id='jYOPU'></ul><sub id='jYOPU'></sub></form><legend id='jYOPU'></legend><bdo id='jYOPU'><pre id='jYOPU'><center id='jYOPU'></center></pre></bdo></b><th id='jYOPU'></th></span></q></dt></tr></i><div id='jYOPU'><tfoot id='jYOPU'></tfoot><dl id='jYOPU'><fieldset id='jYOPU'></fieldset></dl></div>
          <tbody id='jYOPU'></tbody>
        <tfoot id='jYOPU'></tfoot>

          <small id='jYOPU'></small><noframes id='jYOPU'>

          <legend id='jYOPU'><style id='jYOPU'><dir id='jYOPU'><q id='jYOPU'></q></dir></style></legend>

                <bdo id='jYOPU'></bdo><ul id='jYOPU'></ul>
                  本文介绍了WCF 服务主机访问权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  阅读 WCF 教程时出现以下错误.

                  I get the following error when going through the WCF tutorial.

                  HTTP 无法注册 URL http://+:8000/ServiceModelSamples/Service/.您的进程没有对此命名空间的访问权限(请参阅 http://go.microsoft.com/fwlink/?LinkId=70353 了解详情).

                  HTTP could not register URL http://+:8000/ServiceModelSamples/Service/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details).

                  这是由 Windows 7 的限制引起的吗?

                  Is this something caused by a restriction on Windows 7?

                  推荐答案

                  问题是 URL 被 Windows 阻止创建.

                  The issue is that the URL is being blocked from being created by Windows.

                  修复步骤:以管理员身份运行命令提示符.将 URL 添加到 ACL

                  Steps to fix: Run command prompt as an administrator. Add the URL to the ACL

                  netsh http add urlacl url=http://+:8000/ServiceModelSamples/Service user=mylocaluser
                  

                  这篇关于WCF 服务主机访问权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Multicast delegate weird behavior in C#?(C# 中的多播委托奇怪行为?)
                  Parameter count mismatch with Invoke?(参数计数与调用不匹配?)
                  How to store delegates in a List(如何将代表存储在列表中)
                  How delegates work (in the background)?(代表如何工作(在后台)?)
                  C# Asynchronous call without EndInvoke?(没有 EndInvoke 的 C# 异步调用?)
                  Delegate.CreateDelegate() and generics: Error binding to target method(Delegate.CreateDelegate() 和泛型:错误绑定到目标方法)

                      <tfoot id='HYpMS'></tfoot>

                          <tbody id='HYpMS'></tbody>
                        <legend id='HYpMS'><style id='HYpMS'><dir id='HYpMS'><q id='HYpMS'></q></dir></style></legend>
                        • <bdo id='HYpMS'></bdo><ul id='HYpMS'></ul>

                          • <small id='HYpMS'></small><noframes id='HYpMS'>

                          • <i id='HYpMS'><tr id='HYpMS'><dt id='HYpMS'><q id='HYpMS'><span id='HYpMS'><b id='HYpMS'><form id='HYpMS'><ins id='HYpMS'></ins><ul id='HYpMS'></ul><sub id='HYpMS'></sub></form><legend id='HYpMS'></legend><bdo id='HYpMS'><pre id='HYpMS'><center id='HYpMS'></center></pre></bdo></b><th id='HYpMS'></th></span></q></dt></tr></i><div id='HYpMS'><tfoot id='HYpMS'></tfoot><dl id='HYpMS'><fieldset id='HYpMS'></fieldset></dl></div>