Exception when migrating SQL 7 to Oracle 8i

I have a new installation of SQL Server 7. Created a new table called TestTable with one varchar field. Tried to migrate it to oracle. When creating Object Model, the migration fails with these exceptions/errors. Can any one please help debug the problem?
Thanks.
EXCEPTION : SQLServer7SourceModelMap.mapPrimaryKeys(): pk_dtproperties, oracle.mtg.migration.MigrationSQLException: ORA-01400: cannot insert NULL into ("SQLUSER1"."
OM_OBJ_INFO"."OBJ_OWNER") :ORA-01400: cannot insert NULL into ("SQLUSER1"."OM_OBJ_INFO"."OBJ_OWNER")
EXCEPTION : SQLServer7SourceModelMap.mapRoles(): db_owner, oracle.mtg.migration.MigrationSQLException: oracle.mtg.migration.MigrationSQLException: ORA-01400:
cannot insert NULL into ("SQLUSER1"."OM_ROLE_USER_INFO"."USER_NAME") :ORA-01400: cannot insert NULL into ("SQLUSER1"."OM_ROLE_USER_INFO"."USER_NAME") :
oracle.mtg.migration.MigrationSQLException: ORA-01400: cannot insert NULL into ("SQLUSER1"."OM_ROLE_USER_INFO"."USER_NAME") :ORA-01400: cannot insert NULL into (
"SQLUSER1"."OM_ROLE_USER_INFO"."USER_NAM
EXCEPTION : SQLServer7SourceModelMap.mapTables(): TestTable, oracle.mtg.migration.MigrationSQLException: ORA-00903: invalid table name :ORA-00903: invalid table name
EXCEPTION : SQLServer7SourceModelMap.mapTables(): dtproperties, oracle.mtg.migration.MigrationSQLException: ORA-00903: invalid table name :ORA-00903: invalid table
name
TestTable : Table. Owner name is NULL. Check that SQL Server 7.0 MASTER database is correctly recovered
dtproperties : Table. Owner name is NULL. Check that SQL Server 7.0 MASTER database is correctly recovered
null

Hi Daniel,
Just to add to what John said. The Workbench should also generate
synonyms for users that have access (if they have SELECT
privilege on the table) to a table.
Regards
John
John (guest) wrote:
: Daniel (guest) wrote:
: : I'm having problems using Migration Workbench release
: 1.2.2.2.0
: : build (030999)
: : I'm trying to Migrate an SQL Server 6.5 database to Oracle
8i.
: : Capturing the source database and mapping to the Oracle model
: : appears to work ok. Migrating the contents of the Oracle
model
: : to the destination Oracle Database also appears to work ok
and
: : the message at the end confirms that the migration completed
: : successfully.
: : The problem is that when I load Oracle Administration
: Assistant
: : for Windows NT there is no evidence of the new database. In
: SQL
: : Plus, I can list migrated tables by prefixing tsa.v to each
of
: : the table names. For example in MicrosoftFs ISQL_w, I could
: type
: : SELECT * FROM EVENTLOG but in OracleFs SQL*PLUS, I have to
: type
: : SELECT * FROM SA.EVENTLOG;
: Daniel,
: Ensure that you are the owner of the table(s) in question. If
: not, you have to qualify the table with the table owner asuming
: that you have the proper privileges to access the table. For
: example, if the owner of the table(Oracle user) is SA, and your
: username is DAN, therefore, to access any table created by SA,
: you have to qualify SA to the table name(SA.EVENTLOG). On the
: other hand, if this table is owned by DAN and you logged in as
: DAN, qualifying DAN with the table name is optional.
: A workaround will be to create a PUBLIC SYNONYM on the table,
: thus saving you typing the table owner.
: I hope this addresses all your questions and concerns.
: John
Oracle Technology Network
http://technet.oracle.com
null

Similar Messages

  • How to migrate sql 7 to oracle 9i ???

    Hi,
    Plz let me know the step by step solution of how to migrate sql 7 to oracle 9i? I am using oracle 9i and i have a d'base created in sql 7 and I am using win2000 server all are on the same server.if you could provide me the links which solve my problem.
    thanks a lot
    wityh regards : Alok Kumar

    Hi Alok,
    Oracle have a tool called the Oracle Migration Workbench (OMWB). It is a free tool which can help you migrate you database from SQL Server 7 to Oracle 9i. You can find out more about it here.
    http://www.oracle.com/technology/tech/migration/workbench/index.html
    You basically need to download the OMWB Core part and then 1 of the plugins (You need to download the SQL Server 7 plugin).
    Once these are installed you can connect to your SQL Server 7 database, capture the schema objects within, map these to their Oracle equivalents and then Generate then into you Oracle database. Its GUI wizard driven tool so its easy enough to use.
    Note that this tool helps people move there databases to Oracle and is not a silver bullet. The more complex your database more time you need to rectify problems and test.
    I hope this helps,
    Dermot.

  • WHEN MIGRATING SQLSERVER REPOSITORY TO ORACLE MODEL USING OraMigWrkBnch

    I have captured the the SQLServer database to the omwb repository and migrated it to the Oracle Model. Some of the views,
    triggers and stored procedures are not migrated and the followind messages are provided.
    Has somebody done this before and got the same messages?, does someone know how to solve this problem(s)?, is there a
    standard way?
    Please help, anyone.
    VIEW
    [1] Error occured on line 1:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 1, column 106. Encountered:
    from
    TRIGGERS
    [2] Error occured on line 9:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 9, column 10. Encountered: of
    [3] Error occured on line 17:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 17, column 3. Encountered:
    update
    [4] Error occured on line 183:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 183, column 5. Encountered:
    cross
    [5] Error occured on line 7:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 7, column 1. Encountered:
    create
    STORED PROCEDURES
    [6] Error occured on line 26:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 26, column 5. Encountered:
    update
    [7] Error occured on line 163:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 163, column 17. Encountered:
    where
    [8] Error occured on line 66:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 66, column 47. Encountered:
    @ac_any_type_code
    [9] Error occured on line 69:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 69, column 28. Encountered: =
    [10] Error occured on line 70:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 70, column 7. Encountered: (
    [11] Error occured on line 9:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 9, column 1. Encountered:
    [12] Error occured on line 64:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 64, column 5. Encountered:
    delete
    [13] Error occured on line 60:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 60, column 35. Encountered:
    as
    [14] Error occured on line 1:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 1, column 55. Encountered:
    create
    [15] Error occured on line 65:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 65, column 7. Encountered:
    from
    [16] Error occured on line 56:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 56, column 51. Encountered: +
    [17] Error occured on line 112:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 112, column 1. Encountered:
    null
    [18] Error occured on line 27:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 27, column 3. Encountered:
    select
    [19] Error occured on line 74:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 74, column 10. Encountered:
    and
    [20] Error occured on line 19:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 19, column 6. Encountered: ,
    [21] Error occured on line 194:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 194, column 10. Encountered:
    exists
    [22] Error occured on line 269:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 269, column 9. Encountered:
    declare
    [23] Error occured on line 49:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 49, column 7. Encountered:
    order
    [24] Error occured on line 244:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 244, column 41. Encountered:
    rtrim

    The following trigger created:
    CREATE OR REPLACE TRIGGER tr_prs16_ins
    AFTER INSERT
    ON progress_state_16
    FOR EACH ROW
    DECLARE
    /* COMMENT */
    BEGIN
         BEGIN
                   INSERT INTO logtable
                        SELECT :NEW.code, sf_language.code,
    RPAD(CASE WHEN fg1.id IS null THEN '' ELSE RTRIM(fg1.id) END ||
    CASE WHEN pg1.id IS null THEN '' ELSE ': ' || RTRIM(pg1.id) END ||
    CASE WHEN fg2.id IS null THEN '' ELSE ', ' || RTRIM(fg2.id) END ||
    CASE WHEN pg2.id IS null THEN '' ELSE ': ' || RTRIM(pg2.id) END ||
    CASE WHEN fg3.id IS null THEN '' ELSE ', ' || RTRIM(fg3.id) END ||
    CASE WHEN pg3.id IS null THEN '' ELSE ': ' || RTRIM(pg3.id) END ||
    CASE WHEN fg4.id IS null THEN '' ELSE ', ' || RTRIM(fg4.id) END ||
    CASE WHEN pg4.id IS null THEN '' ELSE ': ' || RTRIM(pg4.id) END ||
    CASE WHEN fg5.id IS null THEN '' ELSE ', ' || RTRIM(fg5.id) END ||
    CASE WHEN pg5.id IS null THEN '' ELSE ': ' || RTRIM(pg5.id) END ||
    CASE WHEN fg6.id IS null THEN '' ELSE ', ' || RTRIM(fg6.id) END ||
    CASE WHEN pg6.id IS null THEN '' ELSE ': ' || RTRIM(pg6.id) END ||
    CASE WHEN fg7.id IS null THEN '' ELSE ', ' || RTRIM(fg7.id) END ||
    CASE WHEN pg7.id IS null THEN '' ELSE ': ' || RTRIM(pg7.id) END ||
    CASE WHEN fg8.id IS null THEN '' ELSE ', ' || RTRIM(fg8.id) END ||
    CASE WHEN pg8.id IS null THEN '' ELSE ': ' || RTRIM(pg8.id) END ||
    CASE WHEN fg9.id IS null THEN '' ELSE ', ' || RTRIM(fg9.id) END ||
    CASE WHEN pg9.id IS null THEN '' ELSE ': ' || RTRIM(pg9.id) END ||
    CASE WHEN fg10.id IS null THEN '' ELSE ', ' || RTRIM(fg10.id) END ||
    CASE WHEN pg10.id IS null THEN '' ELSE ': ' || RTRIM(pg10.id) END ||
    CASE WHEN fg11.id IS null THEN '' ELSE ', ' || RTRIM(fg11.id) END ||
    CASE WHEN pg11.id IS null THEN '' ELSE ': ' || RTRIM(pg11.id) END ||
    CASE WHEN fg12.id IS null THEN '' ELSE ', ' || RTRIM(fg12.id) END ||
    CASE WHEN pg12.id IS null THEN '' ELSE ': ' || RTRIM(pg12.id) END ||
    CASE WHEN fg13.id IS null THEN '' ELSE ', ' || RTRIM(fg13.id) END ||
    CASE WHEN pg13.id IS null THEN '' ELSE ': ' || RTRIM(pg13.id) END ||
    CASE WHEN fg14.id IS null THEN '' ELSE ', ' || RTRIM(fg14.id) END ||
    CASE WHEN pg14.id IS null THEN '' ELSE ': ' || RTRIM(pg14.id) END ||
    CASE WHEN fg15.id IS null THEN '' ELSE ', ' || RTRIM(fg15.id) END ||
    CASE WHEN pg15.id IS null THEN '' ELSE ': ' || RTRIM(pg15.id) END ||
    CASE WHEN fg16.id IS null THEN '' ELSE ', ' || RTRIM(fg16.id) END ||
    CASE WHEN pg16.id IS null THEN '' ELSE ': ' || RTRIM(pg16.id) END
    , 255, ' ')
    from dual
    left outer join function_group fg1 on fg1.code = :new.function_group_1_code
    left outer join function_group fg2 on fg2.code = :new.function_group_2_code
    left outer join function_group fg3 on fg3.code = :new.function_group_3_code
    left outer join function_group fg4 on fg4.code = :new.function_group_4_code
    left outer join function_group fg5 on fg5.code = :new.function_group_5_code
    left outer join function_group fg6 on fg6.code = :new.function_group_6_code
    left outer join function_group fg7 on fg7.code = :new.function_group_7_code
    left outer join function_group fg8 on fg8.code = :new.function_group_8_code
    left outer join function_group fg9 on fg9.code = :new.function_group_9_code
    left outer join function_group fg10 on fg10.code = :new.function_group_10_code
    left outer join function_group fg11 on fg11.code = :new.function_group_11_code
    left outer join function_group fg12 on fg12.code = :new.function_group_12_code
    left outer join function_group fg13 on fg13.code = :new.function_group_13_code
    left outer join function_group fg14 on fg14.code = :new.function_group_14_code
    left outer join function_group fg15 on fg15.code = :new.function_group_15_code
    left outer join function_group fg16 on fg16.code = :new.function_group_16_code
    left outer join progress pg1 on pg1.code = :new.progress_1_code
    left outer join progress pg2 on pg2.code = :new.progress_2_code
    left outer join progress pg3 on pg3.code = :new.progress_3_code
    left outer join progress pg4 on pg4.code = :new.progress_4_code
    left outer join progress pg5 on pg5.code = :new.progress_5_code
    left outer join progress pg6 on pg6.code = :new.progress_6_code
    left outer join progress pg7 on pg7.code = :new.progress_7_code
    left outer join progress pg8 on pg8.code = :new.progress_8_code
    left outer join progress pg9 on pg9.code = :new.progress_9_code
    left outer join progress pg10 on pg10.code = :new.progress_10_code
    left outer join progress pg11 on pg11.code = :new.progress_11_code
    left outer join progress pg12 on pg12.code = :new.progress_12_code
    left outer join progress pg13 on pg13.code = :new.progress_13_code
    left outer join progress pg14 on pg14.code = :new.progress_14_code
    left outer join progress pg15 on pg15.code = :new.progress_15_code
    left outer join progress pg16 on pg16.code = :new.progress_16_code
    cross join sf_language
         END;
    END TEST_IF;
    given the following tables exist:
    create table logtable(newcode varchar2(10),
    sfcode varchar2(10),
    other varchar2(10)
    create table sf_language(code varchar2(10),
    id varchar2(10));
    create table progress(code varchar2(10),
    id varchar2(10));
    create table function_group(code varchar2(10),
    id varchar2(10));
    create table progress_state_16 (code varchar2(10),
    function_group_1_code varchar2(10),
    function_group_2_code varchar2(10),
    function_group_3_code varchar2(10),
    function_group_4_code varchar2(10),
    function_group_5_code varchar2(10),
    function_group_6_code varchar2(10),
    function_group_7_code varchar2(10),
    function_group_8_code varchar2(10),
    function_group_9_code varchar2(10),
    function_group_10_code varchar2(10),
    function_group_11_code varchar2(10),
    function_group_12_code varchar2(10),
    function_group_13_code varchar2(10),
    function_group_14_code varchar2(10),
    function_group_15_code varchar2(10),
    function_group_16_code varchar2(10),
    progress_1_code varchar2(10),
    progress_2_code varchar2(10),
    progress_3_code varchar2(10),
    progress_4_code varchar2(10),
    progress_5_code varchar2(10),
    progress_6_code varchar2(10),
    progress_7_code varchar2(10),
    progress_8_code varchar2(10),
    progress_9_code varchar2(10),
    progress_10_code varchar2(10),
    progress_11_code varchar2(10),
    progress_12_code varchar2(10),
    progress_13_code varchar2(10),
    progress_14_code varchar2(10),
    progress_15_code varchar2(10),
    progress_16_code varchar2(10))
    SQL> insert into progress_state_16 values ('1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1');
    1 row created.
    SQL> select * from logtable;
    no rows selected
    SQL>
    The data to make the select produce a result was not added. I hope your database difficulties are resolved. I hope the fact that the trigger builds gives you more confidence.
    Regards,
    Turloch
    Oracle Migration Workbench Team

  • How to get .ocp file when converting sql database to oracle database?

    Hi all,
    Hope doing well,
    sir i am using sql developer tool for migration from sql server to oracle
    i am using this offline but i don't know how to create .ocp file
    please help me.
    it's urgent
    waiting for reply.
    thanks in advance.

    The OCP files are created during OFFLINE Migration. In SQl Developer click on Tools -> Migration -> Create Database Capture Scripts. Choose an output directory, make sure to select the correct platform (Windows) and select MS SQl Server from the drop down list.
    You'll get in the directory specified earlier the batch and OCP files required to create the source model using the offline method.
    Have a look at this web site: http://www.oracle.com/technetwork/products/migration/sqlserver-095136.html
    It contains more info including a link to a video demonstrating the offline capture method.

  • Portals DB migration SQL Server to Oracle?

    Hello, Can EP6 running on Win2000/SQLserver be migrated to Oracle database. I searched OSS but couldnt find any reference (https://websmp108.sap-ag.de/nw-epmig). If possible, what would be the steps involved. Any help would appreciated

    John,
    It is not possible to change the DB vendor during migration, using the migration tools, but
    after upgrading EP 5.0 to EP 6.0 NW2004s on SR1 we can use the heterogeneous system copy to go from
    SQL 2000 to Oracle 10g?
    No cross platform (operating system) migration. Is this during migration using the migration tools
    only? Or even after the EP 6.0 NW2004s on SR1 we can now then do both a DB switch and a platform swicth
    (i.e. Windows/MS SQL 2000 to Unix/Oracle 10g?
    Thanks.
    James

  • TNS listener problem when migrating access app to oracle

    I am migrating an access 2000 DB and application to oracle 8i. I have done this successfully on my test machine many times. I am working on the customers machine, and the problem is when I go to migrate the access application, it will not connect to oracle b/c of the TNS listener. The workbench tool ask for a username, pwd, and ODBC driver, but there is no place to put the oracle service name. I ran into this problem at home and I appended the service name onto the password with the '@' symbol, which works for oracle anyway. Like this, 'pwd@sname'. It worked at home, but I keep getting an error here that tns could not resolve service name. When migrating the data, there was a field to put the service name in, but not for migrating the application. I have tried variations in the ODBC driver also, but with no luck. Any other ideas?

    Hello,
    Is it possible that odbc driver is nor properly installed? If so you may have to re-instlal the odbc driver. If not try out the following steps:
    * Go to DataSources [On win2k: start -> settings ->control panel ->Adminsitrative tools -> Data Sources (ODBC)]
    * Click Add for the user DSN [say "testDSN"], and select oracle driver here [check if you have oracle 8 driver, if not you may want to install one]
    * In the "Oracle ODBC Driver Configuration" window, give you your oracle databse connection details, click the "Test Connection button", it will ask for username and password, give system's username and password
    * Use this DSN [testDSN] name in the migration work bench
    Thank you and kind regards,
    Srinivas Nandaanam

  • Exception when calling web service from Oracle forms 10g

    Hi All,
    I am trying to integrate Oracle Forms 10g(V 10.1.2.0.2.) with Web Services.
    There is a java class named 'authenticate' which is generated using Oracle JDeveloper.
    This class is included in the forms application by using "Import Java Class" feature.
    Forms built the following funtion based on that class:
    -- Method: authenticate (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    FUNCTION authenticate(
    obj ORA_JAVA.JOBJECT,
    a0 VARCHAR2,
    a1 VARCHAR2) RETURN VARCHAR2 IS
    BEGIN
    args := JNI.CREATE_ARG_LIST(2);
    JNI.ADD_STRING_ARG(args, a0);
    JNI.ADD_STRING_ARG(args, a1);
    message('here1');
    RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'mypackage/AuthenticatorWebServiceServiceStub',
    'authenticate', '(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;', args);
    message('here2');
    END;
    However when the above code is invoked it shows the message 'here1' on the form and then throws the following exception: java.lang.Exception: java.lang.ClassCastException
    Please suggest me what's wrong with the code. I appreciate your time and help.
    Thanks,
    Scott.

    My primary skill is PL/SQL but the only information I found on Oracle's site to call a web service from a 10g Form was creating a jar file and importing the java class. Since I don't want to ask our corporate IT to make changes on the UNIX box for the jar files I went a different route.
    I use UTL_HTTP.BEGIN_REQUEST to call a URL then load I load the data to a table as a CLOB since we have more than 4000 characters. Now I need to parse the XML and load it into a form. I have never done this so if there is a helpful site please let me know. I have looked at several sites but none do what I want.
    Thanks

  • Quick Migrate SQL 2k To Oracle 10g fails

    Has anyone come across a solution for the following:
    Error ocurred during capture: ORA-24816: Expanded non LONG bind data supplied after actual LONG or LOB column
    When using the quick migrate feature of SQL Developer 2.1.1.64 to import a SQL Server 2000 database into Oracle 10g. I am also using JTDS 1.2.5.
    Any assistance would be appreciated - thanks in advance.
    Edited by: user13281085 on Jun 10, 2010 4:34 PM

    Hi,
    I found a reference to a cause for this error available in My Oracle Support -
    ORA-24816 On Insert Statement (Doc ID 746333.1)
    When attempting to insert data into a table that contains LOBs, received the following error during insert.
    INSERT INTO catentdesc (NAME, LONGDESCRIPTION, XMLDETAIL, AVAILABLE, PUBLISHED) VALUES (?, ?, ?, ?, ?)
    ERROR
    Ora-24816: expanded non long bind data supplied after actual long or lob column
    The table definition is:
    Name Null? Type
    NAME VARCHAR2(128)
    LONGDESCRIPTION CLOB
    XMLDETAIL CLOB
    AVAILABLE NOT NULL NUMBER(38)
    PUBLISHED NOT NULL NUMBER(38)
    The workround was to change the insert -
    INSERT INTO catentdesc (NAME, AVAILABLE, PUBLISHED,
    LONGDESCRIPTION, XMLDETAIL) VALUES (?, ?, ?, ?, ?);
    where the lob columns are positioned at the end of the statement.
    This is fixed in the 11.2 RDBMS.
    ========
    To follow up we would need to know the statement causing the problem and the definition of the SQL*Server table involved.
    Could you do a manual capture and generate the scripts for the Oracle table creates ?
    Regards,
    Mike

  • Migrating Sql server to oracle

    Hi All,
    Where can i get documentation/tools about migrating microsoft sql server database to oracle database.

    Where can i get documentation/tools about migrating
    microsoft sql server database to oracle database.Oracle SQL Developer is very good for start.
    Tool:
    http://www.oracle.com/technology/software/products/sql/index.html
    Doc:
    http://download.oracle.com/docs/cd/E12151_01/doc.150/e12156/toc.htm
    Cheers!

  • Exception when Adding Sql Statements in an Applet.

    Hello,
    When I have added ResultSet statements in the programme, the programme is giving me exceptions at run time as
    java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 2. at java.lang.Throwable.<init>(Compiled Code) at java.lang.Exception.<init>(Compiled Code) at java.sql.SQLException.<init>(Compiled Code) at sun.jdbc.odbc.JdbcOdbc.createSQLException(Compiled Code) at sun.jdbc.odbc.JdbcOdbc.standardError(Compiled Code) at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(Compiled Code) at sun.jdbc.odbc.JdbcOdbcStatement.execute(Compiled Code)* at sun.jdbc.odbc.JdbcOdbcStatement.executeQuery(Compiled Code) at RegistrationApplet.actionPerformed(Compiled Code) at java.awt.Button.processActionEvent(Compiled Code) at java.awt.Button.processEvent(Compiled Code) at java.awt.Component.dispatchEventImpl(Compiled Code) at java.awt.Component.dispatchEvent(Compiled Code) at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled Code) at java.awt.EventDispatchThread.run(Compiled Code) at netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled Code)
    Here is the code that is generating the exception
    try
    URL url1 = new URL("http://www.abc.com/");
    URL url2 = new URL("http://www.abc.com/Re-Register.html");
    ac = getAppletContext();
    ac1 = getAppletContext();
         /* Checking whether the UserID is present or not */
    rs = st.executeQuery("select * from Register where UserID="+userid);
         if(rs.next())
         /* If the UserID is present then close the connection and ask the User to re enter the login Information*/
              rs.close();
              System.out.println("Sorry Please Re-Register");
              ac1.showDocument(url2);
         else
              System.out.println("insert into Register values('"+firstname+"','"+lastname+"','"+address+"','"+country+"',"+phonenumber+",'"+emailid+"','"+userid+"','"+password+"','"+b+"')");
                                  int x = st.executeUpdate("insert into Register values('"+firstname+"','"+lastname+"','"+address+"','"+country+"',"+phonenumber+",'"+emailid+"','"+userid+"','"+password+"','"+b+"')");
                                  System.out.println("inserted" + x);
         ac.showDocument(url1);
    catch(Exception e)
         e.printStackTrace();
    Can any one help me where am I wring? The Exception is in
    rs = st.executeQuery("select * from Register where UserID="+userid);
    Thanks
    Regards
    Uma

    So your query is something like "select * from Register where UserID=uma". This compares the field UserID to the field uma, which almost certainly doesn't work. You want your query to look like "select * from Register where UserID='uma'".

  • Unhandled exception when installing SQL Server 2008 R2

    I tried to download SQL Server 2008 R2 Express it ran for about 30 minutes and then gave a Net Framework error stating that "an Unhandled exception has occurred in your
    application. If you click Continue, the application will ignore this error and attempt to continue....." Once I clicked Continue and it did continue to run and then brought up an info screen with no semblance of the download having worked. I had successfully
    installed SQL Server 2005 Express previously. I uninstalled it along with the Studio Manager. Do I need to uninstall .NET Framework 3.5 SP1 and  .NET Framework 4 Client Profile which are still currently installed before I can install 2008? 

    Sorry I have to reopen this. But I have a similar, but not the same problem.
    I have Windows 7 64bit Ultimate, with VS 2010 professional on my notebook, quad core processor with 8gb of ram and plenty of disk space. I am trying to install SQL Server 2008 R2 Developer edition on my computer. .Net 4.0 was installed, as was .Net 3.5.1
    (from the "Turn Windows Features On/Off" of Programs and Features Control Panel applet).
    When I try to install, I get a Dialog labelled "Microsoft .NET Framework", then the error is "Unhandled exception has occurred in your application. If you click on Continue, the application will ignore this error and attempt to continue. If you click Quit,
    the application will close immediately. <p> An error occurred create the configuration section handler for userSettings/Microsoft.SqlServer. Configuration.LandingPage.Properties.Settings: Could not load file or assembly 'System.Version=4.0.0.0.Culture-neutral.
    PublicKey Token-b77a5c561934e089' or one of its dependencies. The system cannot find the file specified. (C:\users\myname\AppData\Local\Microsoft_Corporation\Landing Page.exe_StrongName_rspccglaxmt4nhlj5z3thycltsvyyx\10.0.0.0\user. config
    I have removed .Net 4, I have removed .Net 3.5.1 and readded it, rebooting after each step.
    any help on this would be appreciated.
    Thanks

  • PCB-I-0556 when migrating from RDB to ORACLE

    Hi Iam triying to compile this Cobol Program using procob 9.2
    But the follwing error occurs
    PCB-I-0556: Unrecoverable error. Fix previous errors and re-precompile
    IDENTIFICATION DIVISION.
    PROGRAM-ID. SQL$LEE_OPE_VAL_PRE.
    AUTHOR. MTY.
    ENVIRONMENT DIVISION.
    DATA DIVISION.
    WORKING-STORAGE SECTION.
    EXEC SQL INCLUDE SQLERR$WS END-EXEC.
    EXEC SQL INCLUDE SQLCA END-EXEC.
    LINKAGE SECTION.
    EXEC SQL INCLUDE SQLVAR$WS END-EXEC.
    EXEC SQL INCLUDE CAVLIB:CAVOPE$REG.TXT END-EXEC.
    PROCEDURE DIVISION USING CAVOPE,SQL-VARIABLES.
    BEGIN-PGM.
    EXEC SQL WHENEVER SQLERROR
    DO PERFORM SQL-ERROR END-EXEC
    EXEC SQL INCLUDE SQLCON$PD END-EXEC
    EXEC SQL
    SELECT
    OPE_MOD,
    OPE_NUM,
    OPE_INT_VEN,
    OPE_INT_COM,
    OPE_VAL,
    OPE_CAN,
    OPE_PRE,
    OPE_EST,
    OPE_HOR,
    OPE_COD_MON,
    OPE_FEC_COL,
    OPE_PRE_CTD,
    OPE_PRE_PZO,
    OPE_FEC_VCT,
    OPE_FEC_FIN_OPE,
    OPE_FEC_PAG_OPE,
    OPE_ETA_OPE,
    OPE_EST_ENT_OPE,
    OPE_USR_ULT_MOD,
    OPE_FEC_ULT_MOD,
    OPE_HOR_ULT_MOD,
    OPE_IND_REP,
    OPE_IND_UNO,
    OPE_FEC_FL1,
    OPE_FEC_FL2,
    OPE_DIA_FL1_FL2,
    OPE_IND_LIQ_VAL,
    OPE_LIQ_FON_CTD,
    OPE_LIQ_FON_PLZ,
    OPE_TIP_LIQ_CTD,
    OPE_TIP_LIQ_PLZ,
    OPE_TIP_HAB_FON,
    OPE_IND_PRO_OPE,
    OPE_IND_PRO_MAS,
    OPE_IND_CMP,
    OPE_IND_OPE_MOD,
    OPE_TIP_CAM,
    OPE_TAS_EFE,
    OPE_FLG_COT,
    OPE_INT_CTD,
    OPE_INT_PLZ,
    OPE_TIP_VEN,
    OPE_FEC_LIM,
    OPE_TAS_CAS,
    OPE_MOD_PAG_INT,
    OPE_FLG_DES,
    OPE_MOD_OPE_ORI,
    OPE_FEC_OPE_ORI,
    OPE_NRO_OPE_ORI,
    OPE_FEC_EMI,
    OPE_FEC_1,
    OPE_IND_1,
    OPE_VAL_NOM
    INTO :CAVOPE
    FROM CAVOPE OPE
    WHERE OPE.OPE_FEC =: OPE_FEC AND
    OPE.OPE_MOD =: OPE_MOD AND
    OPE.OPE_NUM =: OPE_NUM AND
    OPE.OPE_EST <> 9
    ORDER BY OPE.OPE_FEC, OPE.OPE_MOD, OPE.OPE_NUM
    END-EXEC
    EXEC SQL INCLUDE SQLCHEQCLO$PD END-EXEC.

    thank you Mike for your question. I already solved this issue but still wondering why oracle isn't converting the table ddl correctly.
    It was a data setting problem. de decimal in mysql were converted to float. The problem was that default value 0 for example in the mysql table was converteld as Default '0.00' and then I got this error.
    I didn't change the data settings of sql developer but corriged the ddl script and everything worked fine.
    Thank you once again.

  • Exception when opening migrating From Jdev9.02 to 9.03

    I am getting the following exception when migrating my project from Jdeveloper 9.02 to 9.031 version.
    Below is the Exception Stack trace
    java.lang.NullPointerException
         void oracle.ideimpl.scm.impl.BufferWatcher.handleWatchEvent()
              BufferWatcher.java:135
         java.util.List oracle.ideimpl.scm.env.OperationRuntimeImpl.performImpl(oracle.ide.scm.SCMOperation, java.util.List, boolean)
              OperationRuntimeImpl.java:207
         void oracle.ideimpl.scm.impl.ActionController.handleEventImpl(oracle.ide.scm.SCMOperation, oracle.ide.IdeAction, oracle.ide.addin.Context)
              ActionController.java:604
         void oracle.ideimpl.scm.impl.ActionController.access$2000071(oracle.ideimpl.scm.impl.ActionController, oracle.ide.scm.SCMOperation, oracle.ide.IdeAction, oracle.ide.addin.Context)
              ActionController.java:68
         void oracle.ideimpl.scm.impl.ActionController$1.run()
              ActionController.java:181
         void oracle.ideimpl.scm.impl.OperationThread$ThreadRunnable.run()
              OperationThread.java:212
         void oracle.ideimpl.scm.impl.OperationThread$ThreadRunnable.access$2000071(oracle.ideimpl.scm.impl.OperationThread$ThreadRunnable)
              OperationThread.java:184
         void oracle.ideimpl.scm.impl.OperationThread.run()
              OperationThread.java:157

    Hi,
    How did you upgrade JDeveloper? You should install new releases of JDeveloper into a new, empty directory, not over the top of any existing installation. I'm not sure if this is the cause of your problem, but we've seen many other issues in the past due to this.
    Thanks,
    Brian
    JDev Team

  • Migration from SQL server to Oracle 10g

    Hi, I am new here,
    I would like to ask how to use SQL developer MWB to migration SQL Server to Oracle?
    I have go through the doc(s) like: getting start, user's guild, etc. and have following problems
    (1), where should the SQL developer installed? in SQL Server side? Oracle side? or any PC with connection to the databases?
    (2), do I need to get some plug-in(s) for MWB to work? If yes, which plug-in do I need and where are they?
    Thank you very much.

    Hi Chocobo,
    I put together a Quick Guide myself
    http://dermotoneill.blogspot.com/2008/06/sql-developer-migration-workbench-151_11.html
    I updated it to answer your questions.
    Hope that helps
    Dermot.

  • Migration from SQL Server to Oracle issue

    Hi,
    While trying to migrate SQL Server to Oracle via Standard Migration method, I got stuck at the point where it says.....
    To perform online capture, right-click the connection name in the Connections navigator and select Capture database-type (for example, Capture MySQL, Capture Microsoft Access, Capture Microsoft SQL Server, or Capture Sybase Adaptive Server).
    The problem is that, I do not see this menu Capture Microsoft SQL Server. Looks like this is a bug SQL Developer 3, which does not shows option for Capture on right clicking the non-oracle database connection. In earlier release of SQL Developer 2.1.1, I can see the option of Catture...
    Thanks,
    Gyan

    Gyan,
    You are correct. The online help screen says -
    <<<
    Online Capture
    To perform an online capture of the source database, you can have the capture performed automatically as part of the Quick Migrate option, or you can have it performed as a separate operation by right-clicking the connection name in the Connections navigator and selecting Capture product-name (for example, Capture MySQL, Capture Microsoft Access, Capture Microsoft SQL Server, or Capture Sybase Adaptive Server).
    >>>
    but this option does not show up.
    I did some testing and was able to make the capture by following these steps -
    - right click on the SQL*Server database in the Connections panel
    - choose 'Migrate to Oracle'
    - follow the menus until you get to 'Capture' screen where you should have the SQL*Server database to be migrated in the 'Selected Databases' panel
    - then choose 'Finish' from the options at bottom of the screen.
    - you should then have the capture scripts in the directory chosen earlier in the process.
    Regards,
    Mike

Maybe you are looking for