Thursday, March 29, 2012 12:18 PM
I am creating WCF application in which,
- client is built in x64 bit platform
- server is built in x86 bit platform
- communcation between two is using Namedpipe binding.
Server: it is console application which talk to MS Access database, and send the result of executed command
Client: it is winform application which talk to server and sends a request [ a select query 'SELECT * FROM TABLE_NAME']
- client calls function of server [for ex: public List<string> Foo(string query)]
Problem: When the query is executed on server side with small data [say 6000 rows] then the data is send to client in format List<string>
with no problem. As the size of data is grows large [say 10,00,000 rows] then the client gives an error which is mentioned below.
Error : The operation cannot be completed because the pipe was closed. This may have been caused by the application on the other end of the pipe exiting.
WHAT MIGHT BE THE PROBLEM ?
Please reply if someone needs more explaination.
Thursday, March 29, 2012 3:53 PMYou are probably running into message size restriction. Try increasing message size or break the operation to smaller messages.
Miha Markic [MVP C#] http://blog.rthand.com
Saturday, March 31, 2012 3:07 AM
Please try WCF forum: http://social.msdn.microsoft.com/Forums/en-US/wcf/threads
have a nice day.
Call me ghost for short, Thanks
To get the better anwser, it should be a better question.