none
unsecured or incorrectly secured fault in my wpf project RRS feed

  • Question

  • Hi,

    In my WPF Project i am using a WCF service . when my application keep idle for some time, then an exception "unsecured or incorrectly secured fault" happens
     
    can anybody help me to solve this

    MY APP CONFIG FILE IS

    <system.serviceModel>
        <bindings>
          <customBinding>
            <binding keepAliveEnabled="True" inactivityTimeout="01:10:00"/>
           
          </customBinding>
          <basicHttpBinding>
            <binding name="BasicHttpBinding_IService1">
             
            </binding>
          </basicHttpBinding>
          <wsHttpBinding>
            <binding name="WSHttpBinding_IMedDataService" maxReceivedMessageSize="2147483647"  sendTimeout="infinite" receiveTimeout="infinite" closeTimeout="infinite" openTimeout="infinite"/>
          </wsHttpBinding>
         
        </bindings>
        <client>
          <endpoint address="http://localhost:4321/MedMaxDataService" binding="wsHttpBinding"
            bindingConfiguration="WSHttpBinding_IMedDataService" contract="MedMax.DataService.IMedDataService"
            name="WSHttpBinding_IMedDataService" />
          <endpoint address="http://localhost:9635/Service1.svc" binding="basicHttpBinding"
            bindingConfiguration="BasicHttpBinding_IService1" contract="ServiceReference1.IService1"
            name="BasicHttpBinding_IService1" />
        </client>
      </system.serviceModel>
    Friday, December 5, 2014 7:42 AM

Answers