none
Large data not transfer using WCF service having 3-layer application RRS feed

  • Question


  • We hava a 3-Layer application having configurations in all layers. While inserting bulk data having more than 100 records, data not inserting. 313 error is showing.

    Following are the configurations:

    DAL Configuration

    ____________________

    <?xml version="1.0" encoding="utf-8"?>
    <configuration>

    <compilation debug="true" targetFramework="4.0"/>
    <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>
        <httpRuntime executionTimeout="3600" maxRequestLength="209715100" minFreeThreads="10"/>
    </system.web>
    <system.webServer>
    <modules runAllManagedModulesForAllRequests="true"/>
    <defaultDocument>
    <files>
    <add value="AdminDAL.svc"/>
    </files>
    </defaultDocument>
    </system.webServer>
    <system.serviceModel>
    <serviceHostingEnvironment multipleSiteBindingsEnabled="true"  />
      <bindings>
    <wsHttpBinding>
    <binding name="MyDataBinding"  maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"  closeTimeout="10:01:00"
              openTimeout="10:01:00" receiveTimeout="10:10:00" sendTimeout="10:01:00"> 
    <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/>
    <security mode="Message">
    </security>
              
    </binding>

            <binding name="EDDespatch.DespatchService"  maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"  closeTimeout="10:01:00"
              openTimeout="10:01:00" receiveTimeout="10:10:00" sendTimeout="10:01:00">
              <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/>
              <security mode="Message">
              </security>

            </binding>

            <binding name="EDMaster.MasterService"  maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"  closeTimeout="10:01:00"
             openTimeout="10:01:00" receiveTimeout="10:10:00" sendTimeout="10:01:00">
              <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/>
              <security mode="Message">
              </security>

            </binding>

            <binding name="EDOffEsp.OfficeEspace"  maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"  closeTimeout="10:01:00"
             openTimeout="10:01:00" receiveTimeout="10:10:00" sendTimeout="10:01:00">
              <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/>
              <security mode="Message">
              </security>

            </binding>

            <binding name="EDPMU.PMUManage"  maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"  closeTimeout="10:01:00"
             openTimeout="10:01:00" receiveTimeout="10:10:00" sendTimeout="10:01:00">
              <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/>
              <security mode="Message">
              </security>

            </binding>

            <binding name="EDCommon.CommonFunctions"  maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"  closeTimeout="10:01:00"
             openTimeout="10:01:00" receiveTimeout="10:10:00" sendTimeout="10:01:00">
              <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/>
              <security mode="Message">
              </security>

            </binding>
                    
    </wsHttpBinding>
       
    </bindings>
    <services>
    <service behaviorConfiguration="ServiceBehavior" name="DarsApp.Dlayer.DataService">
    <endpoint address="" binding="wsHttpBinding" contract="DarsApp.Dlayer.IDataService" bindingConfiguration="MyDataBinding" >
    <identity>
    <dns value="localhost"/>
    </identity>
    </endpoint>
    <!--<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>-->
    </service>

          <service behaviorConfiguration="wsHttpBinding_IMasterService" name="EDMaster.MasterService">
            <endpoint address="" binding="wsHttpBinding" contract="EDMaster.IMasterService" bindingConfiguration="EDMaster.MasterService" >
              <identity>
                <dns value="localhost"/>
              </identity>
            </endpoint>
            <!--<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>-->
          </service>

          <service behaviorConfiguration="wsHttpBinding_IOfficeEspace" name="EDOffEsp.OfficeEspace">
            <endpoint address="" binding="wsHttpBinding" contract="EDOffEsp.IOfficeEspace" bindingConfiguration="EDOffEsp.OfficeEspace" >
              <identity>
                <dns value="localhost"/>
              </identity>
            </endpoint>
            <!--<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>-->
          </service>

          <service behaviorConfiguration="wsHttpBinding_IPMUManage" name="EDPMU.PMUManage">
            <endpoint address="" binding="wsHttpBinding" contract="EDPMU.IPMUManage" bindingConfiguration="EDPMU.PMUManage" >
              <identity>
                <dns value="localhost"/>
              </identity>
            </endpoint>
            <!--<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>-->
          </service>

          <service behaviorConfiguration="wsHttpBinding_IEDBAlDespatch" name="EDDespatch.DespatchService">
            <endpoint address="" binding="wsHttpBinding" contract="EDDespatch.IDespatchService" bindingConfiguration="EDDespatch.DespatchService" >
              <identity>
                <dns value="localhost"/>
              </identity>
            </endpoint>
            <!--<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>-->
          </service>

          <service behaviorConfiguration="wsHttpBinding_ICommonFunctions" name="EDCommon.CommonFunctions">
            <endpoint address="" binding="wsHttpBinding" contract="EDCommon.ICommonFunctions" bindingConfiguration="EDCommon.CommonFunctions" >
              <identity>
                <dns value="localhost"/>
              </identity>
            </endpoint>
            <!--<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>-->
          </service>
          
    </services>
    <behaviors>
       <serviceBehaviors>
        <behavior name="ServiceBehavior">
          <dataContractSerializer maxItemsInObjectGraph="2147483646"/>
         <serviceMetadata httpGetEnabled="true" />
         <serviceDebug includeExceptionDetailInFaults="true" />
         <serviceThrottling maxConcurrentCalls="2147483647" maxConcurrentSessions="2147483647"
          maxConcurrentInstances="2147483647" />
        </behavior>
        <behavior name="wsHttpBinding_IMasterService">

          <dataContractSerializer maxItemsInObjectGraph="2147483646"/>
          <serviceMetadata httpGetEnabled="true" />
          <serviceDebug includeExceptionDetailInFaults="true" />
          <serviceThrottling maxConcurrentCalls="2147483647" maxConcurrentSessions="2147483647"
           maxConcurrentInstances="2147483647" />
        </behavior>

         <behavior name="wsHttpBinding_IOfficeEspace">

           <dataContractSerializer maxItemsInObjectGraph="2147483646"/>
           <serviceMetadata httpGetEnabled="true" />
           <serviceDebug includeExceptionDetailInFaults="true" />
           <serviceThrottling maxConcurrentCalls="2147483647" maxConcurrentSessions="2147483647"
            maxConcurrentInstances="2147483647" />
         </behavior>

         <behavior name="wsHttpBinding_IPMUManage">

           <dataContractSerializer maxItemsInObjectGraph="2147483646"/>
           <serviceMetadata httpGetEnabled="true" />
           <serviceDebug includeExceptionDetailInFaults="true" />
           <serviceThrottling maxConcurrentCalls="2147483647" maxConcurrentSessions="2147483647"
            maxConcurrentInstances="2147483647" />
         </behavior>

         <behavior name="wsHttpBinding_IEDBAlDespatch">

           <dataContractSerializer maxItemsInObjectGraph="2147483646"/>
           <serviceMetadata httpGetEnabled="true" />
           <serviceDebug includeExceptionDetailInFaults="true" />
           <serviceThrottling maxConcurrentCalls="2147483647" maxConcurrentSessions="2147483647"
            maxConcurrentInstances="2147483647" />
         </behavior>

         <behavior name="wsHttpBinding_ICommonFunctions">

           <dataContractSerializer maxItemsInObjectGraph="2147483646"/>
           <serviceMetadata httpGetEnabled="true" />
           <serviceDebug includeExceptionDetailInFaults="true" />
           <serviceThrottling maxConcurrentCalls="2147483647" maxConcurrentSessions="2147483647"
            maxConcurrentInstances="2147483647" />
         </behavior>
       </serviceBehaviors>
      </behaviors>
    </system.serviceModel>
    </configuration>

    BAL Configuration

    _______________________

    <?xml version="1.0"?>
    <configuration>
      <system.web>
        <compilation debug="true" targetFramework="4.0">
          <assemblies>
            <add assembly="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
          </assemblies>
        </compilation>
        <httpRuntime executionTimeout="3600" maxRequestLength="209715100" minFreeThreads="10"/>
      </system.web>
      <system.webServer>
        <modules runAllManagedModulesForAllRequests="true"/>
        <defaultDocument>
          <files>
            <add value="Admin_BAL.svc"/>
          </files>
        </defaultDocument>
        <directoryBrowse enabled="true"/>
      </system.webServer>
      <system.serviceModel>
        <serviceHostingEnvironment multipleSiteBindingsEnabled="true"/>
        <bindings>
          <basicHttpBinding>
            <binding name="BasicHttpBinding_IMasterService" closeTimeout="10:01:00"
              openTimeout="10:01:00" receiveTimeout="10:10:00" sendTimeout="10:01:00"
              allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
              maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
              messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
              useDefaultWebProxy="true">
              <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
                maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
              <security mode="None">
                <transport clientCredentialType="None" proxyCredentialType="None"
                  realm="" />
                <message clientCredentialType="UserName" algorithmSuite="Default" />
              </security>
            </binding>
            <binding name="BasicHttpBinding_IOfficeEspace" closeTimeout="10:01:00"
              openTimeout="10:01:00" receiveTimeout="10:10:00" sendTimeout="10:01:00"
              allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
              maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
              messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
              useDefaultWebProxy="true">
              <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
                maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
              <security mode="None">
                <transport clientCredentialType="None" proxyCredentialType="None"
                  realm="" />
                <message clientCredentialType="UserName" algorithmSuite="Default" />
              </security>
            </binding>
            <binding name="BasicHttpBinding_IPMUManage" closeTimeout="10:01:00"
              openTimeout="10:01:00" receiveTimeout="10:10:00" sendTimeout="10:01:00"
              allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
              maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
              messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
              useDefaultWebProxy="true">
              <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
                maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
              <security mode="None">
                <transport clientCredentialType="None" proxyCredentialType="None"
                  realm="" />
                <message clientCredentialType="UserName" algorithmSuite="Default" />
              </security>
            </binding>
            <binding name="BasicHttpBinding_ICommonFunctions" closeTimeout="00:01:00"
              openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
              allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
              maxBufferSize="2147483647" maxBufferPoolSize="524288" maxReceivedMessageSize="2147483647"
              messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
              useDefaultWebProxy="true">
              <readerQuotas maxDepth="32" maxStringContentLength="2147483647"
                maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
              <security mode="None">
                <transport clientCredentialType="None" proxyCredentialType="None"
                  realm="" />
                <message clientCredentialType="UserName" algorithmSuite="Default" />
              </security>
            </binding>
            <binding name="BasicHttpBinding_IDespatchService" closeTimeout="00:01:00"
              openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
              allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
              maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
              messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
              useDefaultWebProxy="true">
              <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647"
                maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
              <security mode="None">
                <transport clientCredentialType="None" proxyCredentialType="None"
                  realm="" />
                <message clientCredentialType="UserName" algorithmSuite="Default" />
              </security>
            </binding>
          </basicHttpBinding>
          <wsHttpBinding>
            <binding name="WSHttpBinding_IDataService" closeTimeout="10:01:00"
              openTimeout="10:01:00" receiveTimeout="10:10:00" sendTimeout="10:01:00"
              bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
              maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
              messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
              allowCookies="false">
              <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
                maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
              <reliableSession ordered="true" inactivityTimeout="00:10:00"
                enabled="false" />
              <security mode="Message">
                <transport clientCredentialType="Windows" proxyCredentialType="None"
                  realm="" />
                <message clientCredentialType="Windows" negotiateServiceCredential="true"
                  algorithmSuite="Default" />
              </security>
            </binding>
          </wsHttpBinding>
        </bindings>
        <client>
          <endpoint address="http://localhost/EdDal/AdminDAL.svc" binding="wsHttpBinding"
            bindingConfiguration="WSHttpBinding_IDataService" contract="AdminDLayer.IDataService"
            name="WSHttpBinding_IDataService">
            <identity>
              <dns value="localhost" />
            </identity>
          </endpoint>
          <endpoint address="http://localhost/EdDal/MasterService.svc"
            binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IMasterService"
            contract="EDMaster.IMasterService" name="BasicHttpBinding_IMasterService" />
          <endpoint address="http://localhost/EdDal/OfficeEspace.svc" binding="basicHttpBinding"
            bindingConfiguration="BasicHttpBinding_IOfficeEspace" contract="EDOffEsp.IOfficeEspace"
            name="BasicHttpBinding_IOfficeEspace" />
          <endpoint address="http://localhost/EdDal/CommonFunctions.svc"
            binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ICommonFunctions"
            contract="EDCommon.ICommonFunctions" name="BasicHttpBinding_ICommonFunctions" />
          <endpoint address="http://localhost/EdDal/PMUManage.svc" binding="basicHttpBinding"
            bindingConfiguration="BasicHttpBinding_IPMUManage" contract="EDPMU.IPMUManage"
            name="BasicHttpBinding_IPMUManage" />
          <endpoint address="http://localhost/EdDal/DespatchService.svc"
            binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IDespatchService"
            contract="EDDespatch.IDespatchService" name="BasicHttpBinding_IDespatchService" />
        </client>
        <behaviors>
          <serviceBehaviors>
            <behavior>
              <dataContractSerializer maxItemsInObjectGraph="2147483646"/>
              <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
              <serviceMetadata httpGetEnabled="true"/>
              <!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information -->
              <serviceDebug includeExceptionDetailInFaults="true"/>
              <serviceThrottling maxConcurrentCalls="2147483647" maxConcurrentSessions="2147483647" maxConcurrentInstances="2147483647"/>
            </behavior>
          </serviceBehaviors>
        </behaviors>
      </system.serviceModel>
    </configuration>

    Aplication Configuration

    ___________________________

    <?xml version="1.0"?>
    <configuration>
      
      <system.web>
        <compilation debug="true" targetFramework="4.0">
          <assemblies>
            <add assembly="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
          </assemblies>
        </compilation>
        <customErrors mode="Off" defaultRedirect="CustomizationError.aspx">
          <error statusCode="403" redirect="NoAccess.htm"/>
          <error statusCode="404" redirect="FileNotFound.htm"/>
        </customErrors>
        <machineKey validationKey="575BCD5A94081DF845C17C2AA5585064FB6187F9EF7EE5DF572D55018EDC0663A19B4C77B4612FFD9DE00DDC665B701F2ACCEE66AFDE4A2BC95F142C0251427B" decryptionKey="6E4F4360FEF138F2BEC061F3BA758F42CCE89FE15ED37E8E79686832A2995277" validation="SHA1" decryption="AES"/>
        <authentication mode="Windows"/>
        <pages enableViewStateMac="true"/>
        <httpRuntime executionTimeout="3600" maxRequestLength="209715100" minFreeThreads="10"/>
      </system.web>
      <system.webServer>
        <modules runAllManagedModulesForAllRequests="true"/>
        <defaultDocument>
          <files>
            <add value="Admin_BAL.svc"/>
          </files>
        </defaultDocument>
        <directoryBrowse enabled="true"/>
      </system.webServer>
      <system.serviceModel>
        <bindings>
          <basicHttpBinding>
            <binding name="BasicHttpBinding_IAdminBAL" maxReceivedMessageSize="2147483647" />
            <binding name="BasicHttpBinding_IEDBalOffEsp" closeTimeout="10:01:00"
              openTimeout="10:01:00" receiveTimeout="10:10:00" sendTimeout="10:01:00"
              allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
              maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
              messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
              useDefaultWebProxy="true">
              <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
                maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
              <security mode="None">
                <transport clientCredentialType="None" proxyCredentialType="None"
                  realm="" />
                <message clientCredentialType="UserName" algorithmSuite="Default" />
              </security>
            </binding>
            <binding name="BasicHttpBinding_IEdBalMaster" closeTimeout="10:01:00"
              openTimeout="10:01:00" receiveTimeout="10:10:00" sendTimeout="10:01:00"
              allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
              maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
              messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
              useDefaultWebProxy="true">
              <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
                maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
              <security mode="None">
                <transport clientCredentialType="None" proxyCredentialType="None"
                  realm="" />
                <message clientCredentialType="UserName" algorithmSuite="Default" />
              </security>
            </binding>
            <binding name="BasicHttpBinding_IEdBalCommon" closeTimeout="10:01:00"
              openTimeout="10:01:00" receiveTimeout="10:10:00" sendTimeout="10:01:00"
              allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
              maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
              messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
              useDefaultWebProxy="true">
              <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
                maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
              <security mode="None">
                <transport clientCredentialType="None" proxyCredentialType="None"
                  realm="" />
                <message clientCredentialType="UserName" algorithmSuite="Default" />
              </security>
            </binding>
            <binding name="BasicHttpBinding_IEDBalPMU" closeTimeout="00:01:00"
              openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
              allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
              maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
              messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
              useDefaultWebProxy="true">
              <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
                maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
              <security mode="None">
                <transport clientCredentialType="None" proxyCredentialType="None"
                  realm="" />
                <message clientCredentialType="UserName" algorithmSuite="Default" />
              </security>
            </binding>
            <binding name="BasicHttpBinding_IEDBAlDespatch" closeTimeout="10:01:00"
             openTimeout="10:01:00" receiveTimeout="10:10:00" sendTimeout="10:01:00"
             allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
             maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
             messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
             useDefaultWebProxy="true">
              <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
                maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
              <security mode="None">
                <transport clientCredentialType="None" proxyCredentialType="None"
                  realm="" />
                <message clientCredentialType="UserName" algorithmSuite="Default" />
              </security>
            </binding>
          </basicHttpBinding>
          <wsHttpBinding>
            <binding name="WSHttpBinding_IDataService" closeTimeout="10:01:00"
              openTimeout="10:01:00" receiveTimeout="10:10:00" sendTimeout="10:01:00"
              bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
              maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
              messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
              allowCookies="false">
              <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
                maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
              <reliableSession ordered="true" inactivityTimeout="00:10:00"
                enabled="false" />
              <security mode="Message">
                <transport clientCredentialType="Windows" proxyCredentialType="None"
                  realm="" />
                <message clientCredentialType="Windows" negotiateServiceCredential="true"
                  algorithmSuite="Default" />
              </security>
            </binding>
          </wsHttpBinding>
        </bindings>
        <client>
          <endpoint address="http://localhost/eDBal/AdminBAL.svc" binding="basicHttpBinding"
            bindingConfiguration="BasicHttpBinding_IAdminBAL" contract="AdminBALRef.IAdminBAL"
            name="BasicHttpBinding_IAdminBAL" />
          <endpoint address="http://localhost/eDBal/EDBalOffEsp.svc" binding="basicHttpBinding"
            bindingConfiguration="BasicHttpBinding_IEDBalOffEsp" contract="EDOffEspRef.IEDBalOffEsp"
            name="BasicHttpBinding_IEDBalOffEsp" />
          <endpoint address="http://localhost/eDBal/EdBalMaster.svc" binding="basicHttpBinding"
            bindingConfiguration="BasicHttpBinding_IEdBalMaster" contract="EDMasterRef.IEdBalMaster"
            name="BasicHttpBinding_IEdBalMaster" />
          <endpoint address="http://localhost/eDBal/EdBalCommon.svc" binding="basicHttpBinding"
            bindingConfiguration="BasicHttpBinding_IEdBalCommon" contract="EDCommonRef.IEdBalCommon"
            name="BasicHttpBinding_IEdBalCommon" />
          <endpoint address="http://localhost/eDBal/EDBalPMU.svc" binding="basicHttpBinding"
            bindingConfiguration="BasicHttpBinding_IEDBalPMU" contract="EDPMURef.IEDBalPMU"
            name="BasicHttpBinding_IEDBalPMU" />
          <endpoint address="http://localhost/eDBal/EDBAlDespatch.svc"
            binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IEDBAlDespatch"
            contract="EDDespatchRef.IEDBAlDespatch" name="BasicHttpBinding_IEDBAlDespatch" />
        </client>
        <behaviors>
          <serviceBehaviors>
            <behavior>
              <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
              <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
              <serviceMetadata httpGetEnabled="true"/>
              <!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information -->
              <serviceDebug includeExceptionDetailInFaults="true"/>
              <serviceThrottling maxConcurrentCalls="2147483647" maxConcurrentSessions="2147483647"
               maxConcurrentInstances="2147483647" />
            </behavior>
          </serviceBehaviors>
        </behaviors>
      </system.serviceModel>
    </configuration>

    Friday, February 6, 2015 6:48 AM

Answers

  • Hi nirakarmal,

    Based on your config file, it seems that you are using the buffered transfer mode, please try to use the streamed mode for instead. In the streamed transfer mode, the receiver can begin to process the message before it is completely delivered. And the streamed mode is useful when the information that is passed is lengthy and can be processed serially. Streamed mode is also useful when the message is too large to be entirely buffered. So it will be better for you to use the streamed mode.

    For more information, please try to check the following article:
    #How to: Enable Streaming:
    http://msdn.microsoft.com/en-us/library/ms789010(v=vs.110).aspx .

    Best Regards,
    Amy Peng


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    Saturday, February 7, 2015 1:05 PM
    Moderator

All replies

  • Hi nirakarmal,

    Based on your config file, it seems that you are using the buffered transfer mode, please try to use the streamed mode for instead. In the streamed transfer mode, the receiver can begin to process the message before it is completely delivered. And the streamed mode is useful when the information that is passed is lengthy and can be processed serially. Streamed mode is also useful when the message is too large to be entirely buffered. So it will be better for you to use the streamed mode.

    For more information, please try to check the following article:
    #How to: Enable Streaming:
    http://msdn.microsoft.com/en-us/library/ms789010(v=vs.110).aspx .

    Best Regards,
    Amy Peng


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    Saturday, February 7, 2015 1:05 PM
    Moderator
  • Most Servers will limit data to around 10MByte.  So when you transfer very large data you have to break message up to small pieces.  You may have issues if the buffer size is set larger than 10Mbyte.  Not sure.


    jdweng

    Saturday, February 7, 2015 2:53 PM