【问题标题】:Error While Adding WebService Reference : Value cannot be null. Parameter name: discoveryError & mexError添加 Web 服务引用时出错:值不能为空。参数名称:discoveryError & mexError
【发布时间】:2016-12-22 06:09:21
【问题描述】:

添加服务引用的步骤:

  1. 添加服务参考

  2. 点击高级

  3. 点击添加网页参考

  4. 添加网址:https://suyatitechie.crm8.dynamics.com/AppWebServices/EmailSignatureService.asmx

  5. 点击“->”按钮 在右侧面板中之后,我得到了

    值不能为空。 参数名称:discoveryError & mexError

找不到与此相关的任何资源。有同样问题的人吗?

【问题讨论】:

    标签: c# web-services dynamics-crm asmx


    【解决方案1】:

    1 - 为 dll System.Web.ApplicationServices 添加“引用”
    2 - 在您的 web.config 中找到以下标签

        <system.web>
        ....
         <webServices>
           <protocols>
              <remove name="Documentation"/>
           </protocols>
         </webServices>
        </sytem.web>
    

    【讨论】:

      猜你喜欢
      • 2013-09-13
      • 2014-02-03
      • 2018-08-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-07-18
      相关资源
      最近更新 更多