Ram kumar

Ram kumar

  • NA
  • 6
  • 0

Problem to send a dataset with large amount records(app. 400 rows records) from client to server

Oct 23 2012 12:58 AM
Hi All,
 

I have a problem to send a dataset with large amount records(app. 400 rows records) from client to server.I found a error "The remote server returned an unexpected response: (400) Bad Request"
please anyone send a needful help.
 
My server side code:
 



<!--
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text"
textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">

maxBytesPerRead="4096" maxNameTableCharCount="16384" />-->
 


openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"
bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
allowCookies="false">

maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />





<!-- Service Endpoints -->

<!--
Upon deployment, the following identity element should be removed or replaced to reflect the
identity under which the deployed service runs. If removed, WCF will infer an appropriate identity
automatically.
-->










<!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->

<!-- 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 -->




 





 

 
Client Side Code:
 





openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text"
textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">

maxBytesPerRead="4096" maxNameTableCharCount="16384" />

enabled="false" />


realm="" />

algorithmSuite="Default" />






bindingConfiguration="WSHttpBinding_IService1" contract="ServiceRefe_WCF.IService1"
name="WSHttpBinding_IService1">








<!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->

<!-- 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 -->






 
Thanks & Regards
Ram Kumar

Answers (1)