"Operation not allowed in WRITE ONLY mode" with Firebird and BLOBs

The offical for ZeosLib 7.3 Report problems, ask for help, post proposals for the new version of Zeoslib 7.3/v8
Quick Info:
-We made two new drivers: odbc(raw and unicode version) and oledb
-GUID domain/field-defined support for FB
-extended error infos of Firebird
-performance ups are still in queue
In future some more feature will arrive, so stay tuned and don't hassitate to help
Post Reply
sglodek
Fresh Boarder
Fresh Boarder
Posts: 11
Joined: 13.02.2020, 20:08

"Operation not allowed in WRITE ONLY mode" with Firebird and BLOBs

Post by sglodek »

Hello,
i have a problem with Firebird blobs. Zeos Connection shows "8.0.0-beta" as version. Firebird version is 2.5.

Problem:
I can write a record with an empty blob without problems. Even changing the empty blob to contain some characters and save the record works fine. But every saving when the blob was not empty before the editing gives me a "Operation not allowed in WRITE ONLY mode"-Error. So it is not possible to change the content of a blob when the blob is not empty before then change.

Is there a ZEOS-setting I have missed to change to the right value or is this a bug?

Do you need more Informations about the error?

Best regards,
Siegbert
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: "Operation not allowed in WRITE ONLY mode" with Firebird and BLOBs

Post by marsupilami »

Hello Siegbert,

that sounds strange. I maintain an application with Firebiord and didn't see that problöem yet. A test case that demonstrates the problem really would help.
Could you please make sure that you update to the latest Zeos 8.0 revision from SVN (branches/8.0-patches) or from Github (8.0-patches)?

With best regards,

Jan
Post Reply