Can export OE to dmp file but cannot import OE to another User

I login Oracle as SYS
SQL> alter user oe account unlock;
SQL> alter user oe identified by oe;
SQL> create user myoe identified by myoe;
SQL> grant connect,resource to myoe;
SQL> connect myoe/myoe@ora9i
I can export OE schema from OE to an Oracle dmp file called “C:\oe.dmp”
In DOS Prompt, type the following:
C:\>exp oe/oe@ora9i file='c:\oe.dmp'
But import error when I type the following
C:\>imp myoe/myoe@ora9i file=’c:\oe.dmp’ full=Y
ORACLE error 2304 encountered
Can any one help me?

1. I export OE again using
C:\>c:\oracle\ora92\bin\exp system/ora9i_manager@ora9i file='c:\oe.dmp' log='c:\oe.log' buffer=50000000 OWNER=OE CONSISTENT=Y
2. I create a new user called "myoe"
create user myoe identified by myoe
default tablespace example
temporary tablespace temp;
grant connect,resource,dba to myoe;
grant execute on sys.dbms_stats to myoe;
grant create snapshot,unlimited tablespace,query rewrite to myoe;
grant references on hr.countries to myoe;
grant references on hr.employees to myoe;
grant references on hr.locations to myoe;
3. I import the dmp file using:
C:\>c:\oracle\ora92\bin\imp system/ora9i_manager@ora9i file='c:\oe.dmp' log='c:\oe.log' buffer=50000000 fromuser=OE touser=MYOE
4. The error log shows:
Export file created by EXPORT:V09.02.00 via conventional path
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
. importing OE's objects into MYOE
IMP-00017: following statement failed with ORACLE error 2304:
"CREATE TYPE "PHONE_LIST_TYP" TIMESTAMP '2002-05-12:18:02:39' OID '82A4AF6A4"
"CD2656DE034080020E0EE3D' "
" AS VARRAY(5) OF VARCHAR2(25);"
IMP-00003: ORACLE error 2304 encountered
ORA-02304: invalid object identifier literal
IMP-00017: following statement failed with ORACLE error 2304:
"CREATE TYPE "WAREHOUSE_TYP" TIMESTAMP '2002-05-12:18:06:56' OID '82A4AF6A4C"
"D3656DE034080020E0EE3D' "
" AS OBJECT"
" ( warehouse_id NUMBER(3)"
" , warehouse_name VARCHAR2(35)"
" , location_id NUMBER(4)"
IMP-00003: ORACLE error 2304 encountered
ORA-02304: invalid object identifier literal
IMP-00017: following statement failed with ORACLE error 2304:
"CREATE TYPE "INVENTORY_TYP" TIMESTAMP '2002-05-12:18:06:57' OID '82A4AF6A4C"
"D4656DE034080020E0EE3D' "
" AS OBJECT"
" ( product_id NUMBER(6)"
" , warehouse warehouse_typ"
" , quantity_on_hand NUMBER(8)"
IMP-00003: ORACLE error 2304 encountered
ORA-02304: invalid object identifier literal
IMP-00017: following statement failed with ORACLE error 2304:
"CREATE TYPE "INVENTORY_LIST_TYP" TIMESTAMP '2002-05-12:18:06:57' OID '82A4A"
"F6A4CD5656DE034080020E0EE3D' "
" AS TABLE OF inventory_typ;"
IMP-00003: ORACLE error 2304 encountered
ORA-02304: invalid object identifier literal
IMP-00017: following statement failed with ORACLE error 2304:
"CREATE TYPE "PRODUCT_INFORMATION_TYP" TIMESTAMP '2002-05-12:18:06:57' OID '"
"82A4AF6A4CD6656DE034080020E0EE3D' "
" AS OBJECT"
" ( product_id NUMBER(6)"
" , product_name VARCHAR2(50)"
" , product_description VARCHAR2(2000)"
" , category_id NUMBER(2)"
" , weight_class NUMBER(1)"
" , warranty_period INTERVAL YEAR(2) TO MONTH"
" , supplier_id NUMBER(6)"
" , product_status VARCHAR2(20)"
" , list_price NUMBER(8,2)"
" , min_price NUMBER(8,2)"
" , catalog_url VARCHAR2(50)"
" , inventory_list inventory_list_typ"
IMP-00003: ORACLE error 2304 encountered
ORA-02304: invalid object identifier literal
IMP-00017: following statement failed with ORACLE error 2304:
"CREATE TYPE "ORDER_ITEM_TYP" TIMESTAMP '2002-05-12:18:06:57' OID '82A4AF6A4"
"CD7656DE034080020E0EE3D' "
" AS OBJECT"
" ( order_id NUMBER(12)"
" , line_item_id NUMBER(3)"
" , unit_price NUMBER(8,2)"
" , quantity NUMBER(8)"
" , product_ref REF product_information_typ"
IMP-00003: ORACLE error 2304 encountered
ORA-02304: invalid object identifier literal
IMP-00017: following statement failed with ORACLE error 2304:
"CREATE TYPE "ORDER_ITEM_LIST_TYP" TIMESTAMP '2002-05-12:18:06:57' OID '82A4"
"AF6A4CD8656DE034080020E0EE3D' "
" AS TABLE OF order_item_typ;"
IMP-00003: ORACLE error 2304 encountered
ORA-02304: invalid object identifier literal
IMP-00017: following statement failed with ORACLE error 2304:
"CREATE TYPE "PRODUCT_REF_LIST_TYP" TIMESTAMP '2002-05-12:18:06:59' OID '82A"
"4AF6A4CDE656DE034080020E0EE3D' "
" AS TABLE OF number(6);"
IMP-00003: ORACLE error 2304 encountered
ORA-02304: invalid object identifier literal
IMP-00017: following statement failed with ORACLE error 2304:
"CREATE TYPE "CUST_ADDRESS_TYP" TIMESTAMP '2002-05-12:18:02:38' OID '82A4AF6"
"A4CD1656DE034080020E0EE3D' "
" AS OBJECT"
" ( street_address VARCHAR2(40)"
" , postal_code VARCHAR2(10)"
" , city VARCHAR2(30)"
" , state_province VARCHAR2(10)"
" , country_id CHAR(2)"
IMP-00003: ORACLE error 2304 encountered
ORA-02304: invalid object identifier literal
IMP-00017: following statement failed with ORACLE error 2304:
"CREATE TYPE "CUSTOMER_TYP" TIMESTAMP '2002-05-12:18:06:58' OID '82A4AF6A4CD"
"9656DE034080020E0EE3D' "
" AS OBJECT"
" ( customer_id NUMBER(6)"
" , cust_first_name VARCHAR2(20)"
" , cust_last_name VARCHAR2(20)"
" , cust_address cust_address_typ"
" , phone_numbers phone_list_typ"
" , nls_language VARCHAR2(3)"
" , nls_territory VARCHAR2(30)"
" , credit_limit NUMBER(9,2)"
" , cust_email VARCHAR2(30)"
" , cust_orders order_list_typ"
"NOT FINAL;"
IMP-00003: ORACLE error 2304 encountered
ORA-02304: invalid object identifier literal
IMP-00017: following statement failed with ORACLE error 2304:
"CREATE TYPE "ORDER_TYP" TIMESTAMP '2002-05-12:18:06:58' OID '82A4AF6A4CDA65"
"6DE034080020E0EE3D' "
etc..
HELP!

Similar Messages

Maybe you are looking for