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

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

                  相关文档推荐

                  Adding and removing users from Active Directory groups in .NET(在 .NET 中的 Active Directory 组中添加和删除用户)
                  set equality in linq(在 linq 中设置相等)
                  HashSet conversion to List(HashSet 转换为 List)
                  How to set timeout for webBrowser navigate event(如何为 webBrowser 导航事件设置超时)
                  Test whether two IEnumerablelt;Tgt; have the same values with the same frequencies(测试两个IEnumerablelt;Tgt;具有相同频率的相同值)
                  How do you determine if two HashSets are equal (by value, not by reference)?(您如何确定两个 HashSet 是否相等(按值,而不是按引用)?)

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