Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi.

I am developing one simple wcf application. In that I am sending data from service to client. In service I retrieving data from database and store it in array list. I need to send this particular array list to client. This array list contains nearly 5000 rows of data. I can retrieve 5000 rows in database and store it in array list while sending this to client there only i am getting problem. I can't get this array list in my client. I am getting the following error.

"The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shut down or an internal server error".



Thanks in advance:)
Posted
Updated 10-Oct-11 23:19pm
v5

1 solution

This Error Occurs in below scenarios:
1) There is some exception /error is coming in Service.
2) There is some error in Request XML / Response XML format.
3) Sending XML size is more than defined in Client's Config file.

You have already given the max size limit so I think point 1 and 2 might be your start point to analyze the cause.

There may be other causes like error suggest:
1) session killed, server down etc. But these are rare cases.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900