Intermedia problem

From: Pie <gpedro_at_tiscali.it>
Date: 3 Feb 2004 14:34:05 -0800
Message-ID: <e41aaadb.0402031434.451e402_at_posting.google.com>



Hi,
[Quoted] I have a problem with the signature function in oracle intermedia. I had created a small DB with an ORDImage object and ORDImageSignature, I put some images inside and i tried to create a signature of those...in this way:

create directory IMMAGINI as 'c:\\giampiero'; GRANT READ ON DIRECTORY IMMAGINI TO PUBLIC WITH GRANT OPTION DECLARE
Image ORDSYS.ORDImage;
ImageSig ORDSYS.ORDImageSignature;
ctx RAW(4000) := NULL;
BEGIN SELECT Foto, Foto_Sig INTO Image, ImageSig FROM Foto WHERE ID_Foto = 3 for UPDATE;
Image.setSource('file','IMMAGINI','Img3-1.jpg'); Image.import(ctx);
ImageSig.generateSignature(Image);

UPDATE Foto SET Foto = Image, Foto_Sig = ImageSig WHERE ID_Foto = 3; COMMIT;
END; But the server return to me this error and...somebody can help me?

DECLARE
*
ERRORE alla riga 1:

ORA-29400: errore della cartuccia dati
IMG-00703: impossibile leggere i dati dell'immagine
ORA-28575: impossibile aprire una connessione RPC ad un agente di
procedura esterna
ORA-06512: a "ORDSYS.ORDIMGEXTCODEC_PKG", line 159
ORA-06512: a line 1
ORA-06512: a "ORDSYS.ORDIMG_PKG", line 525
ORA-06512: a "ORDSYS.ORDIMAGE", line 59
ORA-06512: a "ORDSYS.ORDIMAGESIGNATURE", line 85
ORA-06512: a line 11
Received on Tue Feb 03 2004 - 23:34:05 CET

Original text of this message