Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Indigo

Transfer large collection

Update your Vista Drivers Update Your Drivers Now!!
 
 
Thread Tools Display Modes
Old 07-03-2007   #1 (permalink)
DaM
Guest


 

Transfer large collection

Hello everybody!

I tried to transfer a collection from server to client and everything works
well except when dealing with many objects (5000+ collection items).
I already googled for a solution, but could not find any answer...

The service uses NetTcpBinding and is configured as below (the client side
is also configured the same way except server specific parameters):
<netTcpBinding>
<binding name="DuplexBinding"
sendTimeout="00:00:15"
receiveTimeout="00:00:15"
listenBacklog="15"
maxConnections="15"
maxBufferSize="10000000"
maxReceivedMessageSize="10000000">
<reliableSession enabled="true"/>
<security mode="None"/>
</binding>
</netTcpBinding>

I can transfer the collection when it has 5461 objects inside, but as soon
as I add another object (5462), I get a TimeoutException. It seems realy a
size problem, but I cannot figure it out.
I tried to increase the maxBufferSize and the maxReceivedSize to MaxInt
with no success. I always get a TimeoutException on the client side.

I know that transfering 5000 objects is not ok, but I was just testing some
stuff and came across this problem. The test was to move 10.000 objects, to
see how long it takes...

Appreciate any help!

Thanks
DaM

My System SpecsSystem Spec
Old 08-24-2007   #2 (permalink)
josemgp@amper.es
Guest


 

Re: Transfer large collection

On 3 jul, 10:27, DaM <$marius_da...@yahoo.com> wrote:
> Hello everybody!
>
> I tried to transfer a collection from server to client and everything works
> well except when dealing with many objects (5000+ collection items).
> I already googled for a solution, but could not find any answer...
>
> The service uses NetTcpBinding and is configured as below (the client side
> is also configured the same way except server specific parameters):
> <netTcpBinding>
> <binding name="DuplexBinding"
> sendTimeout="00:00:15"
> receiveTimeout="00:00:15"
> listenBacklog="15"
> maxConnections="15"
> maxBufferSize="10000000"
> maxReceivedMessageSize="10000000">
> <reliableSession enabled="true"/>
> <security mode="None"/>
> </binding>
> </netTcpBinding>
>
> I can transfer the collection when it has 5461 objects inside, but as soon
> as I add another object (5462), I get a TimeoutException. It seems realy a
> size problem, but I cannot figure it out.
> I tried to increase the maxBufferSize and the maxReceivedSize to MaxInt
> with no success. I always get a TimeoutException on the client side.
>
> I know that transfering 5000 objects is not ok, but I was just testing some
> stuff and came across this problem. The test was to move 10.000 objects, to
> see how long it takes...
>
> Appreciate any help!
>
> Thanks
> DaM


Hello, I have one problem and I think that it´s

Look, my Service WCF send in one proxy objects xmlserializer as
string... this string have length X and good send it but if string
length is X+1 not send it... i copied your bing but not do it.

Do you can me???

My System SpecsSystem Spec
Old 08-24-2007   #3 (permalink)
josemgp@amper.es
Guest


 

Re: Transfer large collection

On 3 jul, 10:27, DaM <$marius_da...@yahoo.com> wrote:
> Hello everybody!
>
> I tried to transfer a collection from server to client and everything works
> well except when dealing with many objects (5000+ collection items).
> I already googled for a solution, but could not find any answer...
>
> The service uses NetTcpBinding and is configured as below (the client side
> is also configured the same way except server specific parameters):
> <netTcpBinding>
> <binding name="DuplexBinding"
> sendTimeout="00:00:15"
> receiveTimeout="00:00:15"
> listenBacklog="15"
> maxConnections="15"
> maxBufferSize="10000000"
> maxReceivedMessageSize="10000000">
> <reliableSession enabled="true"/>
> <security mode="None"/>
> </binding>
> </netTcpBinding>
>
> I can transfer the collection when it has 5461 objects inside, but as soon
> as I add another object (5462), I get a TimeoutException. It seems realy a
> size problem, but I cannot figure it out.
> I tried to increase the maxBufferSize and the maxReceivedSize to MaxInt
> with no success. I always get a TimeoutException on the client side.
>
> I know that transfering 5000 objects is not ok, but I was just testing some
> stuff and came across this problem. The test was to move 10.000 objects, to
> see how long it takes...
>
> Appreciate any help!
>
> Thanks
> DaM


from spain--->
Hola, niño:

Después de mirar algunos ejemplos en la red he encontrado un
app.config que te gustará

<netTcpBinding>
<binding name="DuplexBinding" sendTimeout="00:10:00"
transferMode="Buffered"
transactionProtocol="OleTransactions"
hostNameComparisonMode="StrongWildcard"
listenBacklog="10" maxBufferPoolSize="50000000"
maxBufferSize="50000000"
maxConnections="10000" maxReceivedMessageSize="50000000">
<readerQuotas maxDepth="50000000"
maxStringContentLength="50000000"
maxArrayLength="50000000" maxBytesPerRead="50000000"
maxNameTableCharCount="50000000" />
<reliableSession ordered="false" enabled="false" />
<security mode="None">
<transport protectionLevel="None" />
</security>
</binding>
</netTcpBinding>

espero que te sea de mucha ayuda. Un saludo, chema.

My System SpecsSystem Spec
Old 08-24-2007   #4 (permalink)
josemgp@amper.es
Guest


 

Re: Transfer large collection

On 3 jul, 10:27, DaM <$marius_da...@yahoo.com> wrote:
> Hello everybody!
>
> I tried to transfer a collection from server to client and everything works
> well except when dealing with many objects (5000+ collection items).
> I already googled for a solution, but could not find any answer...
>
> The service uses NetTcpBinding and is configured as below (the client side
> is also configured the same way except server specific parameters):
> <netTcpBinding>
> <binding name="DuplexBinding"
> sendTimeout="00:00:15"
> receiveTimeout="00:00:15"
> listenBacklog="15"
> maxConnections="15"
> maxBufferSize="10000000"
> maxReceivedMessageSize="10000000">
> <reliableSession enabled="true"/>
> <security mode="None"/>
> </binding>
> </netTcpBinding>
>
> I can transfer the collection when it has 5461 objects inside, but as soon
> as I add another object (5462), I get a TimeoutException. It seems realy a
> size problem, but I cannot figure it out.
> I tried to increase the maxBufferSize and the maxReceivedSize to MaxInt
> with no success. I always get a TimeoutException on the client side.
>
> I know that transfering 5000 objects is not ok, but I was just testing some
> stuff and came across this problem. The test was to move 10.000 objects, to
> see how long it takes...
>
> Appreciate any help!
>
> Thanks
> DaM


Para el resto de personas que pudieran llegar hasta aqui y esperando
que les sea de ayuda os pego este trozo de codigo:

<netTcpBinding>
<binding name="DuplexBinding" sendTimeout="00:10:00"
transferMode="Buffered"
transactionProtocol="OleTransactions"
hostNameComparisonMode="StrongWildcard"
listenBacklog="10" maxBufferPoolSize="50000000"
maxBufferSize="50000000"
maxConnections="10000" maxReceivedMessageSize="50000000">
<readerQuotas maxDepth="50000000"
maxStringContentLength="50000000"
maxArrayLength="50000000" maxBytesPerRead="50000000"
maxNameTableCharCount="50000000" />
<reliableSession ordered="false" enabled="false" />
<security mode="None">
<transport protectionLevel="None" />
</security>
</binding>
</netTcpBinding>

esto está en el archivo de configuracion app.config del servicio y de
los clientes... a mi me ha solucionado mi problema espero que a
vosotros también. Un saludo chema

My System SpecsSystem Spec
 

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
object not a collection tree leafs VB Script 2 06-05-2008 08:49 PM
Network Transfer Error. Can't send large files, IllNeverHaveYouAgain Vista networking & sharing 5 02-08-2008 08:20 AM
Music Collection SiGra Vista music pictures video 2 01-01-2008 08:49 AM
Large file transfer bug in Vista RTM Stuart [MVP] Vista networking & sharing 4 12-17-2006 02:02 PM
Do You have any HDCD's in Your CD-collection? Thomas Bergman Vista mail 0 12-14-2006 03:36 AM


Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51