Results 1 to 1 of 1
  1. #1
    Join Date
    Dec 2008
    Czech Republic

    Unanswered: Open Large object

    Hi, I try to open large object IfxBlob but an error appears. see the code and error

    DbParameter dbParameter = null;

    //Read the file
    StreamReader strmRdr = new StreamReader(filePath);

    //Open the connection

    //Create smart locator
    IfxSmartLOBLocator IfxSmartLOBLoc = new IfxSmartLOBLocator(strmRdr.ReadToEnd());
    //Create IfxClob
    IfxClob myClobVal = new IfxClob((IfxConnection)m_connection);

    myClobVal.EstimatedSize = 49000;
    myClobVal.ExtentSize = 100;
    myClobVal.Flags = (int)IfxSmartLOBCreateTimeFlags.KeepAccessTime
    | (int)IfxSmartLOBCreateTimeFlags.NoLog;
    myClobVal.MaxBytes = 45000;
    //Open IfxClob
    //Here I got the error "ERROR [HY000] [Informix .NET provider][Informix]Smart-large-object error."

    Thanks for UR help
    Last edited by honzacivin; 01-05-09 at 07:00.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts