Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - Transfer large collection

 
 
Old 07-03-2007   #1 (permalink)
DaM


 
 

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


 
 

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


 
 

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


 
 

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


Similar Threads
Thread Forum
Vista GB LAN Disconnects During Large file Transfer Network & Sharing
64x Wired network dropping off on large no of file transfer. Network & Sharing
inter partition large file transfer problem Vista mail
inter partition large file transfer problem Vista performance & maintenance
Large file transfer bug in Vista RTM Vista networking & sharing


Vista Forums 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 Ltd

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