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