This is a migrated thread and some comments may be shown as answers.

Large data not transfer using WCF service having 3-layer application in the WCF

1 Answer 519 Views
Web Services
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nirakar mallick
Top achievements
Rank 1
Nirakar mallick asked on 06 Feb 2015, 07:12 AM

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>

1 Answer, 1 is accepted

Sort by
0
Boyan
Telerik team
answered on 10 Feb 2015, 03:02 PM
Hello Nirakar,

From the information you provided it appears that this issue could be caused by some more general configuration specifics of WCF services similar to the one described in the following MSDN/Stackoverflow posts:
1.) Wcf Web Config Maxreceivedmessagesize
2.) Request Entity Too Large Uploadreadaheadsize
3.) Wcf Service Maxreceivedmessagesize Basichttpbinding Issue
4.) 413 Request Entity Too Large
 
Is it possible that this is the case? Additionally, could you please give us more information on the error you are receiving?

If this turn out not to be the issue, could you please provide a code snippet of the Telerik Data Access related code that actually causes the issue. Could you also please include more information on the exception that is thrown there?

I am looking forward to hearing from you.

Regards,
Boyan
Telerik
 
OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
 
Tags
Web Services
Asked by
Nirakar mallick
Top achievements
Rank 1
Answers by
Boyan
Telerik team
Share this question
or