RegisterOutParameter - setBinaryStream - Problems inserting Blob - setRAW

As posted in metalink (was: "Problems inserting BLOB/InputStream with ojdbc14.jar for 10g - Data size bigger than max size for this type"):
Using setBinaryStream for large Blobs works as long as I don't register outParameters.
Query that works: "INSERT INTO blobtest (attachment_id,name,data) VALUES(blobtest_SEQ.nextval,?,?)";
Query that fails = "BEGIN INSERT INTO blobtest (attachment_id,name,data) VALUES( blobtest_SEQ.nextval,?,?) RETURN attachment_id INTO ? ; END;"
The necessary tables were created by hand:
CREATE TABLE blobtest ( NAME CHAR(255), data BLOB, attachment_id NUMBER(38))
And
CREATE SEQUENCE TBL_ATTACHMENT_SEQ
The output was: <<user: SEE
pw: QD
instantiating oracle driver
query: INSERT INTO blobtest (attachment_id,name,data) VALUES(TBL_ATTACHMENT_SEQ.nextval,?,?)
uploaded no Return Parameter blob of size: 256809
query: BEGIN INSERT INTO blobtest (attachment_id,name,data) VALUES(TBL_ATTACHMENT_SEQ.nextval,?,?) RETURN attachment_id INTO ? ; END;
java.sql.SQLException: Datengr÷&#9600;e gr÷&#9600;er als max. Gr÷&#9600;e f³r diesen Typ: 256809
at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
:125)
at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
:162)
at
oracle.jdbc.driver.OraclePreparedStatement.setRAW(OraclePreparedState
ment.java:5342)
at
oracle.jdbc.driver.OraclePreparedStatement.setBinaryStreamInternal(Or
aclePreparedStatement.java:6885)
at
oracle.jdbc.driver.OracleCallableStatement.setBinaryStream(OracleCall
ableStatement.java:4489)
at BlobTest.writeBlob(BlobTest.java:161)
at BlobTest.testBlob(BlobTest.java:118)
at BlobTest.main(BlobTest.java:92)
error: Datengr÷&#9600;e gr÷&#9600;er als max. Gr÷&#9600;e f³r diesen Typ:
256809>>
here the java test case:
* Created on 25.08.2004 $Id: BlobTest.java,v 1.4 2005/04/22 11:21:11 hauser Exp $
* as posted in metalink jdbc forum 050405 and responses by
* [email protected]
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.Driver;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.Types;
public class BlobTest {
private static String FILE_NAME = "c:/temp/veryLargeFile.pdf";
public BlobTest() {
final static int ORACLE = 1;
final static int MYSQL = 2;
private String jdbcUrl = "jdbc:mysql://localhost/test?user=monty&password=greatsqldb";
private int dbType = ORACLE;
private Driver driver = null;
private String user = "";
private String pw = "";
public static String SCHEME = "";
public static void main(String[] args) {
BlobTest bt = new BlobTest();
if (args[0] != null) {
System.out.println("dbType: " + args[0]);
if (args[0].toLowerCase().indexOf("oracle") != -1) {
bt.dbType = ORACLE;
if (args[0].toLowerCase().indexOf("mysql") != -1) {
bt.dbType = MYSQL;
} else {
System.out.println("not yet supported db type: " + args[0]);
System.exit(99);
if (args[1] != null) {
System.out.println("jdbcUrl: " + args[1]);
if (args[1].trim().length() != 0) {
bt.jdbcUrl = args[1].trim();
} else {
System.out.println("not yet supported jdbcUrl : " + args[1]);
System.exit(99);
if (args.length > 2 && args[2] != null) {
System.out.println("user: " + args[2]);
if (args[2].trim().length() != 0) {
bt.user = args[2].trim();
} else {
System.out.println("invalid user: " + args[2]);
System.exit(99);
if (args.length > 3 && args[3] != null) {
System.out.println("pw: " + args[3].substring(0, 2));
if (args[3].trim().length() != 0) {
bt.pw = args[3].trim();
} else {
System.out.println("invalid filename: " + args[3]);
System.exit(99);
if (args.length > 4 && args[4] != null) {
System.out.println("filename: " + args[4]);
if (args[4].trim().length() != 0) {
FILE_NAME = args[4].trim();
} else {
System.out.println("invalid filename: " + args[4]);
System.exit(99);
bt.setUp();
bt.testBlob();
public void setUp() {
try {
if (this.dbType == ORACLE) {
System.out.println("instantiating oracle driver ");
this.driver = (Driver) Class.forName(
"oracle.jdbc.driver.OracleDriver").newInstance();
} else {
this.driver = (Driver) Class.forName("com.mysql.jdbc.Driver")
.newInstance();
if (this.driver == null) {
System.out.println("oracle driver is null");
System.exit(88);
DriverManager.registerDriver(this.driver);
} catch (Exception e) {
e.printStackTrace();
System.out.println("error: " + e.getMessage());
public void testBlob() {
try {
this.writeBlob();
} catch (Exception e) {
e.printStackTrace();
System.out.println("error: " + e.getMessage());
* testfunction
private void writeBlob() throws Exception {
Connection conn = null;
PreparedStatement pStmt = null;
CallableStatement cStmt, cStmt2 = null;
InputStream in = null;
try {
File file = new File(BlobTest.FILE_NAME);
in = new FileInputStream(file);
conn = DriverManager.getConnection("jdbc:" + this.jdbcUrl,
this.user, this.pw);
conn.setAutoCommit(false);
String queryWorks = "INSERT INTO " + SCHEME
+ "blobtest (attachment_id,name,data) VALUES(" + SCHEME
+ "TBL_ATTACHMENT_SEQ.nextval,?,?)";
cStmt = conn.prepareCall(queryWorks);
System.out.println("query: " + queryWorks);
cStmt.setString(1, file.getAbsolutePath());
in = new FileInputStream(file);
cStmt.setBinaryStream(2, in, (int) file.length());
cStmt.execute();
System.out.println("uploaded no Return Parameter blob of size: "
+ file.length());
conn.commit();
String queryFails = "BEGIN INSERT INTO " + SCHEME
+ "blobtest (attachment_id,name,data) VALUES(" + SCHEME
+ "TBL_ATTACHMENT_SEQ.nextval,?,?)"
+ " RETURN attachment_id INTO ? ; END;";
cStmt2 = conn.prepareCall(queryFails);
System.out.println("query: " + queryFails);
cStmt2.setString(1, file.getAbsolutePath());
in = new FileInputStream(file);
cStmt2.setBinaryStream(2, in, (int) file.length());
cStmt2.registerOutParameter(3, Types.INTEGER);
cStmt2.execute();
System.out.println("uploaded blob of size: " + file.length()
+ " - id: " + cStmt2.getInt(3));
conn.commit();
} catch (Exception e) {
e.printStackTrace();
System.out.println("error: " + e.getMessage() + "\nname: "
+ BlobTest.FILE_NAME);
if (conn != null) {
try {
conn.rollback();
} catch (Exception e1) {
throw e;
} finally {
if (in != null) {
try {
in.close();
} catch (Exception e) {
if (pStmt != null) {
try {
pStmt.close();
} catch (Exception e) {
if (conn != null) {
try {
conn.close();
} catch (Exception e) {
and the batch file I use to start:
@setlocal
@echo off
rem $Id: runBlobTest.bat,v 1.2 2005/04/21 15:06:22 hauser Exp $
set classpath=../WEB-INF/classes;../WEB-INF/lib/ojdbc14.jar;
echo JAVA_HOME: %JAVA_HOME%
set JAVA_HOME=C:\PROGRA~1\Java\j2re1.4.1_02\
echo classpath: %classpath%
set javaCmd=C:\PROGRA~1\Java\j2re1.4.1_02\bin\java
%javaCmd% -version
%javaCmd% BlobTest "oracle" "oracle:thin://@ORADB.yourdomain.COM:1521:t300" "username" "password" "C:\Temp\veryLargeFile.pdf"
endlocal

Apparently, this is partially known - with a different stacktrace though:
<<From: Oracle, Anupama Srinivasan 25-Apr-05 07:15
Can you please check on Bug:4083226?
Using the RETURNING Clause is not supported with JDBC. You could embed the statement in PL/SQL Block as in Metalink Note 124268.1 - JDBC Support for DML Returning Clause.
The Enhancement Request filed on this issue is being considered for Release 10.2
>>
And my answer to it.
Using the RETURNING Clause is not supported with JDBC.This is strange, with just "emptyblob()", it DOES work.
I guess, our work-around that hopefully is more portable than embedding a "PL/SQL Block" will be to
1) create the record with an empty blob,
2) update the blob in a second statement (now, a RETURNING statement is no longer needed)

Similar Messages

  • Problem inserting Blob through Oracle 9iAs

    Hai Everybody,
    I got a unique problem , i am trying to insert a blob object to the blob column. This is working fine when i am using JDeveloper 9.0.3 , but when i am using the same on 9iAS , the data is not evening inserting to the database. Please can any body help me how to solve this problem.
    This is the code used to insert into the database.
    if (resSet.next()) {
    oracle.sql.BLOB bCol = ((OracleResultSet)resSet).getBLOB(1);
    blobOutputStream = bCol.getBinaryOutputStream();
    byte[] bBuffer = new byte[bCol.getBufferSize()];
    int intBytesRead = 0;
    ByteArrayInputStream fis = new ByteArrayInputStream(byteValues);
    ErrorLog.log(" before the while loop ");
    while ((intBytesRead = fis.read(bBuffer)) != -1) {
    blobOutputStream.write(bBuffer,0,intBytesRead);
    blobOutputStream.close();
    // i am commiting the connection here
    conn.commit();
    conn.setAutoCommit(true);

    Hi !, you can find response of this answer in Oracle forums...
    http://forums.oracle.com/forums/forum.jsp?forum=99

  • JDBC performance problem with Blob

    Hi,
    I've some performance problem while inserting Blob in an Oracle
    8i database. I'm using JVM 1.17 on HP-UX 11.0 with Oracle thin
    client
    The table I used contains only two columns : an integer (the
    primary key) and a blob.
    First I insert a row in the table with an empty_blob()
    Then I select back this row to get the blob
    and finally I fill in the blob with the data.
    But it takes an average 4.5 seconds to insert a blob of 47 Kb.
    Am I doing something wrong?
    Any suggestion or hint will be welcome.
    Thanks in advance
    Didier
    null

    Don S. (guest) wrote:
    : Didier Derck (guest) wrote:
    : : Hi,
    : : I've some performance problem while inserting Blob in an
    Oracle
    : : 8i database. I'm using JVM 1.17 on HP-UX 11.0 with Oracle
    thin
    : : client
    : : The table I used contains only two columns : an integer (the
    : : primary key) and a blob.
    : : First I insert a row in the table with an empty_blob()
    : : Then I select back this row to get the blob
    : : and finally I fill in the blob with the data.
    : : But it takes an average 4.5 seconds to insert a blob of 47
    Kb.
    : : Am I doing something wrong?
    : : Any suggestion or hint will be welcome.
    : : Thanks in advance
    : : Didier
    : In our testing if you use blob.putBytes() you will get better
    : performance. The draw back we found was the 32k limit we ran
    in
    : to. We had to chunk things larger than that and make calls to
    : the append method. I was dissappointed in Oracle's phone
    support
    : on what causes the 32k limit. In addition the getBytes() for
    : retrieve doesn't seem to work. You'll have to use the
    : InputStream for that. Oh, and FYI. We ran into a 2k limit on
    : putChars() for CLOB's.
    the thin drivers currently use the package "dbms_lob" behind the
    scenes while the jdbc oci 815 drivers and higher uses the native
    oci calls which makes them much faster.
    there also is a 32k limit on pl/sql stored procedures/functions
    for parms.
    you may have run into that.
    null

  • Please HELP!!! I try to insert BLOB to Oracle

    Please help, I try to insert BLOB to Oracle.
    Here is my sample code. Basically what i tried to do is to to try to insert an image file to Oracle.
    But it did not work. If you have a sample code that works, please give me.
    Thanks,
    Tom
    try
    out.println ("Done");
    dbCon=trans.getConnection();
    dbCon.setAutoCommit(false);
    stmt1.execute ("update emorytest.PHYSICIANFOTO set FOTO=empty_blob() where name = 'foobar'");
    stmt = dbCon.prepareCall("SELECT FOTO from emorytest.PHYSICIANFOTO where name='foobar' for update");
    stmt.execute();
    rset = (OracleResultSet)stmt.getResultSet();
    rset.next();
    BLOB bdata = rset.getBLOB("test.jpg");
    os = bdata.getBinaryOutputStream();
    os.write(bdata);
    os.flush();
    os.close();
    dbCon.commit();
    dbCon.close();
    catch (Exception ex)
    ex.printStackTrace();

    Well, the obvious problem is that your "getBLOB" call ought to access the field by the field name "FOTO" not by a file name. Then you need to open an FileInputStream for the image before copying it to the blob's output stream.
    In my opinion BLOB and CLOB handling is jdbc is a confusing mess.

  • Inserting BLOBs Programmatically

    Is it possible to insert BLOBs programmatically?
    http://java.sun.com/docs/books/tutorial/jdbc/jdbc2dot0/inserting.html
    has details on this, but it appears to be at odds with the "empty_blob()" mechanism used by oracle, which requires an explicit insert statement.
    Thanks,
    Sanjay

    Although jdbc can't immediately see how the Blob/Clob needs to be implemented the database implementors should. The sequence should be as you suggest: create a new blob, write the data to it then store the OID in the database with a PreparedStatement.
    Because the Blob needs to be database implementation specific new Blobs should be created from the Connection object. In the typical case writing to the Blob should write straight to the database. Copying block values from one record to another should just involve copying the OID.
    As I read the Blob class description it should mean that the actual data isn't moved to or from the client unless you open a stream on it.
    Looking at the postgres implementation source it's pretty crude, in fact whereas retrieving a blob works as I suggested; no reads from the database until you open the stream, when you write the blob back to the database it's creating a new OID every time. I'd assumed it would retrieve the OID from the Blob you passed to PreparedStatment.setBlob actually it creates a new OID and copies the data byte by byte (icky).
    Looks, in fact, as if I can create a fake Blob with nothing but a getBinaryStream method.
    setBinaryStream/setAsciiStream doesn't work properly because it seems to decide whether the field is a blob purely based on the implementation version of postgres, without regard for the field type. (I suppose you can't judge the field type in a PreparedStatement).

  • Inserting blob data into database

    Hello everybody,
    I need insert blob data into database. that data i need to get from form
    can i use request.getParameter(""); for getting that file.
    Plz help how to get data from form to servlet and through callablestatement i need to insert into database.
    regards,
    Anil

    Hi,
    1) first create a form with file element
    first.jsp
    <form action="GetData" enctype="multipart/form-data" method="post">
    <input type="file" name="datafile" size="40">
    <input type="submit" value="Send">
    <input type="reset" name="Reset" value="Cancel">
    </form>
    GetData.java
    // servlet file
    public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
    res.setContentType("text/html");
    PrintWriter out = response.getWriter();
    try {
    System.setProperty( "jdbc.drivers", "com.microsoft.jdbc.sqlserver.SQLServerDriver" );
    Class.forName( "com.microsoft.jdbc.sqlserver.SQLServerDriver" );
    con = DriverManager.getConnection( "jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=JAVATEAM;SelectMethod=cursor;User=sa;Password=urpassword" );
    PreparedStatement pst = con.prepareStatement("insert into uploads(binaryfile) values(?)");
    FileInputStream fis=new FileInputStream(request.getParameter ( "datafile" ) );
    byte[] b= new byte[fis.available()+1];
    fis.read(b);
    pst.setBytes(1,b);
    pst.executeUpdate();
    pst.close();
    con.close();
    catch(SQLException e)
    out.println ( e);
    catch (ClassNotFoundException e)
    out.println( e );
    }Here in doPost(), i create preparedstatement,
    now you to create one procedure for insert
    and by using callable statement you just call that procedure and pass this byte b as arguments,
    now its in your hands
    my idea is over.

  • Problem inserting .swf in dreamweaver 8.Help!!

    Hi everybody.I have a problem since a lot of time jaja.I habe
    problems inserting .swf files in dreamweaver 8.I can insert, when I
    press f12 to see in Internet Explorer you see the movie, but when
    you put mouse over the banner I design.This has a bad behavior, it
    transform to hand, because the banner is a buttom, and again
    transform in default mode and it doesn`t stay in buttom form.When I
    did the flash, I saw the .sfw file in HTML, that generated the same
    Flash, and it look good, and had a hood behavior, but when I insert
    in dreamweaver 8 it doesn`t work correctly.I download the
    Dreamweaver 8 Update 2. Now I have Dreamveaver 8.0.2 or something
    like that.
    I think that the problems is in the form that Dreamweaver
    Insert the .swf file.
    My way is Insertar - Media - Flash.
    Somebody can help me? this problem I can´t resolved and
    I new whit this.
    English is not mi first Language, sorry if I had mistakes.

    ok....
    i installed php 5.2.10
    and downloaded php-5.2.10 zip file i found .dll
    its ok
    but in next help topic (testing PHP installation (Windows) )
    [http://livedocs.adobe.com/dreamweaver/8/using/gs_18_q7.htm]
    i didnt gt the result...
    what may be the problem?
    plz advice
    thanks in advacne

  • Inserting Blob in PL/SQL using select from other table

    Oracle 11.1.7.0:
    I am trying to insert blob column as defined below but not able to. Is this the right way of inserting blobs?
    set serveroutput on
    spool a.dat
    DECLARE
    BEGIN
      for i in 1..2
      loop
         for j in  (select r_payload                      
                       from fp_data where payload_id=331525112)
         loop
           EXECUTE IMMEDIATE 'insert into fp_data (r_payload) values ( ' || j.r_payload || ')';
        end loop;
      end loop;
      rollback;
    END;
    exit;

    BLOB work same a CLOB
    SQL> @clob
    SQL> drop table toto;
    SQL> create table toto (
      2    A  VARCHAR2 (30)  NOT NULL,
      3    B  VARCHAR2 (30)  NOT NULL,
      4    C  clob default empty_clob()
      5  )
      6        lob(c) store as toto_name_lo(disable storage in row)
      7  ;
    SQL>
    SQL> set feedback off
    SQL> set timing on;
    SQL> prompt
    SQL> prompt Insert lob with enabled storage in row:
    Insert lob with enabled storage in row:
    SQL> insert into toto (a, b, c)
      2  select owner a, object_name b, owner || ' ' || object_name c from all_objects
      3  where rownum < 10
      4  ;
    Elapsed: 00:00:00.51
    SQL> set timing off;
    SQL> select a,b from toto;
    A                      B
    SYS                      ICOL$
    SYS                      I_USER1
    SYS                      CON$
    SYS                      UNDO$
    SYS                      C_COBJ#
    SYS                      I_OBJ#
    SYS                      PROXY_ROLE_DATA$
    A                      B
    SYS                      I_IND1
    SYS                      I_CDEF2
    SQL> drop   table fp_data;
    SQL> create table fp_data (r_payload clob);
    SQL> insert into fp_data select c from toto where a = 'SYS'     AND B = 'I_IND1';
    SQL> select count(*) from fp_data;
      COUNT(*)
          1no need for PL/SQL

  • There was a problem inserting the Service Request: null

    I am trying out service desk. When I try to create a request I get:
    There was a problem inserting the Service Request: null
    I can't see what the issues is. All fields marked in red are filled.
    Tom

    Thomas,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • SQLite3 and BlobsI am having trouble learning how insert blobs into SQLite

    I am having trouble learning how insert blobs into SQLite for the iphone. Is there a way to insert a blob into sqlite3 from the command line? I know it was possible with sql using
    INSERT INTO temponly(name , pic) values( 'velan',
    load_file('e:/mysql/images/Click.gif')) ;
    but I don't think load_file is supported on sqlite.
    Also, I need to insert the blobs from my iphone app. I saw a C program called eatblob.c which goes through the following just to INSERT a blob into sqlite
    1. read the jpeg image file into memory , doing appropriate malloc based on size
    2. prepare an sqlite statement with ? values
    3. bind the malloc'd memory to the ?
    4. execute an sqlite step
    etc. etc. etc....
    This is quite a bit of work just to do an INSERT ???
    The reason I'm doing this is my iphone app has a lot of tiny (20x20) images that get downloaded to the phone periodically from the server. Plus, there are a number of images that come loaded with the application. I was going to save all of these in SQLite. So, I need the command line tool to load up the initial images that come with the app, then I need code to download the images from the server and load them into the database. Of course, reading them out is necessary!
    Please help if you can!? Its late..and I'm blurry eyed from googling SQLIte3 blobs...

    Thank you for your quick reply Liam! You know, I checked the web forms list when I got that error message and the form isn't there. I was having trouble the other day when another of my forms kept getting deleted.
    Sorry if this is a stupid question (I'm a BC newbie) but I want to be sure so I can get this project finished... The proper workflow would be to create this form myself in Web Forms then insert it into the Registration - Buy template using the modules toolbox?
    Thanks to you I may get this done on time still... if my PayPal set up works

  • Problem inserting flash from flash 8

    I am using flash 8 and dreamweaver 8. When I place a flash
    header into my web page there is a space created between the header
    and the lower content on the page. My publish setting in flash are
    set at default. Thanks for any help.

    This could be a problem w/ the Screen Mimic file because I have no problem inserting other flv files supplied to me by others.
    That would my guess too. Here are few other things to consider:
    1)  Does your FLV filename contain any spaces or special characters?  If so, rename it without spaces as these can cause problems.
    2)  Output Screen Mimic project to a QuickTime MOV file.  Then use Adobe Flash Encoder to convert the MOV to FLV.
    3)  When you tested your page, was it a live page on remote server?  Did you upload the page and all supporting files to server (Scripts folder, SWF, FLV...)?
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics |  Print | Media Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • Problem Inserting Flash Video (flv) File into Site

    Hi -
    I'm having problems inserting a Flash Video (.flv) into my webpage.  I'm using Dreamweaver 8.
    I'm going to: Insert -  Media - Flash Video, browsing to the .flv file that's in my local site folder, entering the settings.
    In Dreamweaver, there's a big gray box w/ flv icon in the middle.  But when I go to preview, the screen is empty, no video.
    I'm creating the .flv file w/ Screen Mimic (a screen capture recording software).  This could be a problem w/ the Screen Mimic file because I have no problem inserting other flv files supplied to me by others.  This is the first video that I've made that I'm trying to insert. 
    If anyone has any suggestions, I would be most appreciative.
    thanks!
    Stacey Stanley

    This could be a problem w/ the Screen Mimic file because I have no problem inserting other flv files supplied to me by others.
    That would my guess too. Here are few other things to consider:
    1)  Does your FLV filename contain any spaces or special characters?  If so, rename it without spaces as these can cause problems.
    2)  Output Screen Mimic project to a QuickTime MOV file.  Then use Adobe Flash Encoder to convert the MOV to FLV.
    3)  When you tested your page, was it a live page on remote server?  Did you upload the page and all supporting files to server (Scripts folder, SWF, FLV...)?
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics |  Print | Media Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • The little grey camera icon ( IMovie) is not working or allowing me to open my photos. I have no problem inserting video. Just won't let me open my photos. Any ideas?

    The little grey camera icon ( IMovie) is not working or allowing me to open my photos. I have no problem inserting video. Just won't let me open my photos. Any ideas?

    deanfromdouglasville,
    It may help to rebuild your iPhoto Library's database, as detailed in the article linked below.
    iPhoto 6 and later: Rebuilding the iPhoto library
    http://support.apple.com/en-us/HT201769
    Regards,
    Allen

  • Problem inserting photos in Imovie project

    i have what seems an unusual problem inserting photos into one of my projects. some photos insert fine however others that are dragged into the project dont appear when the video is played. the bar does however appear above the video clip showing that the photo has been inserted and the duration can be toggled.
    i then tried inserting the same photo into another short project and it worked fine?!
    has anyone come across this? would really appreciate your help as trying to put together a video clip for a wedding which is taking place in a few days!!
    many thanks

    I have also tried deleting the com.apple.imovie.plist ... I don't have one to delete ??  And, I tried repairing disk permissions with disk utility ... no change. I have also tried changing the title of the project.  These same pictures can be added into any other project ... I'm going CRAZY!

  • Problem inserting image

    Hi,
    i'm having problems inserting images in a Premiere project. My first couple of image are ok but after that when i try inserting a new image, it's always the same image! I've tried everything : deleting the images and reimporting them, deleting previews, ... Exporting shows the same images over and over again
    Any ideas why Premiere does this? What can i do?
    Thanks!

    Issues with still images

Maybe you are looking for

  • Im having serious problems with my ipod

    for the last couple of weeks my ipod has been freezing regularly, this wasnt so bad but now i go to try and charge my ipod but it is just getting past the apple symbol then coming up to an image of an ipod saying www.apple.com/support and i havent a

  • Adding a Sharepoint Document Library in Windows Explorer Fovorites

    I want to add a sharepoint document library in my favorites in windows explorer...  Every time I copy the link, instead of opening the library in windows explorer, it open the browser and go directly to the site... Any help would be appreciated. Than

  • DOMException while accessing child SOAPElement's

    I've implemented a servlet that receives SOAP messages and processes them. When I try to use SOAPElement's getChildElements(Name name) method, calling i.next() on the Iterator throws a DOMException. Here's the code: public static String testGetValue(

  • Handling Errors in Purchase Requisition

    Hi guys, For handling errors in Purchase Orders is quite simple because it can be used mm_messages_mac. and there can be used macros: - for adding new errors mmpur_message_forced 'E' 'ZM' '048' TEXT-003 ' '  ' ' ' ' . - for removing errors, it can be

  • Adobe LiveCycle Forms not opening in Chrome.

    Adobe LiveCycle Forms not opening in Chrome. Today, I noticed that if the PDF from is opened from Chrome when it is rendered from an IIS server using the following methoed: Response.ContentType = "application/vnd.adobe.xdp+xml" Response.WriteFile("".