<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 服务主机访问权限

        时间:2023-10-23
        <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 服务主机访问权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:在另一个线程(winforms)上使用 IEnumrable 填充 ListBox 下一篇:System.UnauthorizedAccessException:检索 Word 互操作的 COM 类工厂失败并出现

                  相关文章

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

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

                    1. <small id='HYpMS'></small><noframes id='HYpMS'>

                    2. <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>