Reading binary images from database using ASP.net 1.1 RRS feed

  • Question

  • User-237554299 posted


    Currently i am working on .net framework 1.1 and i want to read and display the images on to browser. Images are stored in oracle database in binary format. While reading the table i am getting following error.

    Oracle 11.2G

    .net framework 1.1 (ASP.NET)

    error: query with blob requires 0CI8 mode but 0CI7 mode is used

    Following is the code which i am using. while reading the data it throwing above error message

    //OleDbConnection con = new OleDbConnection("Provider=MSDAORA.1;User Id=japhonie;Password=japhonie;Data Source=IDEV2.world"); 

    //                      con.Open(); 

    //                      OleDbDataAdapter empadap; 

    //                      empadap = new OleDbDataAdapter(); 

    //                      empadap.SelectCommand = new OleDbCommand("SELECT id FROM ad_emp", con); 

    //                      DataSet dset = new DataSet("dset"); 

    //                      empadap.Fill(dset); 

    //                      DataTable dtable;

    please help

    Friday, November 6, 2015 3:39 AM

All replies