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

I am retrieving tables from database and send it to the client. client displays it in grid view.for this i am using DataSet to store and send tables to the client. Each table contains 500 rows or less than this. If it is less everything is coming correctly...
or if its 500 i am getting communication faulted state exception.....

I increased the value of maxReceivedMessageSize ="2147483647" and maxArrayLength="20971520" and also I added
dataContractSerializer maxItemsInObjectGraph="2147483647" in my app.config file...

I am getting the following error

"The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state"

Please help me to solve this problem.....
Updated 19-Sep-11 1:49am

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