Re: [Firebird-net-provider] Firebird Client error during Fetch cycle

2010-01-19 Thread Russell R
I don't think it is a resource or coding issue as when I run exactly the same software over a USB connection everything works okay. The handheld I am testing has a cradle that can plug straight into a router and picks up an IP address using DHCP. It is only when I connect via ethernet that I

Re: [Firebird-net-provider] Firebird Client error during Fetch cycle

2010-01-19 Thread Russell R
Tried putting in a wait between each read and also between each read cycle (every 200 reads for the default fetch size), but I get the same issue. -- View this message in context: http://old.nabble.com/Firebird-Client-error-during-Fetch-cycle-tp27213450p27223304.html Sent from the

Re: [Firebird-net-provider] Firebird Client error during Fetch cycle

2010-01-19 Thread Russell R
Here is some cut down code that can repo the error (only when connected via the LAN). I put it in program.cs: namespace test { class Program { [MTAThread] static void Main() { FbConnection centralConn = null; FbDataReader reader = null;

Re: [Firebird-net-provider] Firebird Client error during Fetch cycle

2010-01-19 Thread Daniel Rail
Hi, At January-19-10, 6:01 AM, Russell R wrote: Tried putting in a wait between each read and also between each read cycle (every 200 reads for the default fetch size), but I get the same issue. Is it possible that it's a memory resource limit on the client that you are hitting? You did

Re: [Firebird-net-provider] Firebird Client error during Fetch cycle

2010-01-19 Thread Jiri Cincura
On Tue, Jan 19, 2010 at 12:00, Russell R russ...@passfield.co.uk wrote: Here is some cut down code that can repo the error (only when connected via the LAN).  I put it in program.cs: And what's the exception and stack trace you get? -- Jiri {x2} Cincura (CTO x2develop.com)

Re: [Firebird-net-provider] Firebird Client error during Fetch cycle

2010-01-19 Thread Russell R
Message Stack Trace at FirebirdSql.Data.FirebirdClient.FbCommand.Fetch() at FirebirdSql.Data.FirebirdClient.FbDataReader.Read() at StockCheck1.Program.Main() Print of whole exception FirebirdSql.Data.FirebirdClient.FbException --- FirebirdSql.Data.Common.IscException: IscException at

Re: [Firebird-net-provider] Firebird Client error during Fetch cycle

2010-01-19 Thread Russell R
Tried with a FetchSize of 50 and still an error. This also works when run over a USB cable. It only errors when run over a LAN. It has 62Mb Ram and is running Windows CE 5.0 -- View this message in context:

Re: [Firebird-net-provider] Firebird Client error during Fetch cycle

2010-01-19 Thread Russell R
I have given the code I am using in thread: Russell R Jan 19, 2010; 11:00am Please check to make sure it is valid -- View this message in context: http://old.nabble.com/Firebird-Client-error-during-Fetch-cycle-tp27213450p27227957.html Sent from the firebird-net-provider mailing list archive at

Re: [Firebird-net-provider] Firebird Client error during Fetch cycle

2010-01-19 Thread Jiri Cincura
On Tue, Jan 19, 2010 at 16:16, Russell R russ...@passfield.co.uk wrote: FirebirdSql.Data.FirebirdClient.FbException --- FirebirdSql.Data.Common.IscException: IscException at FirebirdSql.Data.Client.Gds.XdrStream.ReadValue() at FirebirdSql.Data.Client.Gds.GdsStatement.ReadDataRow() at

Re: [Firebird-net-provider] Firebird Client error during Fetch cycle

2010-01-19 Thread Russell R
not quit sure what you want, there is no errorcode or message. I can print out any bits of the exception that you want, but I'm not sure where to get the info. There is nothing in the Errors worth mentioning. I am trapping a FbException. Tell me what to print and I will print it. If not then

Re: [Firebird-net-provider] Firebird Client error during Fetch cycle

2010-01-19 Thread Jiri Cincura
On Tue, Jan 19, 2010 at 19:19, Russell R russ...@passfield.co.uk wrote: I am trapping a FbException I'm particularly interested in IscException. I'll do a print that includes everything I can see That the easiest way. -- Jiri {x2} Cincura (CTO x2develop.com) http://blog.cincura.net/ |

Re: [Firebird-net-provider] Firebird Client error during Fetch cycle

2010-01-19 Thread Russell R
I have tried all the following option, but I couldn't get any more information. Do you have any suggestions? //tw.WriteLine(Message); //tw.WriteLine(e.Message); tw.WriteLine(InnerException); tw.WriteLine(e.InnerException);