Error creating database diagram

Jdeveloper 10.1.3.04
Oracle database 9.2.0.6.0
I create a database diagram. I go to the database connection and drag a table onto the database diagram. JDeveloper asks me what I want to create. I select 'offline database object' and click 'OK'.
I get a popup that says "The following Foreign Keys were not imported because the Constraint they reference was not accessible:"
"On Tablename:
TABLE1_TABLE2_OID_FK
TABLE1_TABLE3_OID_FK"
The table gets created in the diagram, but the foreign keys don't show up.
Both foreign keys reference the same constraint, but I can't see why the constraint would not be accessible. Has anyone else seen this error message? Can someone tell me what it means?

Actually, I can drag in all the tables in the schema, and I get a number of errors. All errors are the same one I listed, but in reference to different tables and foreign keys.
The interesting thing is that all the foreign keys that are complained about reference the exact same constraint.
Yet, the table and constraint involved seem fine. I am at a loss to understand what is going on.
What else can I tell you to help with figuring this out?

Similar Messages

  • ERROR CREATING DATABASE INSTANCE during the installation

    I try to install NW04 SP16 in my desktop. During the installation, one error occured that stop the installation process.
    I remembered last time I had the similar problem on my laptop. I reinstalled my Windows OS, and tried again, everything goes smooth.
    But now, I cannot reinstall the Windows OS in my client company.
    What seems to be the problem here?
    <i>ERROR      2006-11-03 14:38:49 [iaxxinscbk.cpp:289]
               abortInstallation
    CJS-00030  Assertion failed: in
    function sapdb_db_create(db_nm, db_host, db_ver) {
        var dep_root = sapdb_inst_root(db_nm);
        var sdb_i = new sdbInstance();
        sdb_i.dbName = db_nm;
        sdb_i.dbHost = db_host;
        sdb_i.dbVer = db_ver[0] + "." + db_ver[1];
        sdb_i.ctlUser = sapdb_get_db_user("CONTROL", db_nm, db_host);
        sdb_i.ctlUserPasswd = sapdb_get_db_user_passwd("CONTROL", db_nm, db_host);
        var actorObj = new SdbExtActor();
        actorObj.setSdbInstance(sdb_i);
        actorObj.setDbmCmd("DB_CREATE");
        actorObj.setExecutable(sapdb_dbmcli_path());
        actorObj.setDbRoot(dep_root);
        var rv = actorObj.sessionExecute();
        ASSERT(arguments.callee, rv == "OK", " SDB: ERROR CREATING DATABASE INSTANCE! Check the XCMDOUT.LOG FILE");
        var creation_ok = false;
        var i_size = actorObj.outSize();
        for (var i = 0; i < i_size; i++) {
            var s_line = actorObj.getOutputLine(i);
            if (/OK/.test(s_line)) {
                creation_ok = true;
        ASSERT(arguments.callee, creation_ok, "SDB: ERROR WHILE DB INSTANCE CREATION! CHECK THE XCMDOUT.LOG FILE! ");
    SDB: ERROR CREATING DATABASE INSTANCE! Check the XCMDOUT.LOG FILE</i>
    Thanks for advise.
    Kent

    Hi, I have exactly the same problem. How do you solved this issue?

  • Error creating database users

    Hi,
    I have written a process in my application to create database uses. It's nothing complicated, all it does is
    BEGIN
    EXECUTE IMMEDIATE 'CREATE USER '||:P16_USERNAME||' IDENTIFIED BY '||:P16_PASSWORD;
    END;
    However, when I run this process I get an "ORA-01031: insufficient privileges" error. However, logging into SQL Plus as APEX_PUBLIC_USER (the user in my DADS.conf) I am able to create users with no problem.
    Can anyone please tell me what I'm doing wrong and what I can do to fix it?
    Thank you.
    David.
    PS: I am using Apex 3.1, in case that is relevant.

    You'll want to undo that grant right away.
    Thanks for that, Justin; I didn't know that before. However, the user in the parsing schema field also has permission to create users, so even that doesn't explain why I cannot create users in my application.It may have been granted to your application's parsing schema through a role. You need to grant it directly.
    Scott

  • Error Creating Database link

    Hello Everybody,
    I am getting the following error while creating the database link using the connection information at OWB Client.
    Testing...
    Failed.
    ORA-12514 TNS: no listener
    *Cause:   The connection request could not be completed because the listener is not running
    *Action:   Ensure that the supplied destination address matches one of the addressed used by the listener
    -compare the TNSNAMES.ORA entry with the appropriate LISTENER.ORA file
    Start the listener on the remote machine.
    The version of OWB Client is 10.1.0.2.0.
    When queried at oracle using the userid which i used to login OWB Client i.e. as shown below
    select db_link from all_db_links - the database link is created. But none of the obects are accessable with the db link.
    Note: I am able to create a database link explicity by issuing the command at backend oracle i.e create database link etc. and also able to access the tables.
    Kindly help.
    Thanks
    Prashanth

    Prashanth
    my guess is that you can create the database link, which simply points to the remote instance. however, the problem is on the remote instance.
    As the error message suggest, make sure that the listener is up and running on the remote machine. The link can be created, but if there is no listener on the other side, you will not get any response.

  • Error creating database w/ JServer included

    Hi, i need help creating database that include JServer.
    i use database config wizard, create new database with JServer included, go straight with its default resource setting, then let the wizard do its work. but when it comes reach to JServer installation, it stops with error like "end of file communication channel", or "error occurred at recursive SQL level 1".
    when i try to use another way, through batch file with same configuration, installation stop with this following errors :
    ORA-29541: class SYS.oracle/aurora/rdbms/security/PolicyTableManager could not be resolved
    ORA-29541: class SYS.oracle/aurora/rdbms/security/PolicyTableManager could not be resolved
    Statement processed.
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00607: Internal error occurred while making a change to a data block
    ORA-00600: internal error code, arguments: [kcoapl_blkchk], [1], [10314], [6401]
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00607: Internal error occurred while making a change to a data block
    ORA-00600: internal error code, arguments: [kcoapl_blkchk], [1], [8542], [6110],
    currently my db system consist of
    s/w:
    - win2000 advance server
    - oracle 8.1.7
    h/w:
    pentium 3 800 Mhz
    about 750 MB of memory
    so, can anybody help me here please?
    null

    Done and Done - I am still getting an end-of-file communications error even when I just log into the svrmgrl and issue a 'create or replace java system'. This happens about 30 minutes after I issue the command (p133 w/196mb RAM) - I have disk and cpu activity up until this point.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jesus (John) Salvo Jr. ([email protected]):
    1) Try inceasing the size and adding more redo log groups.
    2) Try also increasing the size of your rollback segments<HR></BLOCKQUOTE>
    null

  • Error in creating database diagram using JDeveloper

    Today I came across this weird error. I made an Identity column of type LONG and I had to create another column in same table with same data type i.e. LONG. I was surprised to see that JDeveloper did not let me create another column with type LONG. Error message was "*Invalid column Course_Parent_Id, the table already contains column Course_Id of type LONG*". Can someone guide me why this error occured and how to cater it.
    Help is appreciated in advance

    Isn't it a strange restriction?? If I need huge range for integral values in my database, it must have provision to do so. Anyways thanks for the reply. I have used NUMBER instead of LONG

  • Error creating database 11g R2, Windows 7

    Hello!
    Sorry, Im newbie in Oracle theme. After installing Oracle 11g R2 and creating Listener, I run Database Configuration Assisistant. On the stage of compliting database creation I got such an error:
    Enterprice manager configuration failed due to the following error:
    Error uploading configuration data to the repository.
    Here is a part of logfile:
    06.11.2012 13:31:26 oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
    CONFIG: Finished executing emreposoutofbox.sql
    06.11.2012 13:31:26 oracle.sysman.emcp.ParamsManager getHost
    CONFIG: Host having instnces running for database orcl : Trifonov
    06.11.2012 13:31:26 oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: REP_DB_RUNNING_HOST value: Trifonov
    06.11.2012 13:31:26 oracle.sysman.emcp.ParamsManager getRepDbPort
    CONFIG: Listener Port: 1521
    06.11.2012 13:31:26 oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
    CONFIG: isLocalConnectionRequired: true
    06.11.2012 13:31:26 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
    06.11.2012 13:31:26 oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine connecting with SID: orcl, oracleHome: F:\app\Trifonov\product\11.2.0\dbhome_1, and user: SYSMAN
    06.11.2012 13:31:26 oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine created successfully and connected
    06.11.2012 13:31:26 oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
    CONFIG: Submitting dbms job: F:\app\Trifonov\product\11.2.0\dbhome_1\sysman\admin\emdrep\sql\core\latest\admin\admin_submit_dbms_jobs.sql
    06.11.2012 13:31:26 oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
    CONFIG: Successfully submitted dbms job
    06.11.2012 13:31:26 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    06.11.2012 13:31:26 oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
    CONFIG: connectDesc : (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=Trifonov)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl.trifonov.local)))
    06.11.2012 13:31:26 oracle.sysman.emcp.ParamsManager getHost
    CONFIG: Host having instnces running for database orcl : Trifonov
    06.11.2012 13:31:26 oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: REP_DB_RUNNING_HOST value: Trifonov
    06.11.2012 13:31:26 oracle.sysman.emcp.ParamsManager getRepDbPort
    CONFIG: Listener Port: 1521
    06.11.2012 13:31:26 oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
    CONFIG: isLocalConnectionRequired: true
    06.11.2012 13:31:26 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
    06.11.2012 13:31:26 oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine connecting with SID: orcl, oracleHome: F:\app\Trifonov\product\11.2.0\dbhome_1, and user: SYSMAN
    06.11.2012 13:31:26 oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine created successfully and connected
    06.11.2012 13:31:26 oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
    CONFIG: Passed listener validation check.Listener is up and running.
    06.11.2012 13:31:26 oracle.sysman.emcp.EMReposConfig unlockMGMTAccount
    CONFIG: Unlocking mgmt view user account
    06.11.2012 13:31:26 oracle.sysman.emcp.EMReposConfig unlockMGMTAccount
    CONFIG: view user sql: declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end;
    06.11.2012 13:31:26 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    06.11.2012 13:31:26 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: CMD /C F:\app\Trifonov\product\11.2.0\dbhome_1\sysman\admin\scripts\emca\emcaDbUtil.bat "F:\app\Trifonov\product\11.2.0\dbhome_1\sysman\admin\scripts;F:\app\Trifonov\product\11.2.0\dbhome_1\bin;" F:/app/Trifonov/product/11.2.0/dbhome_1/perl/bin\perl.exe F:\app\Trifonov\product\11.2.0\dbhome_1\sysman\admin\scripts\emca\emcaDbUtil.pl F:\app\Trifonov\product\11.2.0\dbhome_1 "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=Trifonov)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl.trifonov.local)))" SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; orcl 1 SYSMAN_PWD
    06.11.2012 13:31:28 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 0
    06.11.2012 13:31:28 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Execution of CMD /C F:\app\Trifonov\product\11.2.0\dbhome_1\sysman\admin\scripts\emca\emcaDbUtil.bat "F:\app\Trifonov\product\11.2.0\dbhome_1\sysman\admin\scripts;F:\app\Trifonov\product\11.2.0\dbhome_1\bin;" F:/app/Trifonov/product/11.2.0/dbhome_1/perl/bin\perl.exe F:\app\Trifonov\product\11.2.0\dbhome_1\sysman\admin\scripts\emca\emcaDbUtil.pl F:\app\Trifonov\product\11.2.0\dbhome_1 "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=Trifonov)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl.trifonov.local)))" SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; orcl 1 SYSMAN_PWD completed successfully
    06.11.2012 13:31:28 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Arguments passed F:\app\Trifonov\product\11.2.0\dbhome_1 (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=Trifonov)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl.trifonov.local))) SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; orcl 1 SYSMAN_PWD
    Connecting to database using connect string (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=Trifonov)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl.trifonov.local))) in home F:\app\Trifonov\product\11.2.0\dbhome_1 with user "SYS" role "SYSDBA".
    connected to database.
    sql to execute declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end;
    noOfParams to bind: 1.
    sql execute successfully.
    06.11.2012 13:31:28 oracle.sysman.emcp.EMReposConfig unlockMGMTAccount
    CONFIG: Unlocked mgmt_view account
    06.11.2012 13:31:28 oracle.sysman.emcp.EMReposConfig invoke
    CONFIG: Successfully unlocked mgmt_view account
    06.11.2012 13:31:28 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    06.11.2012 13:31:28 oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
    INFO: Uploading configuration data to EM repository (this may take a while) ...
    06.11.2012 13:31:30 oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
    CONFIG: Error uploading configuration data to the repository
    oracle.sysman.emdrep.config.ConfigurationException: FATAL Configuration Exceptions
         at oracle.sysman.emdrep.config.EMSchemaConfiguration.perform(EMSchemaConfiguration.java:232)
         at oracle.sysman.emcp.EMReposConfig.uploadConfigDataToRepository(EMReposConfig.java:699)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:385)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
         at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:583)
         at oracle.sysman.assistants.dbca.backend.PostDBCreationStep.executeImpl(PostDBCreationStep.java:968)
         at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
         at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
         at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2667)
         at java.lang.Thread.run(Thread.java:595)
    06.11.2012 13:31:30 oracle.sysman.emcp.EMReposConfig invoke
    INFO: Refer to the log file at F:\app\Trifonov\cfgtoollogs\emca\orcl\emca_repos_config_<date>.log for more details.
    06.11.2012 13:31:30 oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Error uploading configuration data to the repository
    06.11.2012 13:31:30 oracle.sysman.emcp.EMConfig perform
    SEVERE: Error uploading configuration data to the repository
    Refer to the log file at F:\app\Trifonov\cfgtoollogs\dbca\orcl\emConfig.log for more details.
    06.11.2012 13:31:30 oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Error uploading configuration data to the repository
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:397)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
         at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:583)
         at oracle.sysman.assistants.dbca.backend.PostDBCreationStep.executeImpl(PostDBCreationStep.java:968)
         at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
         at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
         at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2667)
         at java.lang.Thread.run(Thread.java:595)
    06.11.2012 13:31:30 oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to F:\app\Trifonov\product\11.2.0\dbhome_1\oui
    Thanks in advance for any help you can provide!

    Hi
    at oracle.sysman.emdrep.config.EMSchemaConfiguration.perform(EMSchemaConfiguration.java:232)
    at oracle.sysman.emcp.EMReposConfig.uploadConfigDataToRepository(EMReposConfig.java:699)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:385)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
    at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:583)pelase review:
    "Error Uploading Configuration Data To The Repository" when configuring dbconsole [ID 1233913.1]
    PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
    Regard
    Helios

  • Error creating database

    Hi friends,
    I was creating a database (8.1.7) with the Database Configuration Assistant (Windows XP) and it generated an error in step 2 (creation of DB). The error:
    ORA-12560: TNS error in protocol adapter
    I tried to save in a script the creation process and execute step by step. It fails in:
    CONNECT INTERNAL/oracle.
    Any ideas?
    (I created successfully the ORALCE_HOME and ORACLE_SID variables in windows)
    Thanks
    Jose.

    Dear Jose,
    You may have NON-ALPHANUMERIC CHARACTER (dash, underscore, etc...) on your SID.
    Regards,
    Reza

  • Error Creating Database on Oracle 10g Release 2

    I'm having a problem creating a second database on 10g release 2 on Windows server 2003.
    I have created an initialization parameter file on %Oracle_Home%\database\initDB2.ora
    However, whenever I try to run sql command to create a database with the same name as the db_name parameter in the initialization parameter, it gives an error database name 'DB2' does nto matchthe parameter db_name = dbase
    dbase is the first database that was created automatically when I installed Oracle.
    Any solutions? Why is the server not using the parameter file I have created? Why does it seem to use the initialization parameter file that belongs to the first database?
    Cheers

    'startup nomount' with 'pfile=...initDB2.ora' clause? In this case Oracle chooses a server parameter file (spfile) by default and I still assume ORACLE_SID is set to your first database. So automatically spfile from the first database is used. You should try:
    set ORACLE_SID=DB2
    (now in sqlplus) startup nomount pfile=%ORACLE_HOME$\database\initDB2.ora
    Werner

  • ORA 03113 error creating database

    On Oracle 8.1.7, I've get an ORA 03113 error when creating the database. Pressing ignore leaves it hanging at 90%. I've tried creating db by copying files from CD and creating with custom parameters but same issue. There have been other threads regarding this error but no responses. I couldn't find any logs with specific error messages in my temp directory. Are there any logs I can refer to? How can I resolve this issue? I am on NT 4, SP6. Thanks.

    Hi Tim,
    Have you checked the setup files for the appropriate Net8 driver correctly installed on the server? I'd look at this you not have the correct Oracle networks drivers or a compatibility issue with them. Try reinstalling net8. This is really a Two-Task Common error (TTC) in the net8 stack.
    HTH
    Steve
    On Oracle 8.1.7, I've get an ORA 03113 error when creating the database. Pressing ignore leaves it hanging at 90%. I've tried creating db by copying files from CD and creating with custom parameters but same issue. There have been other threads regarding this error but no responses. I couldn't find any logs with specific error messages in my temp directory. Are there any logs I can refer to? How can I resolve this issue? I am on NT 4, SP6. Thanks.

  • SSMS crash when creating new database diagram

    For several years I have been unable to create database diagrams from within SSMS.  I have tried every combination of VS2005, VS2008, VS2012 and VS2013 with every combination of SQL2005, SQL2008, SQL2012 and SQL2014.
    I have installed, uninstalled, and repaired many dozens of times.  I am currently using VS2013 ultimate with SQL2014 express.
    I have tried every related 'workaround' that I can find on the internet.  Still the problem persists.
    Any help would be deeply appreciated.
    Here are the relevant details with file versions:
    In SSMS, I right-click on a database and choose New Database Diagram.  A Blank diagram window appears with the SSMS error dialog:
    ===================================
    Attempted to read or write protected memory. This is often an indication that other memory is corrupt. (Microsoft.VisualStudio.OLE.Interop)
    Program Location:
       at Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
       at Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
       at Microsoft.Internal.VisualStudio.Shell.Interop.IVsTrackSelectionExPrivate.Register()
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConnectSelectionContext()
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Activate()
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.viewManager_ActiveViewChanged(Object sender, ActiveViewChangedEventArgs e)
       at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
       at Microsoft.VisualStudio.PlatformUI.ExtensionMethods.RaiseEvent[TEventArgs](EventHandler`1 eventHandler, Object source, TEventArgs args)
       at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.SetActiveView(View view, ActivationType type)
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ShowInternal(ShowFlags showFlags)
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.<Show>b__26()
       at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(Func`1 method)
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Show()
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.MarshalingWindowFrame.<Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame.Show>b__7a()
       at Microsoft.VisualStudio.Shell.ThreadHelper.Invoke[TResult](Func`1 method)
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.MarshalingWindowFrame.Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame.Show()
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con, String fileName)
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection
    con, String fileName)
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con, String fileName)
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.CreateDesignerWindow(IManagedConnection mc, DocumentOptions options)
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.InvokeDesigner(IManagedConnection connection)
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.Invoke()
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ToolsMenuItemBase.MenuInvokedHandler(Object sender, EventArgs args)
    Version info taken from Sql Server  Management Studio/Help/About dialog:
    Microsoft SQL Server Management Studio      12.0.2000.8
    Microsoft Analysis Services Client Tools    12.0.2000.8
    Microsoft Data Access Components (MDAC)     6.1.7601.17514
    Microsoft MSXML                             3.0 4.0 5.0 6.0
    Microsoft Internet Explorer                 9.11.9600.17358
    Microsoft .NET Framework                    4.0.30319.18444
    Operating System                            6.1.7601
    DLL versions
    c:\Program Files(x86)\Common Files\microsoft shared\Visual Database Tools
    dsref80.dll  version 12.0.21005.1
    c:\Program Files(x86)\Common Files\microsoft shared\MSDesigners8
    msdds.dll    12.0.21005.1
    msddsf.dll   12.0.21005.1
    msddslm.dll  12.0.21005.1
    msdds.mp.dll 12.0.21005.1
    msddsp.dll   12.0.21005.1
    c:\Program Files(x86)\Common Files\microsoft shared\MSDesigners8\Resources\1033
    msddsui.dll 12.0.21005.1

    Hello,
    There is a Connect item related to this issue. This is the link of that Connect item:
    https://connect.microsoft.com/SQLServer/feedback/details/730985/smss-crashes-when-creating-new-database-diagram
    Try the workarounds posted there (Workarounds section).
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Error while creating database manually

    hi guru's i am getting error while creating database manually
    my sql is SQL>create database lily
      logfile   group 1 ('C:\oracle\product\10.2.0\oradata\lily\redo1.log') size 10M,
                group 2 ('C:\oracle\product\10.2.0\oradata\lily\redo2.log') size 10M,
                group 3 ('C:\oracle\product\10.2.0\oradata\lily\redo3.log') size 10M
      character set          WE8ISO8859P1
      national character set utf8
      datafile 'C:\oracle\product\10.2.0\oradata\lily\system.dbf'
                size 50M
                autoextend on
                next 10M maxsize unlimited
                extent management local
      sysaux datafile 'C:\oracle\product\10.2.0\oradata\lily\sysaux.dbf'
                size 10M
                autoextend on
                next 10M
                maxsize unlimited
      undo tablespace undo
                datafile 'C:\oracle\product\10.2.0\oradata\lily\undo.dbf'
                size 10M
      default temporary tablespace temp
                tempfile 'C:\oracle\product\10.2.0\oradata\lily\temp.dbf'
                size 10M;and i am getting following error
    create database lily
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00200: control file could not be created
    ORA-00202: control file: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\LILY\CONTROL01.CTL'
    ORA-27038: created file already exists
    OSD-04010: <create> option specified, file already exists
    code}
    Edited by: CHETAN YADAV on Jul 19, 2011 6:55 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    create database lily
      logfile   group 1 ('C:\oracle\product\10.2.0\oradata\lily\redo1.log') size 10M,
              group 2 ('C:\oracle\product\10.2.0\oradata\lily\redo2.log') size 10M,
                group 3 ('C:\oracle\product\10.2.0\oradata\lily\redo3.log') size 10M
      datafile 'C:\oracle\product\10.2.0\oradata\lily\system.dbf'  size 150M
    sysaux datafile 'C:\oracle\product\10.2.0\oradata\lily\sysaux.dbf' 150 M
      undo tablespace undo  datafile 'C:\oracle\product\10.2.0\oradata\lily\undo.dbf'  size 10M
    default temporary tablespace temp tempfile 'C:\oracle\product\10.2.0\oradata\lily\temp.dbf' size 10M;
    remove the SQL> from the a.sql script also change the system datafile size to minimum of 100mb size
    ALSO check/change the undotablespace name with your init parameter file it should match as it is in the init parameter file
    Edited by: rajeysh on Jul 19, 2011 6:59 PM

  • How to create one to one relation in database diagram

    Hi!
    I'd like to create a database diagram in JDeveloper 10g. Is there any possibility to create a one-to-one relation between two tables?
    Thanks in advance,
    Jim

    This seems to be the same problem that I am having. I was trying to create a database diagram with tables imported from the database. I have two tables having a 1 --> 0..1 relationship. However when I pulled these tables on to a database diagram , it displayed as a 1 --> * relationship. I also realized that JDeveloper does not allow you to change the cardinality in a database diagram.
    As a workaround, I created a class diagram and named the classes the same as the database tables. Then I used UML connectors to show the relationships with the correct cardinality. Since I did not need to show the column names on the diagram, it was sufficient for my purpose. I hope this bug is fixed soon, otherwise I will have to use some other tool to create database diagrams.

  • Can't create database using ASM (SOLVED)

    Hi all
    I'm trying to use ASM for the first time, on Oracle 10.2.0.1 on Solaris x64.
    I have installed the ASM instance into /opt/oracle/asm/10.2.0 and created disk groups. I have cssd running OK. I am able to start and stop the ASM instance without problems, and I can select from v$asm_diskgroup to confirm that disks are mounted OK.
    I have then installed Oracle EE separately into /opt/oracle/server/10.2.0. I first did a software only install, and now I am trying to create a DB.
    The problems come when I try to use this ASM instance to host a new database. I first tried to use DBCA to create a new database, but on database creation I got the following errors:
    ORA-00200: control file could not be created
    ORA-00202: control file: '+DBLIVE1'
    ORA-17502: ksfdcre:4 Failed to create file +DBLIVE1
    ORA-15001: diskgroup "DBLIVE1" does not exist or is not mounted
    ORA-15055: Message 15055 not found; No message file for product=RDBMS, facility=ORA
    ORA-01031: insufficient privileges
    I then told DBCA just to create the DB creation scripts, and I tried manually running these with SQL*Plus.
    When doing it with SQL*PLus, I initially got the same error as shown above. But then something changed (sorry, not sure what), and now the error I get is:
    CREATE DATABASE "NEONREL1"
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00349: failure obtaining block size for '+DBLIVE1'
    ORA-01031: insufficient privileges
    I've put some debug info below, showing me succesfully connecting to the ASM instance and then attempting to create the DB using the db creation scripts, showing the error at the end. You can see that the oracle OS user is able to connect fine to ASM, then I swithc ORACLE_SID and ORACLE_HOME to the EE install and try to create the DB, at which point it apparently can't connect to ASM any more.
    I've tried the DB creation many times, and in between attempts I completely empty $ORACLE_HOME/admin/<dbname> and delete the files related to the attempted install from $ORACLE_HOME/dbs/ . I've also stopping/starting ASM, rebooting, and I've done the install of ASM and EE a couple of times over in case I made any mistakes in my earlier attempts.
    Any help would be much appreciated!
    Tom
    ##### CHECKING ASM
    oracle@neonrcom-db1:~$ uname -a
    SunOS neonrcom-db1 5.10 Generic_127128-11 i86pc i386 i86pc
    # css is running
    oracle@neonrcom-db1:~$ ps -ef | grep css
    oracle 498 1 0 21:46:40 ? 0:01 /opt/oracle/asm/10.2.0/bin/ocssd.bin
    # listener is running in the ASM instance
    oracle@neonrcom-db1:~$ ps -ef | grep tnsl
    oracle 1332 1 0 21:49:59 ? 0:00 /opt/oracle/asm/10.2.0/bin/tnslsnr LISTENER -inherit
    # ASM is only entry in /var/opt/oracle/oratab
    oracle@neonrcom-db1:~$ grep -v "^#" /var/opt/oracle/oratab
    +ASM:/opt/oracle/asm/10.2.0:N
    # I can connect to ASM fine, and it has diskgroups mounted.
    oracle@neonrcom-db1:~$ export ORACLE_HOME=/opt/oracle/asm/10.2.0
    oracle@neonrcom-db1:~$ export ORACLE_SID='+ASM'
    oracle@neonrcom-db1:~$ sqlplus "sys as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jul 21 20:53:10 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> set line 150
    SQL> select name, block_size, state, type, total_mb, free_mb from v$asm_diskgroup;
    NAME BLOCK_SIZE STATE TYPE TOTAL_MB FREE_MB
    DBARCH1 4096 MOUNTED EXTERN 2096856 2096784
    DBLIVE1 4096 MOUNTED EXTERN 4193904 4193812
    #### Contents of init.ora for new DB
    db_create_file_dest=+DBLIVE1
    db_recovery_file_dest=+DBARCH1
    db_recovery_file_dest_size=2147483648
    ##### DB INSTALLATION ATTEMPT
    oracle@neonrcom-db1:~$ export ORACLE_HOME=/opt/oracle/server/10.2.0
    oracle@neonrcom-db1:~$ export ORACLE_SID='NEONREL1'
    oracle@neonrcom-db1:~$ export PATH=$ORACLE_HOME/bin:$PATH
    oracle@neonrcom-db1:~$ /opt/oracle/server/10.2.0/admin/NEONREL1/scripts/NEONREL1.sh
    You should Add this entry in the /var/opt/oracle/oratab: NEONREL1:/opt/oracle/server/10.2.0:Y
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jul 21 22:10:54 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    specify a password for sys as parameter 1
    Enter value for 1: xxx
    specify a password for system as parameter 2
    Enter value for 2: xxx
    specify a password for sysman as parameter 3
    Enter value for 3: xxx
    specify a password for dbsnmp as parameter 4
    Enter value for 4: xxx
    specify ASM SYS user password as parameter 6
    Enter value for 6: xxx
    Connected to an idle instance.
    SQL> spool /opt/oracle/server/10.2.0/admin/NEONREL1/scripts/CreateDB.log
    SQL> startup nomount pfile="/opt/oracle/server/10.2.0/admin/NEONREL1/scripts/init.ora";
    ORACLE instance started.
    Total System Global Area 1.9294E+10 bytes
    Fixed Size 2054976 bytes
    Variable Size 2264925376 bytes
    Database Buffers 1.7012E+10 bytes
    Redo Buffers 14721024 bytes
    SQL> CREATE DATABASE "NEONREL1"
    2 MAXINSTANCES 8
    3 MAXLOGHISTORY 1
    4 MAXLOGFILES 16
    5 MAXLOGMEMBERS 3
    6 MAXDATAFILES 100
    7 DATAFILE SIZE 300M AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    8 EXTENT MANAGEMENT LOCAL
    9 SYSAUX DATAFILE SIZE 120M AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    10 SMALLFILE DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE SIZE 20M AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED
    11 SMALLFILE UNDO TABLESPACE "UNDOTBS1" DATAFILE SIZE 200M AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
    12 CHARACTER SET AL32UTF8
    13 NATIONAL CHARACTER SET UTF8
    14 LOGFILE GROUP 1 SIZE 51200K,
    15 GROUP 2 SIZE 51200K,
    16 GROUP 3 SIZE 51200K
    17 USER SYS IDENTIFIED BY "&&sysPassword" USER SYSTEM IDENTIFIED BY "&&systemPassword";
    CREATE DATABASE "NEONREL1"
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00349: failure obtaining block size for '+DBLIVE1'
    ORA-01031: insufficient privileges
    Message was edited by:
    tjobbins

    Update: I've worked out the difference between the two sets of errors I get.
    The basic error is this:
    ORA-00200: control file could not be created
    ORA-00202: control file: '+DBLIVE1'
    ORA-17502: ksfdcre:4 Failed to create file +DBLIVE1
    ORA-15001: diskgroup "DBLIVE1" does not exist or is not mounted
    ORA-15055: Message 15055 not found; No message file for product=RDBMS, facility=ORA
    ORA-01031: insufficient privileges
    However if my init.ora contains the line:
    control_files=/opt/oracle/server/10.2.0/dbs/cntrlNEONREL1.dbf
    then I instead get the second error:
    CREATE DATABASE "NEONREL1"
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00349: failure obtaining block size for '+DBLIVE1'
    ORA-01031: insufficient privileges
    So basically these must be the same error, just in the second case I'm not trying to put the control file on the ASM so it fails at a different point.
    But both errors must be because of the same cause, I suppose.

  • How to create Database link

    Hi all,
    While trying to create a database link i am getting the following error:
    Create Database Link Failed.
    ORA-01031: insufficient privileges
    Could you please tell me how to create a database link.
    Thanks
    Grishma

    Hi Grishma,
    Login as DBA (SYSTEM or SYS for ex.) in SQL*Plus and run this command:
    SELECT *
    FROM dba_sys_privs
    WHERE grantee = 'USERNAME'
    AND PRIVILEGE = 'CREATE DATABASE LINK'
    Change the USERNAME by the USER you're trying to create the database link from. (CAPITALS!)
    Dimitri

Maybe you are looking for

  • Is there any way to stop running apps from showing in dock

    Is there any way to stop running applications from showing in the dock

  • Acrobat won't create bookmarks from level three headings in Word 2003 doc

    I'm trying to convert a series of 2003 word docs, each with three levels of headings to .pdf using Acrobat but neither Acrobat nor Word 2010 (which a friend tried for me), could produce bookmarks for heading 3.  Headings 1 and 2 are main standalone h

  • Cannot open ppt error

    Hi - I am using Adobe Captivate 3 to import a PowerPoint file and I get the error "cannot open PPT" The PowerPoint file is saved as a Powerpoint 2003 file.  I have used Captivate before, about a year or so ago, and never had this problem. Any thought

  • Different Document Type for a standard transaction

    Dear all, Iu2019m facing the following problem: I wish to set a different Document Type for a standard transaction. In the specific, I need a different DT for Reverse Document (T-code FB08) instead of standard SA. Is that possible? Thanks in advance

  • IPTComm 2008 Call for Demos

    Please find below the "Call for Demos" for the IPTComm 2008 http://iptcomm.org Heidelberg, Germany, July 1-2 2008. Please feel free to circulate this call for demos to interested colleagues, mailing lists, forums and blogs. ==========================