Click here to Skip to main content
15,880,299 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hi frds,
i am getting the huge data(Contacts) from sql server2008 r2 but hear i am getting this type of error

The underlying connection was closed: An unexpected error occurred on a receive in wcf

thanks in advance
Updated 4-Jul-12 1:31am
[no name] 4-Jul-12 7:27am
Kolli Hari Chowdary 4-Jul-12 7:34am    
i know but their is no use ?
Sandeep Mewara 4-Jul-12 10:12am    
Incomplete. You need to add your full error with the scenario that you were trying to do.

1 solution

Here this kind of exception can happen if your receiveTimeout is not large enough.

Try to increase the receiveTimeout at your host side at the corresponding endpoint and try again.


Please provide more details of exception or explain when it fails.
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