On Tue, Sep 28, 2010 at 11:53, Jiri Cincura wrote:
> SW as well (i.e. network card
> driver bug)
Or, of course, server crash (bad UDF, etc.).
--
Jiri {x2} Cincura (x2develop.com founder)
http://blog.cincura.net/ | http://www.ID3renamer.com
--
On Tue, Sep 28, 2010 at 11:28, Niall Naughton
wrote:
> Just recently we have been experiencing a lot of our firebird installations
> generating errors of type 'Error reading data from the connection.'. Our
> Firebird installations are of the 'Classic' type and have used version 1.5.2
> for the pas
At 10:28 PM 28/09/2010, Niall Naughton wrote:
>Just recently we have been experiencing a lot of our firebird installations
>generating errors of type 'Error reading data from the connection.'. Our
>Firebird installations are of the 'Classic' type and have used version 1.5.2
>for the past few ye
Hmm..I don't dare to ask.
Did you escape single quotes in your ocrresult?
You need to double every single quote since it will end your string if you
don't
"This is my 'sample' OCR string"
needs to be converted to
"This is my ''sample'' OCR string" (Take care. There are 2 single quotes o
Hello,
if OCR_DATA is a binary do you have using parametrized queries.
example
fbcomamnd cmd = new fbcommand();
cmd.connection = ;
cmd.commandtext= INSERT INTO OCRCONTENT(FileCode,
OCR_DATA)VALUES(12202,@OCR_DATA);
cmd.parameters.clear();
cmd.parameters.add("@OCR_DATA",)
cmd.executenonquery();
T
Hello:
And that string data I am passing to the insert Query.
>
> OCRDATA= "OCRResult";
> Query= "INSERT INTO OCRCONTENT(FileCode, OCR_DATA)VALUES(12202,+ "'" +
> OCRDATA + "')";
Can you try using parametrized queries ??
--
Carlos Guzmán Álvarez
Vigo-Spain
http://carlosga.wordpress.com
---
and developers of the Firebird .NET
providers
Subject: Re: [Firebird-net-provider] "Error Reading Data from Connection"
Some example what you're doing would be helpful.
--
Jiri {x2} Cincura (CTO x2develop.co
Some example what you're doing would be helpful.
--
Jiri {x2} Cincura (CTO x2develop.com)
http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challen