Database name is missing a component....

I'm doing a 3 server install on Windows 2000 Professional.
While installing the infrastructure, while it tries to create the database I get the warning "database name is missing a component". I'm never asked to enter a database name, so I'm not sure where I'm going wrong.
The infrastructure hostname is "in", it's in workgroup "workgroup", and the fully qualified hostname is "in.sdia.com". It's IP address is 192.168.45.10. In the hosts file I added the following line after the default localhost entry:
192.168.45.10 in.sdia.com in
In the infrastructure install my instance name is "instance1".
I can finish the infrastructure install (and it reports it as successful), but I then get the same error doing the information store install, after which it fails on the database creation.
Any ideas?

How do you double quote the db name in a single box installation on Windows ? In a single box inst, you do not get the chance to specify the name that is causing the trouble, namely iasd.domainname.in.something. On windows, I tried manually running the same command that, according to logs, was failing, but could not get this to work. I tried all alternatives I could think of (-gdbname iasdb.aaa.in.xxxx.fi / "iasdb.aaa.in.xxxx.fi" / 'iasdb.aaa.in.xxxx.fi' / ""iasdb.aaa.in.xxxx.fi"" / '"iasdb.aaa.in.xxxx.fi"' / "'iasdb.aaa.in.xxxx.fi'") but none of them works. Some quickly spit out an error about an error in the name, while some fail only later with ORA-02084. What should I do ?

Similar Messages

  • Ora-02084 : database name is missing a component

    hai all,
    i am a newbee to oracle. i am struggling to create a database, any help would be highly appreciated. i have installed Oracle 9i on a RH8.0 system. but while creating database through DBCA, i am getting the error message, "ORA -02084:Oracle database name is missing a component". i ahve gone through the documentation and found that probelm is with ORACLE_SID. i have set all the environment variables(including ORACLE_SID, DB_NAME AND DB_DOMAIN) according to the documentaion and created swap files, temporary space etc.i have set all the environment variables in .bash_profile in ORACLE_HOME.
    i have stopped DBCA and gone through the files. i could see that the database is actually created, with initXXX.ora.441414312 file. but once when i started the database with nomount and checked, i could find the control files missing.
    thanks in advance,
    ramesh.

    Probably you are missing value for db_name (or missing parameter db_name) in parameter file.
    Note you can still create db manualy (without DBCA).

  • ORA-02084: datbase name is missing a component

    Hello,
    I am attemtping to configure OMS using EMCA on Windows XP. I get the following errors:
    ORA-02084: datbase name is missing a component
    Creating local database with SID "OEMREP"...
    C:\oracle\ora92\bin\launch.exe C:\oracle\ora92\assistants\dbca dbca.cl -progress_only -emca_internal -createDatabase -templateName Transaction_Processing.dbc -gdbName OEMREP.hsd1.va.comcast.net. -sid OEMREP
    Failed to create local database.Processing failed.
    Question is what component is the database missing and how do I resolve it?
    Thanks.

    Try this one:
    CREATE DATABASE LINK "SYNO.DELTEMIPPM.HUTCH.IN" connect to
    STRMADMIN identified by STRMADMIN using 'SYNO.DELTEMIPPM.HUTCH.IN';
    and then check whether the delink is working by the below mentioned command:
    select * from tab@"SYNO.DELTEMIPPM.HUTCH.IN";
    Regards,
    Abhirup.
    Kolkata, India.

  • ALERT: DATABASE NAME :EXTFILE: Missing or unreadable external file: DATAPU

    Hi,
    We are getting alerts
    ALERT:<DATABASE NAME>:EXTFILE: Missing or unreadable external file: <DATAPUMP DIRECTORY>bogus.dat
    and this file also does not exists in data pump directory.
    Pls sugggest any solution to this.
    Thanks,
    Taruna

    'bogus.dat' is internally used by datapump, so see the message as an internal error, which should be reported to Oracle support.
    External Tables

  • Connect to database failed,rc=-10709 Connection failed (RTE:Database name)

    Hi gurues, I'm facing this issue with an IDES on MaxDB with Windows.
    System was up and running until someone tries to make an upgrade of the kernel. Since then we can not start our system. we tried to rollback kernel release to the previous one but it didn't work.
    When we start our system from MMC console we can see all process in green but work processes are in RUN state and after a few minutes they goes down with the following error
    trc file: "dev_w0", trc level: 1, release: "701"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, MJ

    B Mon May 16 23:57:31 2011
    B  create_con (con_name=R/3)
    B  Loading DB library '
    sirillium1\sapmnt\SED\SYS\exe\uc\NTAMD64\dbsdbslib.dll' ...
    B  Library '
    sirillium1\sapmnt\SED\SYS\exe\uc\NTAMD64\dbsdbslib.dll' loaded
    B  Version of '
    sirillium1\sapmnt\SED\SYS\exe\uc\NTAMD64\dbsdbslib.dll' is "700.08", patchlevel (0.24)
    B  New connection 0 created
    M sysno      00
    M sid        SED
    M systemid   562 (PC with Windows NT)
    M relno      7010
    M patchlevel 0
    M patchno    32
    M intno      20020600
    M make:      multithreaded, Unicode, 64 bit, optimized
    M pid        212
    M
    M  kernel runs with dp version 241000(ext=110000) (@(#) DPLIB-INT-VERSION-241000-UC)
    M  length of sys_adm_ext is 576 bytes
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 212) [dpxxdisp.c   1348]
    I  MtxInit: 30000 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
    M  DpShMCreate: sizeof(wp_adm)          22784     (1752)
    M  DpShMCreate: sizeof(tm_adm)          5912704     (29416)
    M  DpShMCreate: sizeof(wp_ca_adm)          24064     (80)
    M  DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    M  DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552064/552080
    M  DpShMCreate: sizeof(comm_adm)          552080     (1088)
    M  DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    M  DpShMCreate: sizeof(slock_adm)          0     (104)
    M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M  DpShMCreate: sizeof(file_adm)          0     (72)
    M  DpShMCreate: sizeof(vmc_adm)          0     (1864)
    M  DpShMCreate: sizeof(wall_adm)          (41664/36752/64/192)
    M  DpShMCreate: sizeof(gw_adm)     48
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 000000000B2C0050, size: 6607136)
    M  DpShMCreate: allocated sys_adm at 000000000B2C0050
    M  DpShMCreate: allocated wp_adm at 000000000B2C2270
    M  DpShMCreate: allocated tm_adm_list at 000000000B2C7B70
    M  DpShMCreate: allocated tm_adm at 000000000B2C7BD0
    M  DpShMCreate: allocated wp_ca_adm at 000000000B86B450
    M  DpShMCreate: allocated appc_ca_adm at 000000000B871250
    M  DpShMCreate: allocated comm_adm at 000000000B873190
    M  DpShMCreate: system runs without slock table
    M  DpShMCreate: system runs without file table
    M  DpShMCreate: allocated vmc_adm_list at 000000000B8F9E20
    M  DpShMCreate: allocated gw_adm at 000000000B8F9EA0
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 000000000B8F9ED0
    M  DpShMCreate: allocated wall_adm at 000000000B8F9EE0

    M Mon May 16 23:57:32 2011
    M  rdisp/queue_size_check_value :  -> off
    M  ThTaskStatus: rdisp/reset_online_during_debug 0
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation view
    X  <EsNT> Using memory model view.
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.
    M  ThInit: running on host sirillium1

    M Mon May 16 23:57:33 2011
    M  calling db_connect ...

    C  DBSDBSLIB : version 700.08, patch 0.024 (Make PL 0.32)
    C  MAXDB shared library (dbsdbslib) patchlevels (last 10)
    C    (0.024) Default value for max. input variables is 2000 (note 655018)
    C    (0.024) Profile parameter to define max. input variables (note 655018)
    C    (0.024) Switch SQLMODE after CREATE INDEX SERIAL (note 1267841)
    C    (0.024) Input parameters for SQL statements increased (note 655018)
    C    (0.018) Create index serial for MaxDB 7.6 (note 1267841)
    C    (0.018) More trace in case of packed to string conversion error (note 1262799)
    C    (0.016) R3trans export aborts with signal 6 (note 1262245)
    C    (0.009) IA64 alignment errors (note 1245982)
    C    (0.007) Support DB-Type 'SAP DB' by UPDSTAT (note 1225668)


    C  Loading SQLDBC client runtime ...
    C  SQLDBC SDK Version : SQLDBC.H  7.6.0    BUILD 007-123-091-175
    C  SQLDBC Library Version : libSQLDBC 7.6.5    BUILD 015-123-202-938
    C  SQLDBC client runtime is MaxDB 7.6.5.015 CL 202938
    C  SQLDBC supports new DECIMAL interface : 0
    C  SQLDBC supports VARIABLE INPUT data   : 1
    C  SQLDBC supports keepAlive indicator   : 0
    C  INFO : SQLOPT= -I 0 -t 0 -S SAPR3
    C  Try to connect (DEFAULT) on connection 0 ...
    C  *** ERROR => Connect to database failed, rc = -10709 (Connection failed (RTE:Database name is missing))
    [dbsdbsql.cpp 137]
    B  ***LOG BV3=> severe db error -10709    ; work process is stopped [dbsh#2 @ 1203] [dbsh    1203 ]
    B  ***LOG BY2=> sql error -10709 performing CON [dblink#3 @ 431] [dblink  0431 ]
    B  ***LOG BY0=> Connection failed (RTE:Database name is missing) [dblink#3 @ 431] [dblink  0431 ]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c   1449]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10563]

    M  Info for wp 0

    M    pid = 212
    M    severity = 0
    M    status = 0
    M    stat = WP_RUN
    M    waiting_for = NO_WAITING
    M    reqtype = DP_RQ_DIAWP
    M    act_reqtype = NO_REQTYPE
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source =
    M    last_tid = 0
    M    last_mode = 0
    M    semaphore = 0
    M    act_cs_count = 0
    M    csTrack = 0
    M    csTrackRwExcl = 0
    M    csTrackRwShrd = 0
    M    mode_cleaned_counter = 0
    M    control_flag = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M    attachedVm = no VM

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server sirillium1_SED_00 on host sirillium1 (wp 0)
    M  *  ERROR       ThInit: db_connect
    M  *
    M  *  TIME        Mon May 16 23:57:33 2011
    M  *  RELEASE     701
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        10783
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >BtcCallLgCl< for event BEFORE_DUMP
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   723]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  261]
    M  Entering ThSetStatError
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 212) [dpnttool.c   334]
    We check several entries on this SDN site, and look for a lot of notes on the marketplace, and they always are related to default user in xuser files, but our xuser list output is ok. We have a DEFAULT connection to SAPSID user, a DBM connection to CONTROL user and a USERDBA connection.
    XUSER Entry  1
    Key         :DEFAULT          
    Username    :SAPSID                                                         
    UsernameUCS2:S.A.P.S.E.D. . . . . . . . . . . . . . . . . . . . . . . . . . .
    Password    :?????????
    PasswordUCS2:?????????
    Dbname      :SID              
    Nodename    :server1                                                     
    Sqlmode     :SAPR3  
    Cachelimit  :-1
    Timeout    
    Isolation  
    Charset     :<unspecified>    
    XUSER Entry  2
    Key         :c                
    Username    :CONTROL                                                        
    UsernameUCS2:C.O.N.T.R.O.L. . . . . . . . . . . . . . . . . . . . . . . . . .
    Password    :?????????
    PasswordUCS2:?????????
    Dbname      :SID              
    Nodename    :server1                                                     
    Sqlmode     :INTERNAL
    Cachelimit  :-1
    Timeout     :-1
    Isolation   :-1
    Charset     :<unspecified>    
    XUSER Entry  3
    Key         :c_J2EE           
    Username    :CONTROL                                                        
    UsernameUCS2:C.O.N.T.R.O.L. . . . . . . . . . . . . . . . . . . . . . . . . .
    Password    :?????????
    PasswordUCS2:?????????
    Dbname      :SID              
    Nodename    :server1                                                     
    Sqlmode     :SAPR3  
    Cachelimit  :-1
    Timeout    
    Isolation  
    Charset     :<unspecified>    
    XUSER Entry  4
    Key         :w                
    Username    :SUPERDBA                                                       
    UsernameUCS2:S.U.P.E.R.D.B.A. . . . . . . . . . . . . . . . . . . . . . . . .
    Password    :?????????
    PasswordUCS2:?????????
    Dbname      :SID              
    Nodename    :server1                                                     
    Sqlmode     :INTERNAL
    Cachelimit  :-1
    Timeout     :-1
    Isolation   :-1
    Charset     :<unspecified>    
    Any idea? we are out of ideas at this moment.
    Regards
    Edited by: Gustavo Goicochea on May 17, 2011 6:37 PM

    Natalia, this system was not resored nor copied, it was up and running before kernel update. We did some of the tests you said and someothers, here are some outputs.
    We update kernel to release 142
    R3trans -d and -x exit with (all with user SIDADM)
    SVERS table does exist and belongs to SAPSID
    dbmcli on SID>sql_execute select * from domain.tables where tablename='SVERS'
    OK
    END
    'SAPSID';'SAPSID';'SVERS';'';'TABLE';'TABLE';'20100406';'00054637';'20100406';'00054637';'20100406';'00054638';'NO';(null);20000;(null);x'0000000000004842';'NO';'NO';'YES';'NO';(null)
    Why it still says that SVERS table does not exist and SQL error 942?
    C  Now I'm connected to SAP DB
    C  00: server1-SID, since=20110518015619, ABAP= <unknown> (0)
    B  Connection 0 opened (DBSL handle 0)
    C  *** ERROR =>   prepare() of C_0000, rc=1, rcSQL=-942 (POS(28) Unknown table name:SVERS) [
    dbsdbsql.cpp 1604]
    C  *** ERROR => SQL PREPARE on connection 0, rc=-942 (POS(28) Unknown table name:SVERS) [dbslsdb.cpp  7253]
    C sc_p=000000000CFAECC0,no=0,idc_p=0000000000000000,con=0,act=0,slen=34,smax=256,#vars=0,stmt=0000000002EA0AF0,table=SVERS                        
    C  SELECT VERSION INTO ? FROM SVERS  ;
    B  ***LOG BZA=> table SVERS      does not exist on database            [dblink#4 @ 1301] [dblink  1301 ]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 004096) [thxxhead.c   1515]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10824]

    Users seem to be ok
    dbmcli on SID>sql_execute SELECT username, usermode FROM users
    OK
    END
    'CONTROL';'ADMIN'
    'SUPERDBA';'SYSDBA'
    'SAPSID';'DBA'
    'SAPR3';'DBA'
    User SAPR3 does not have anything on database
    dbmcli on SID>sql_execute select * from domain.tables where owner='SAPR3'
    ERR
    -24988,ERR_SQL: SQL error
    100,Row not found
    Any idea?
    regards

  • ORA-01506: missing or illegal database name

    Hi Gurus/Experts,
    I am implementing  dataguard for digaster consideration for my primary database mydb. I have changed some initilization parameter for this implementation and while doing this when I changed a paraneter like below:
    SQL> alter system set db_file_name_convert="'/u01/app/oracle/oradata/mydb_un', '/u01/app/oracle/oradata/orcl_un'" scope=spfile;
    System altered.
    Because this parameter is static so I have restart my database with startup force option. But I am getting belwo error.:
    SQL> startup force
    ORA-01506: missing or illegal database name
    Below is my entries in $ORACLE_HOME/dbs location :
    hc_mydb.dat  initmydb.ora  init.ora  lkMYDB  lkMYDB_UN  orapwmydb  spfilemydb.ora
    And below is my current pfile entry:
    [oracle@localhost dbs]$ more initmydb.ora
    mydb.__db_cache_size=67108864
    mydb.__java_pool_size=4194304
    mydb.__large_pool_size=4194304
    mydb.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
    mydb.__pga_aggregate_target=171966464
    mydb.__sga_target=243269632
    mydb.__shared_io_pool_size=0
    mydb.__shared_pool_size=155189248
    mydb.__streams_pool_size=4194304
    *.audit_file_dest='/u01/app/oracle/admin/mydb/adump'
    *.audit_trail='db'
    *.compatible='11.2.0.0.0'
    *.control_files='/u01/app/oracle/oradata/mydb/control01.ctl','/u01/app/oracle/flash_recovery_area/mydb/control02.ctl'
    *.db_block_size=8192
    *.db_domain=''
    *.db_name='mydb'
    *.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
    *.db_recovery_file_dest_size=4294967296
    *.db_unique_name='mydb_un'
    *.diagnostic_dest='/u01/app/oracle'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=mydbXDB)'
    *.log_archive_config='DG_CONFIG=(mydb_un,orcl_un)'
    *.log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST REOPEN=8 MAX_FAILURE=4'
    *.log_archive_dest_2='SERVICE=orcl delay=10 db_unique_name=orcl_un'
    *.memory_target=413138944
    *.open_cursors=300
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.undo_tablespace='UNDOTBS1'
    Please help me to get it relsove and let me know what wrong I did.
    Regards,
    Michel

    Hi Mseberg,
    As of now I do not have standby INIT file and one which INIT file which I am showing here that's for my primary database i.e mydb. I would like to let you know I am planning to implement dataguard where mydb would be my primary database ad orcl would be my stabd by database. Before creating standby database I am preparing all initilization parameter in my primary database.
    I have started my database with SYSDBA but still getting the same error. Please check below:
    [oracle@localhost ~]$ . oraenv
    ORACLE_SID = [oracle] ? mydb
    The Oracle base for ORACLE_HOME=/u01/home/oracle/product/11.2.0/db_1 is /u01/app/oracle
    [oracle@localhost ~]$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Sun Jan 5 00:15:12 2014
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup
    ORA-01506: missing or illegal database name
    Regards,
    Michel

  • Entry for host name is missing or empty (Secure Store key: admin/host/).

    Hi All,
    I am in the process of installing EP7 on SLES9 and MaxDB 7.6 on a clustered HA environment where the SCS, DB and JC components are installed under and referenced by their virtual hostname (eg. sapinst SAPINST_USE_HOSTNAME <virt name>).
    The SCS instance is installed, the Database Instance is installed and I'm currently in the process of Installing the JC and Deploying the EP packages. 
    During the installation, SDM is put into standalone mode and sapinst tries to deploy the package EPBC06_0.SCA where it fails and the sdm_server.err shows :
    "com.sap.sdm.serverext.servertype.inqmy.TargetEngineConfigurationException: Cannot retrieve Engine logon data from Secure Store: Entry for host name is missing or empty (Secure Store key: admin/host/).        at com.sap.sdm.serverext.servertype.inqmy.InQMyTargetSystemConfigurator.getLoginDataFromSecStoreInQMyTargetSystemConfigurator.java:286)        at com.sap.sdm.serverext.servertype.inqmy.InQMyTargetSystemConfigurator.getEngineLoginDataInQMyTargetSystemConfigurator.java:197)        at com.sap.sdm.serverext.servertype.inqmy.EngineStateServiceImpl.determineCurrentEngineStateEngineStateServiceImpl.java:53)        at com.sap.sdm.app.proc.deployment.states.State.determineJ2EEEngineState(State.java:97)        at com.sap.sdm.app.proc.deployment.states.StateBeforeFirstDeployment.getJ2EEEngineStateChangeDescriptionStateBeforeFirstDeployment.java:75)        at com.sap.sdm.app.view.proc.deployment.mapper.StateMapper.map(StateMapper.java:56)        at com.sap.sdm.app.view.proc.deployment.mapper.FlowMapper.map(FlowMapper.java:28)        at com.sap.sdm.app.view.session.AppViewUpdater.updateAppView(AppViewUpdater.java:22)        at com.sap.sdm.app.view.session.AppViewUpdater.sessionStateChanged(AppViewUpdater.java:18)        at com.sap.sdm.app.proc.deployment.impl.SessionStateObserversImpl.notifySessionStateChangedSessionStateObserversImpl.java:46)        at com.sap.sdm.app.proc.deployment.states.InstContext.processEventServerSide(InstContext.java:85)        at com.sap.sdm.app.proc.deployment.states.InstContext.processEvent(InstContext.java:59)        at com.sap.sdm.app.view.controllers.DeployEventProcessor.processEvent(DeployEventProcessor.java:11)        at com.sap.sdm.client_server.deployserver.DeployCmdProcessor.processEvent(DeployCmdProcessor.java:264)        at com.sap.sdm.client_server.deployserver.DeployCmdProcessor.process(DeployCmdProcessor.java:108)        at com.sap.sdm.gui.server.GuiAdminRoleCmdProcessor.processGuiAdminRoleCmdProcessor.java:72)        at com.sap.sdm.is.cs.session.server.SessionCmdProcessor.process(SessionCmdProcessor.java:67)        at com.sap.sdm.is.cs.cmd.server.CmdServer.execCommandCmdServer.java:76)        at com.sap.sdm.client_server.launch.ServerLauncher$ConnectionHandlerImpl.handle(ServerLauncher.java:286)        at com.sap.sdm.is.cs.ncserver.NetCommServer.serveNetCommServer.java:43)        at com.sap.sdm.is.cs.ncwrapper.impl.ServiceWrapper.serveServiceWrapper.java:39)        at com.sap.bc.cts.tp.net.Worker.run(Worker.java:50)       at java.lang.Thread.run(Thread.java:816)"
    The same problem occurs if I try to deploy this package or any other package using SDM in standalone or integrated mode. 
    configtool -> Secure Store -> admin/host/<SID> is the virtual hostname of the JC instance.
    I've tried the following to no avail:
    - Changed configtool -> Secure Store -> admin/host/<SID> to be the physical hostname of the box.
    - Changed configtool -> Server -> Dispatcher -> Service -> P4 -> bindhost (from 0.0.0.0 to JC virt IP).
    - Changed the <Host> entry in sdmrepository.sdc from <phys hostname> to <jc virt hostname>.
    The SAPLOCALHOST, SAPGLOBALHOST all seem to be set correctly in the SAP profiles.
    Has anyone had this issue?  If so, what do I need to check/change?  Any ideas?
    Notice the message does not reference the <SID> in "admin/host", could this be related to the issue?  If so, what can cause this?
    TIA
    Anthony

    Hi All,
    Just an update, I was able to get around my problems by patching the 2004s media from sp6 to sp8, uninstalling my scs, and database and re-installing from the patched media.

  • Changing the Database Name

    Hi Gurus
    I am using oracle 10g on Windows platform. The issue is I need to change my database name. When i gone through the Oracle docs I found there is an utility called 'DBNEWID' . But not getting a clear cut idea. Since my DB is So critical anybody please tell me the exact steps to change the DB-Name.
    Thanks & Cheers
    Antony

    Changing Only the Database Name
    C:\>SQLPLUS/NOLOG
    SQL*Plus: Release 10.1.0.2.0 - Production on Tue Aug 22 10:54:38 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> CONN / AS SYSDBA
    Connected.
    SQL> SELECT DBID,NAME FROM V$DATABASE;
    DBID NAME
    1230404613 DB01
    SQL> SHUTDOWN IMMEDIATE;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    Must be : Take Whole Database Backup (Oracle Recommended)
    Otherwise u lost ur database.
    SQL> STARTUP MOUNT;
    ORACLE instance started.
    Total System Global Area 171966464 bytes
    Fixed Size 787988 bytes
    Variable Size 145488364 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 524288 bytes
    Database mounted.
    --Go Command Prompt
    DBNEWID UTILITY >>>NID ( OS Path : d:\oracle\product\10.1.0\db_1\bin\nid)
    C:\>SET ORACLE_SID=DB01
    C:\>NID TARGET=SYS/ORACLE@DB01 DBNAME=ORADB01 SETNAME=YES
    DBNEWID: Release 10.1.0.2.0 - Production
    Copyright (c) 2001, 2004, Oracle. All rights reserved.
    Connected to database DB01 (DBID=1230404613)
    Connected to server version 10.1.0
    Control Files in database:
    D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL01.CTL
    D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL02.CTL
    D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL03.CTL
    Change database name of database DB01 to ORADB01? (Y/[N]) => Y
    Proceeding with operation
    Changing database name from DB01 to ORADB01
    Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL01.CTL - modified
    Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL02.CTL - modified
    Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL03.CTL - modified
    Datafile D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\SYSTEM01.DBF - wrote new name
    Datafile D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\UNDOTBS01.DBF - wrote new nam
    e
    Datafile D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\SYSAUX01.DBF - wrote new name
    Datafile D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\USERS01.DBF - wrote new name
    Datafile D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\TEMP01.DBF - wrote new name
    Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL01.CTL - wrote new
    name
    Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL02.CTL - wrote new
    name
    Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL03.CTL - wrote new
    name
    Instance shut down
    Database name changed to ORADB01.
    Modify parameter file and generate a new password file before restarting.
    Succesfully changed database name.
    DBNEWID - Completed succesfully.
    Set the DB_NAME initialization parameter in the initialization parameter file (PFILE) to the new database name.
    Note:
    The DBNEWID utility does not change the server parameter file (SPFILE). Therefore, if you use SPFILE to start your Oracle database, you must re-create the initialization parameter file from the server parameter file, remove the server parameter file, change the DB_NAME in the initialization parameter file, and then re-create the server parameter file.
    ---Create New Password File
    cmd>orapwd file=d:\oracle\product\10.1.0\db_1\database\pwddb01.ora password=oracle entries=5
    SQL> STARTUP PFILE=D:\Oracle\product\10.1.0\Db_1\database\initdb01.ora
    ORACLE instance started.
    Total System Global Area 171966464 bytes
    Fixed Size 787988 bytes
    Variable Size 145488364 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 524288 bytes
    Database mounted.
    Database opened.
    SQL> select dbid,name from v$database;
    DBID NAME
    1230404613 ORADB01
    Note:
    After Change DB Name Take Whole Database bkp.
    Note: If i am missing some step or write wrong step plz. correct me.
    Before doing this refer documentation.
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14215/dbnewid.htm
    thanx
    Message was edited by:
    user526020
    null

  • Help for: ORA-01103: database name PRIMARY in control file is not STANDBY

    Hello all, this will be my first post to the support forum. I'm an associate dba with just 6 months on the job, so if I've forgotten something or not given some infromation that is needed please let me know.
    I've also combed the forums/internet, and some of the answers haven't helped. The Oracle Document ORA-1103 While Mounting the Database Using PFILE [ID 237073.1] says my init.ora file is corrupted, but creating a new init.ora file from the spfile does not help. Neither does just starting from the spfile. I have older copies of the init.ora file and the spfiles that the database was running on previously, so I believe they are good.
    This standby NIRNASD1 has existed previously, I had to refresh the primary NIKNASD2, and then re-instantiate NIRNASD1 after the refresh is complete.
    My env is set correctly, and my ORACLE_SID has been exported to NIRNASD1
    NIKNASD2 = Primary Database
    NIRNASD1 = Secondary/Standby Database
    Goal: Creation of Logical Standby NIRNASD1 after creating Physical Standby from NIKNASD2
    My database versions are 10.2.0.4.0, and the databases are on a Unix server. Both databases are located on separate servers.
    Steps that I have taken:
    I used RMAN to backup our primary database to the staging area:
    $ rman target /
    run {
    backup database
    format '/datatransa/dg_stage/%U'
    include current controlfile for standby;
    sql "alter system archive log current";
    backup archivelog all format '/datatransa/dg_stage/%U';
    I used RMAN to Create Secondary Database utilizing RMAN DUPLICATE command.
    RMAN> run {
    2> allocate auxiliary channel auxdisk device type disk;     
    3> duplicate target database for standby NOFILENAMECHECK;
    4> }
    On Secondary database I started Managed Recovery mode
    SQL> shutdown immediate;
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    (I used pfile here, thinking that I needed to mount the database to the pfile so that the database would see the change in the dataguard parameters in the init.ora file, the change from logical to physical- I commeneted out the logical and uncommented the physical line)
    # Dataguard Parameters
    For logical standby, change db_name to name of standby database.
    db_name=NIKNASD2 ### for physical, db_name is same as primary
    #db_name=NIRNASD1 ### for logical, db_name is same as unique_name
    SQL> STARTUP MOUNT PFILE = /oraa/app/oracle/product/1020/admin/NIRNASD1/pfile/initNIRNASD1.ora;
    ORACLE instance started.
    Total System Global Area 1577058304 bytes
    Fixed Size 2084368 bytes
    Variable Size 385876464 bytes
    Database Buffers 1174405120 bytes
    Redo Buffers 14692352 bytes
    Database mounted.
    SQL> ALTER DATABASE recover managed standby database using current logfile disconnect;
    I then verified the Data Guard Configuration by using “alter system archive log current;” on the primary database and watching the sequence number change in the secondary database.
    I made sure that:
    •     The primary database was in MAXIMUM PERFORMANCE MODE
    •     Stopped managed recover on the standby database: alter database recover managed standby database cancel;
    •     Built a logical standby data dictionary on the primary database
    •     The db_name in init.ora was changed (this is in our document at my job)
    •     I changed my database name (from physical to logical) in my init.ora pfile (reverse of what I did above)
    # Dataguard Parameters
    For logical standby, change db_name to name of standby database.
    #db_name=NIKNASD2 ### for physical, db_name is same as primary
    db_name=NIRNASD1 ### for logical, db_name is same as unique_name
    I then went to shutdown my standby database and re-start it in a mount exclusive state, which is where I get the ORA-01103 Error (Again I used the pfile, thinking that I needed to tell the database it is now a logical standby):
    SQL> shutdown immediate;
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    SQL> STARTUP EXCLUSIVE MOUNT PFILE = /oraa/app/oracle/product/1020/admin/NIRNASD1/pfile/initNIRNASD1.ora;
    ORACLE instance started.
    Total System Global Area 1577058304 bytes
    Fixed Size 2084368 bytes
    Variable Size 385876464 bytes
    Database Buffers 1174405120 bytes
    Redo Buffers 14692352 bytes
    ORA-01103: database name 'NIKNASD2' in control file is not 'NIRNASD1'
    From what I understand of the process, the name in the control file is correct, I want it to be NIRNASD1. But the database for some reason thinks it should be NIKNASD2. The following are the parts of my init.ora file that include the dataguard parameters:
    # Database Identification
    db_domain=""
    #db_name=NIRNASD1
    #db_unique_name=NIRNASD1
    # File Configuration
    control_files=("/oradba2/oradata/NIRNASD1/control01.ctl", "/oradba3/oradata/NIRNASD1/control02.ctl", "/oradba4/oradata/NIRNASD1/control03.ctl")
    # Instance Identification
    instance_name=NIRNASD1
    # Dataguard Parameters
    #db_name=NIKNASD2 ### for physical, db_name is same as prmary
    db_name=NIRNASD1 ### for logical, db_name is same as unique_name
    db_unique_name=NIRNASD1
    dg_broker_start=TRUE
    db_file_name_convert='NIKNASD2','NIRNASD1'
    log_file_name_convert='NIKNASD2','NIRNASD1'
    log_archive_config='dg_config=(NIRNASD1,NIKNASD2)'
    log_archive_dest_1='LOCATION="/oraarcha/NIRNASD1/" valid_for=(ONLINE_LOGFILES,all_roles) db_unique_name=NIRNASD1'
    #log_archive_dest_2='LOCATION="/oraarcha/NIKNASD2/" valid_for=(standby_logfiles,standby_roles) db_unique_name=NIRNASD1'
    log_archive_dest_2='LOCATION="/oraarcha/NIKNASD2/" valid_for=(standby_logfile,standby_role) db_unique_name=NIRNASD1'
    STANDBY_ARCHIVE_DEST='LOCATION=/oraarcha/NIKNASD2/'
    # Parameters are not needed since this server will NOT become primary
    #log_archive_dest_2='service=NIKNASD2
    # valid_for=(online_logfiles,primary_role)
    # db_unique_name=NIKNASD2'
    fal_server='NIKNASD2'
    fal_client='NIRNASD1'
    I would appreciate any help, or pointing me in the right direction. I'm just missing something. I am reviewing the documents for building a physical and logical standby from oracle. Just not sure where to go from here.
    Thank you
    Edited by: 977917 on Dec 19, 2012 5:49 PM

    First of all, thank you both for answering my post. I've pulled up Mr. Hesse's page and will make it a go-to staple.
    We're in the process of upgrading our databases, but we have 130+ databases and only six Oracle dba's, and I'm one of them. It's a large corporation, and things move at a "slow and tested" pace.
    The pfile parameters listed above are from my secondary/standby database. And I do want to create a logical standby.
    I forgot to mention that we do use DataGuard Broker, but I did not think that would be the cause of why the database was starting up incorrectly, so I did not mention it. My apologies there.
    As far as the db_name, here's my question on that. It's my understanding the the db_name should be the name of the primary database when you are working with a physical standby, but as soon as you convert it to logical, you should change the db_name to the secondary/standby database? Am I correct on that?
    Leading from that, during the process of creating the physical standby and converting the physical standby to the logical standby, should I change the db_name in the secondary/standby database in the spfile and never use the pfile at all? For instance, when I create the physical standby I have to change the db_name in the standby to the PRIMARY database, so that makes me think I should change db_name in the spfile? (If you see above, I changed db_name in the pfile and did a startup pfile)
    This morning I was able to reach out to a fellow DBA (they are were asleep when I posted this last night), and they tried a few things. We had a redirect in the standby directory /oraa/app/oracle/product/1020/dbs folder that looked like this: spfileNIRNASD1.ora -> /oraa/app/oracle/product/1020/admin/NIRNASD1/pfile/spfileNIRNASD1.ora
    She removed the redirect and the startup mount exclusive then worked without the error.
    Thank you again for your help Mr.Quluzade and Mr. Hesse, I appreciate you all taking the time to teach someone new to the craft. I will definitely read up on the link that you sent me.
    Chris Cranford

  • Listing logical database for a given application component

    hi
    which function module will return the logical database for a given application component from the SAP hierarchy.
    Example:
    Input- application component- LO
    output- MSM, etc.,
    Thank you.
    your time and answers will be compensated with points.

    Why dont you use two selects to get the required information#
    TAble <b>APADEVC</b>
    Here you will get the link from Application Component to Package
    Application Class - Packet
    Package           - Devclass
    Then if you go into Table <b>TADIR</b>
    and give the following input
    PGMID = R3TR
    OBJECT = LDBA
    DEVCLASS = package name
    you will get all the Logical Databases for that Application Component.
    Here obj_name will be the Name of the LDB's
    Message was edited by:
            Dominic Pappaly

  • Change database name - Crystal10 and Visual Studio 2005

    <p>Hi there,</p>
    <p>
    I have about 150 crystal reports in my development environment. I need to move them into the testing environment. Every environment has its own database and every database is names '[client name]_[environment]' so I get things like client1_dev, client1_test, client1_prod, etc. The reports are very, very unhappy when moving from dev to test. I have googled this a fair bit and have attempted the stuff on:
    </p>
    http://www.codeproject.com/KB/aspnet/crystalwithaspdotnet.aspx
    <br/>
    http://www.tek-tips.com/faqs.cfm?fid=5374
    <br/>
    <p>
    and a few others and have gotten no where. I spent a couple of days working on this and am now over budget and late. I need a fix and fast.
    </p>
    <p>
    I have two ideas I have been working on and both have failed out right.<br/>
    Idea 1 - during run time:<br/>
      - loop through everything thing in sight and set the database information on it<br/>
      - that one looks like:<br/>
    <br/>
    <pre>
    using CrystalDecisions.Shared;
    using CDCRE = CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.Web;
    public abstract class ReportBase : Page
         ...snip....
        protected virtual void DoLoad(CrystalReportViewer ReportViewer)
            ReportDocument reportDocument = new ReportDocument();
            SetReportInfo(reportDocument);
            SetParameters(reportDocument);
            DumpParameters(reportDocument);
        protected virtual void SetReportInfo(ReportDocument reportDocument)<br/>
            db_Reports.Reports reportInfo = new ReportsClass();
            CriteriaID = reportInfo.InsertCriteria(CommonUtils.GetLanguagePrefix(), CurrentForm["criteria"].Trim() +
    CurrentForm["extracriteria"].Trim(), CSecuritySession.UserSessionInfo.iUserId, string.Empty, CurrentForm["param1"]);
            ADODB._Recordset rs = reportInfo.GetReportInfo(CommonUtils.GetLanguagePrefix(), ModuleName, ReportID, CSecuritySession.UserSessionInfo.iUserId);
            // report to load
            HttpContext.Current.Trace.Warn("Loading the report", rs.Fields["vReportName"].Value as string);
            reportDocument.Load(rs.Fields["vReportName"].Value as string);
            // connection info
            reportDocument.DataSourceConnections[0].SetConnection(rs.Fields["vSQLServer"].Value as string, rs.Fields["vDatabase"].Value as string, false);
            HttpContext.Current.Trace.Warn("Setting connection information",
                string.Format("Server Name:[{0}] Database Name:[{1}]", reportDocument.DataSourceConnections[0].ServerName, reportDocument.DataSourceConnections[0].DatabaseName));
            // logon info
            reportDocument.DataSourceConnections[0].SetLogon(rs.Fields["vUsername"].Value as string, rs.Fields["vPassword"].Value as string);
            HttpContext.Current.Trace.Warn("Setting Logon Information",
                string.Format("Username: [{0}] Password: [{1}]", reportDocument.DataSourceConnections[0].UserID, reportDocument.DataSourceConnections[0].Password));
            DumpConnInfo(reportDocument);
            DumpSubReportConnInfo(reportDocument);
            // reportname / page title
            ReportName = rs.Fields["vDescription"].Value as string;               
        private void DumpSubReportConnInfo(ReportDocument reportDocument)
            foreach (Section sec in reportDocument.ReportDefinition.Sections)
                foreach (ReportObject ro in sec.ReportObjects)
                    if (ro is SubreportObject)
                        SubreportObject sro = (ro as SubreportObject);
                        DumpConnInfo(sro.OpenSubreport(sro.SubreportName));
        protected virtual void DumpConnInfo(ReportDocument reportDocument)
            foreach(CDCRE.Table table in reportDocument.Database.Tables)
                Trace.Warn(string.Format("Connection info[{0}]", table.Name),
                    string.Format("database: {0} Server: {1} User ID: {2} Pwd: {3}",
                    table.LogOnInfo.ConnectionInfo.DatabaseName,
                    table.LogOnInfo.ConnectionInfo.ServerName,
                    table.LogOnInfo.ConnectionInfo.UserID,
                    table.LogOnInfo.ConnectionInfo.Password));
                foreach(NameValuePair2 nvp in table.LogOnInfo.ConnectionInfo.Attributes.Collection)
                    Trace.Warn("connection attributes", string.Format("{0} = {1}", nvp.Name, nvp.Value));
                    if (string.Compare(nvp.Name as string, "QE_LogonProperties", true) == 0)
                        DbConnectionAttributes dca = nvp.Value as DbConnectionAttributes;
                        Trace.Warn("connection attributes - QE_LogonProperties", "processing the 'QE_LogonProperties'. Is null [" + (null == dca).ToString() + "]" );                   
                        foreach (NameValuePair2 nvp1 in dca.Collection)
                            Trace.Warn("connection attributes - QE_LogonProperties", string.Format("{0} = {1}", nvp1.Name, nvp1.Value));
                Trace.Warn("----------------------");           
        protected virtual void DumpParameters(ReportDocument reportDocument)
            HttpContext.Current.Trace.Write("--------------------------");
            HttpContext.Current.Trace.Write(" Dumping Parameters ");
            HttpContext.Current.Trace.Write("--------------------------");
            for (int i = 0; i < reportDocument.ParameterFields.Count; i++)
                if (string.IsNullOrEmpty(reportDocument.ParameterFields<i>.ReportName))
                    HttpContext.Current.Trace.Write(string.Format("[{0}] {1}", i, reportDocument.ParameterFields<i>.Name), GetParamValue(reportDocument.ParameterFields<i>));
                else
                    HttpContext.Current.Trace.Warn(string.Format("SubReport Parameter [{0}] {1}", i, reportDocument.ParameterFields<i>.Name), GetParamValue(reportDocument.ParameterFields<i>));
            HttpContext.Current.Trace.Write("--------------------------");
    </pre>
    <br/>
      - this one always errors out with a can't find database type connection and spits out the old database message.<br/>
      - as you can see there is a stack of tracing in there. all of the trace messages make it look like it is hitting the right database. I have no clue why this isn't working.<br/>
    <br/>
    Idea 2 - fix up reports before moving to the other environments:<br/>
      - I figured I would write a little app that would crawl through the directories of reports and fix them up<br/>
      - I read a few examples of this online and none of them seem to work with Crystal 10. They work with some of our legacy Crystal 8 reports (I have been testing this all over the place) but not with 10.<br/>
      - the last function is the interesting one.<br/>
      - that one looks like:<br/><br/>
    <pre>
    using System;
    using System.Collections;
    using System.Collections.Generic;
    using System.Text;
    using System.IO;
    using System.Reflection;
    using System.Diagnostics;
    namespace crystal_10_switch
        public class Changer
            protected CRAXDDRT.Application app;
            protected object missing = Missing.Value;
            protected string currentFolder = string.Empty;
            protected string OdbcName;
            protected string DBName;
            protected ICollection Folders;
            public Changer(string OdbcName, string DBName, ICollection Folders)
                this.OdbcName = OdbcName;
                this.DBName = DBName;
                this.Folders = Folders;
                app = new CRAXDDRT.Application();
                string junk = Console.ReadLine();
            public virtual void Switch()
                foreach (string dir in Folders)
                    SwitchDir(dir);
            protected virtual void SwitchDir(string dir)
                DirectoryInfo di = new DirectoryInfo(dir);
                FileInfo[] files = di.GetFiles("*.rpt", SearchOption.AllDirectories);
                currentFolder = di.FullName;
                foreach (FileInfo file in files)
                    Trace.WriteLine("Processing the report: " + file.FullName);
                    Trace.Indent();               
                    SwitchFile(file);
                    Trace.Unindent();
            protected virtual void SwitchFile(FileInfo file)
                CRAXDDRT.Report rpt = app.OpenReport(file.FullName, missing);
                SwitchTable(rpt);
                SwitchSubreports(rpt);
                SaveReport(rpt, file);
            protected virtual void SwitchSubreports(CRAXDDRT.Report rpt)
                Trace.Indent();
                foreach (CRAXDDRT.Section section in rpt.Sections)
                    foreach (CRAXDDRT.IReportObject robj in section.ReportObjects)
                        if (robj is CRAXDDRT.ISubreportObject)
                            CRAXDDRT.ISubreportObject sub = (robj as CRAXDDRT.ISubreportObject);
                            Trace.WriteLine("Processing sub report: " + sub.Name);                       
                            SwitchTable(sub.OpenSubreport());                       
                Trace.Unindent();
            protected virtual void SwitchTable(CRAXDDRT.Report rpt)
                Trace.Indent();
                foreach (CRAXDDRT.IDatabaseTable table in rpt.Database.Tables)
                    Trace.WriteLine(" Processing table: " + table.Name);
                    // this one line should do it
                    (table.ConnectionProperties["Database"] as CRAXDDRT.IConnectionProperty).Value = DBName;
                    // but it didn't so try this
                    (table.ConnectionProperties["UseDSNProperties"] as CRAXDDRT.IConnectionProperty).Value = "1";
                    // read that this 'might' work
                    table.SetLogOnInfo(OdbcName, DBName, missing, missing);
                    // but it didn't so I tried this with the user anme and password set
                    table.SetLogOnInfo(OdbcName, DBName, "XXXXX", "XXXXX");
                    // read that this is requiried, but it does nothing
                    table.Name = table.Name;
                    // this causes issues - the map fields thing pops up which is way not cool
                    //table.Location = table.Name;              
                Trace.Unindent();
        }//class
    }//namespace
    </pre>
    <br/>
    At this point I really don't care which one will work the best, I am just desperate for a working solution. Any help, any at all would be greatly appreciated.<br/>
    <br/>
    Thanks<br/>
    <br/>
    -Cam<br/><br/>

    This is a typical requirement of most application and is relatively trivial to implement. There are a lot of samples and documentation on our support site (links below). Also, search these forums for code snippets that will help you. BTW., do not use the craxDDrt.dll as you are not licensed to use it.
    To look for downloads:
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm
    Articles:
    https://www.sdn.sap.com/irj/sdn/businessobjects-articles
    Notes:
    https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true
    Samples:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    Dev. Library and API reference:
    http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm
    http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_apiRef_12_en.chm
    My recommendations:
    https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23&overridelayout=true
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/208edbbf-671e-2b10-d7b5-9b57a832e427
    https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/702ab443-6a64-2b10-3683-88eb1c3744bc&overridelayout=true
    Ludek
    Edited by: Ludek Uher on Jul 21, 2009 8:38 AM

  • Ora-01506 no database name

    11.2.0.2.0 windows 2008 RAC
    restored a prod rac to a dev rac, need to rename. created a pfile with my db name to my old name, started single instance, ran nid, updated the controlfiles successfully, stopped the database, updated my pfile to have DB_NAME to my new name, started the database, all good.
    Create the spfile on ASM to I can restart my RAC, restart the database (still in single instance on 1 node) , I can see in the alert log its reading the newly created spfile, but I then get an error.
    start my database with pfile with db_name=DPRD
    SQL>  startup force mount pfile='e:\temp\pfiledprd.ora';
    ORACLE instance started.
    Total System Global Area 1.3696E+10 bytes
    Fixed Size                  2266208 bytes
    Variable Size            7147096992 bytes
    Database Buffers         6509559808 bytes
    Redo Buffers               36966400 bytes
    Database mounted.
    SQL> show parameter db_name
    NAME                                 TYPE        VALUE
    db_name                              string      DPRD
    SQL>-- create my spfile, edit a second pfile and jsut have a reference to the spfile in it (if I dont use pfile reference it uses OIRACLE_HOME\database\initDPRD1.ora anyway which is the same file, this way I know for sure its using what I want to. Same thing happens either way.
    SQL> create spfile='+DATA/DPRD/spfileDPRD.ora' from pfile;
    File created.
    SQL> startup force mount pfile='e:\temp\initDPRD1.ora';
    ORA-01506: missing or illegal database name
    SQL> host more e:\temp\initDPRD1.ora
    SPFILE='+DATA/DPRD/spfileDPRD.ora'
    SQL>so question is why isnt my spfile using DB_NAME that I know exists before I create the spfile.
    I verified its using the right spfile by deleting before creating it on ASMCMD. ie, I delete it, run the "create spfile..." and then I see it recreating.

    every days a school day. In this case Im in detention. Hours I spent at this and of course I get the answer 20 minutes after I post the question here.
    the pfile in the default ORACLE_HOME\database has reference to my spfile
    If I run a create spfile from pfile it uses the contents of that pfile, NOT the pfile I started the database with. To use that pfile I need to path the pfile I started it with
    WRONG
    create spfile='+DATA/DPRD/spfileDPRD.ora' from pfile;
    RIGHT
    create spfile='+DATA/DPRD/spfileDPRD.ora' from pfile='e:\temp\pfileDPRD.ora';
    SQL> create spfile='+DATA/DPRD/spfileDPRD.ora' from pfile='e:\temp\pfileDPRD.ora';
    File created.
    SQL> shutdown immediate;
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup pfile='e:\temp\initDPRD1.ora';
    ORACLE instance started.
    Total System Global Area 1.3696E+10 bytes
    Fixed Size                  2266208 bytes
    Variable Size            7147096992 bytes
    Database Buffers         6509559808 bytes
    Redo Buffers               36966400 bytes
    Database mounted.
    Database opened.
    SQL>
    SQL>
    SQL>

  • Alter database begin backup; missing keyword error

    Hi all,
    I am trying to put my database in backup mode using the command "alter database begin backup", but it is giving error shown below:
    $ sqlplus '/as sysdba'
    SQL*Plus: Release 9.2.0.5.0 - Production on Wed Nov 25 16:52:58 2009
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.5.0 - Production
    SQL> select name,open_mode from v$database;
    NAME OPEN_MODE
    N05PCS07 READ WRITE
    SQL> alter database begin backup;
    alter database begin backup
    ERROR at line 1:
    ORA-00905: missing keyword
    NE one can tell why the command is failing??
    pls...
    Thanks in advance.
    SHAILESH

    Hello,
    All the former posts are right, alter database begin backup; doesn't exists in 9.2 althought
    you already have in this release the alter database end backup;.
    So as to put all the tablespaces in backup mode in one command I suggest you to create a
    stored procedure as follows:
    CREATE OR REPLACE PROCEDURE begin_backup IS
    TYPE RefCurTyp IS REF CURSOR;
    cv RefCurTyp;
    sql_cv VARCHAR2(400);
    tbs VARCHAR2(128);
    sql_stmt VARCHAR2(200);
    BEGIN
    -- Mise en BEGIN BACKUP des TABLESPACES
    sql_cv := 'SELECT distinct (A.name) FROM sys.v_$tablespace A, sys.v_$datafile B, sys.v_$backup C where A.TS# = B.TS# and B.FILE# = C.FILE# and C.STATUS = ''NOT ACTIVE''';
    OPEN cv FOR sql_cv;
    LOOP
    FETCH cv INTO tbs;
    EXIT WHEN cv%NOTFOUND;
    sql_stmt := 'ALTER TABLESPACE '||tbs||' BEGIN BACKUP';
    EXECUTE IMMEDIATE sql_stmt;
    END LOOP;
    CLOSE cv;
    END;
    Then, I just have to call the Procedure like that:
    execute <schema>.begin_backup; and all the tablespaces are in backup mode.
    This procedure must be created on a User/Schema with the following privileges:
    alter tablespace
    select on sys.v_$tablespace
    select on sys.v_$datafile
    select on sys.v_$backupHope it can help.
    Best regards,
    Jean-Valentin
    Edited by: Lubiez Jean-Valentin on Nov 25, 2009 9:44 PM

  • ORA-01161: database name

    DB 10.2.0.4
    AIX 5.2
    I am trying to make clone.Even I made clone, the database was up but when I saw in the alert log file it was giving continue below error(1) and the size of alert log file was getting increase so I decided to restore missed file and I restored and trying to create control file but this time it is giving below second(2) error.
    1:
    ORA-00376: file 35 cannot be read at this time
    ORA-01111: name for data file 35 is unknown - rename to correct file
    ORA-01110: data file 35: '/vol01/oracle/product/10g/dbs/MISSING00035'
    2:
    SQL> @clone.ctl
    CREATE CONTROLFILE SET DATABASE "dev" RESETLOGS
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01161: database name prod in file header does not match given name of dev
    ORA-01110: data file 35: '/vol01/oracle/index08.dbf'
    Suggest me.

    You could have missed that datafile in create controlfile statement, thats the reason for file naming convention to MISSING
    --okay but now what is the solution. That missing file does not physical exist at error location.                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • LSO_MSS Manage Participation Employee Name is missing

    Helo All,
    I am facing a strange problem in LSO.
    When Manager access the Manage Participation iview, Under Direct Reportees, we could see Object Type as P, Position and Org Unit.
    But Employee name is missing. Instead of Name  dot(.) is displayed.
    I checked his roles and authorisataions. everything looks ok for me, and i also checked with other managers login, all others are able to see name of the employee.
    That will be great, if you can provide me your inputs.
    Thanks
    Gita

    Please check SAP Notes
    1431991
    1457145
    Please also check if in SE80 > Wb dyn. component (FPM_GAF_COMPONENT)
    LSO_MANAGE_PARTICIPANTS Book Participant
    >  LSO_MANAGE_PARTICIPANTS_MGR Book Participant   (Test this)
    Test from this place. Can you see all the options here.
    Best Regards
    Chetan

Maybe you are looking for

  • Installed PS CS5 on new computer. Can no longer open .NEF files. Plug in won't install

    Very frustrated.  Bought new computer. Installed PS CS5.  It won't open my Nikon 7000 .NEF (RAW) files.  Tried to download and install the plug in but keep getting error saying I need to redownload and reinstall Adobe Application Manager. I do that,

  • Setting default costing relevancy on IW31

    Hi all, i have problems with the definition of the default value of the costing relevancy during the creation of an orden by the transaction IW31. In particular i have to set that default value just for a specific order type. is it possible doing it?

  • Can't Search in Mac App Store & Can't Not Open Menu In Mac App Store

    today, I wanna update some software, when i bring up the Mac App Store, it will not let me click in the Search box.  Also, when I click on "Categories" "Update", etc. at the top of the page, they will highlight but not go to those pages. Help, i use

  • How to set minimum font size in mail app?

    How can I set a minimum font size in mail app? I have received mails that have a font size that seems to be smaller than 9pt which results being nearly unreadable. Sure its possible to increase the font size by pressing cmd + "+" but this setting isn

  • How do I access the Quicktime video editor in iMovie?

    I'm trying to access the Quicktime video editor (the one that allowed you to sharpen your videos, among other adjustments) that used to be there in iMovie. I'm running iMovie 10.0.5 on OS X Mavericks 10.9.5 and can't seem to find it.