![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
| |
| | #1 (permalink) |
| | 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 Specs![]() |
| | #2 (permalink) |
| | 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 Specs![]() |
| | #3 (permalink) |
| | 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 Specs![]() |
| | #4 (permalink) |
| | 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 Specs![]() |
| 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 | |||