mscorlib.dll中发生了类型为'System.ServiceModel.ProtocolException'的异常,但未在用户代码中处理

时间:2019-05-07 09:33:31

标签: asp.net wcf

我的aspx表格运行良好,直到昨天,我有2400条记录。今天,当我尝试保存数据时遇到错误

mscorlib.dll中发生了'System.ServiceModel.ProtocolException'类型的异常,但未在用户代码中处理

我已经尝试过了

  <system.serviceModel>
  <bindings>
    <wsHttpBinding>
      <binding name="ws_IUAEOrderService">
        <security mode="Message">
          <transport clientCredentialType="Windows" proxyCredentialType="None" />
          <message clientCredentialType="Windows" negotiateServiceCredential="true"
                         algorithmSuite="Default" establishSecurityContext="true" />
        </security>
      </binding>
    </wsHttpBinding>
  </bindings>
    <client>
  <endpoint address="http://uae.sahulatbazar.com/UAEIntegration/Service1.svc" binding="wsHttpBinding" bindingConfiguration="ws_IUAEOrderService" name="ws_IUAEOrderService" contract="IUAEOrderService"/>
    </client>

  </system.serviceModel>

这是我在wcf中的代码绑定,直到昨天都可以正常工作

  <system.serviceModel>
    <bindings>
      <basicHttpBinding>
        <binding name="BasicHttpBinding_IUAEOrderService"/>
      </basicHttpBinding>
    </bindings>


    <client>
      <endpoint address="http://uae.sahulatbazar.com/UAEIntegration/Service1.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IUAEOrderService" contract="IUAEOrderService" name="BasicHttpBinding_IUAEOrderService"/>
    </client>
  </system.serviceModel>

0 个答案:

没有答案