Database initialization failed after attach the database.

Hello Everyone,
I have a problem after detaching the database and attaching it again (I moved the database to another partition because of shortage of disk space). Then, I find that the system can not start. (I've two systems and now neither of them could start). The error seems very similar.
In the pure java system(netweaver 04s) log: jvm_bootstrap.out,
com.sap.engine.bootstrap.synchronizationException: Database Initializtion Failed! Check database properties.
com.sap.engine.frame.core.configuration.configurationException: Error while connecting to DB.
Caused by: java.sql.SQLException: [NWMss] [SQLServer JDBC Driver] [SQLServer] Login failed for user 'SAPBP0DB'.
In pure ABAP system(Netweaver 04s) log: dev_w12:
openoledbConnection: MARS property was not set.
openoledbConnection: line 23722. hr: 0x8000ffff login failed for user 'CNDT50083414\SAPServiceBE0'.
sloledb.cpp [openoledbConnection, line 23722]: Error/Message: (err 18456, sev 0), Login failed for user 'CNDT50083414\SAPServiceBE0'.
sloledb.cpp [openoledbConnection, line 23722]: Error/Message: (err 0, sev 0), Invalid string connection attribute.
Is this because the DB not started? In Windows Services, I found 'MSSQLServer' is started.
How can I trace down to this problem? I don't have much idea on DB...
All your kindly help is greatly appreciated.
Best Regards,

Hi Karan,
Thank you for your reply. I attach the dev_w0 file here:
trc file: "dev_w0", trc level: 1, release: "700"
ACTIVE TRACE LEVEL           1
ACTIVE TRACE COMPONENTS      all, MJ

B Tue Sep 23 13:16:15 2008
B  create_con (con_name=R/3)
B  Loading DB library 'C:\usr\sap\BE0\DVEBMGS02\exe\dbmssslib.dll' ...
B  Library 'C:\usr\sap\BE0\DVEBMGS02\exe\dbmssslib.dll' loaded
B  Version of 'C:\usr\sap\BE0\DVEBMGS02\exe\dbmssslib.dll' is "700.08", patchlevel (0.158)
B  New connection 0 created
M sysno      02
M sid        BE0
M systemid   562 (PC with Windows NT)
M relno      7000
M patchlevel 0
M patchno    159
M intno      20050900
M make:      multithreaded, Unicode, 64 bit, optimized
M pid        1704
M
M  kernel runs with dp version 237000(ext=110000) (@(#) DPLIB-INT-VERSION-237000-UC)
M  length of sys_adm_ext is 576 bytes
M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 1704) [dpxxdisp.c   1316]
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)          21008     (1616)
M  DpShMCreate: sizeof(tm_adm)          5912624     (29416)
M  DpShMCreate: sizeof(wp_ca_adm)          24000     (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: 0000000011080050, size: 6604928)
M  DpShMCreate: allocated sys_adm at 0000000011080050
M  DpShMCreate: allocated wp_adm at 0000000011082150
M  DpShMCreate: allocated tm_adm_list at 0000000011087360
M  DpShMCreate: allocated tm_adm at 00000000110873C0
M  DpShMCreate: allocated wp_ca_adm at 000000001162ABF0
M  DpShMCreate: allocated appc_ca_adm at 00000000116309B0
M  DpShMCreate: allocated comm_adm at 00000000116328F0
M  DpShMCreate: system runs without slock table
M  DpShMCreate: system runs without file table
M  DpShMCreate: allocated vmc_adm_list at 00000000116B9580
M  DpShMCreate: allocated gw_adm at 00000000116B9600
M  DpShMCreate: system runs without vmc_adm
M  DpShMCreate: allocated ca_info at 00000000116B9630
M  DpShMCreate: allocated wall_adm at 00000000116B9640
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 CNDT50083414

M Tue Sep 23 13:16:16 2008
M  calling db_connect ...
C  Thread ID:6104
C  Thank You for using the SLOLEDB-interface
C  Using dynamic link library 'C:\usr\sap\BE0\DVEBMGS02\exe\dbmssslib.dll'
C  dbmssslib.dll patch info
C    patchlevel   0
C    patchno      158
C    patchcomment Corrections of odbc-based dbsl: dsql: optype, DSN (1135165)
C  np:(local) connection used on CNDT50083414
C  CopyLocalParameters: dbuser is 'be0'

C Tue Sep 23 13:16:17 2008
C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
C  Using provider SQLOLEDB instead.
C  OpenOledbConnection: MARS property was not set.
C  OpenOledbConnection: line 23722. hr: 0x8000ffff Login failed for user 'CNDT50083414\SAPServiceBE0'.
C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 18456, sev 0), Login failed for user 'CNDT50083414\SAPServiceBE0'.
C  Procname: [OpenOledbConnection - no proc]
C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C  Procname: [OpenOledbConnection - no proc]
C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
C  Using provider SQLOLEDB instead.
C  OpenOledbConnection: line 23722. hr: 0x8000ffff Login failed for user 'CNDT50083414\SAPServiceBE0'.
C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 18456, sev 0), Login failed for user 'CNDT50083414\SAPServiceBE0'.
C  Procname: [OpenOledbConnection - no proc]
C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C  Procname: [OpenOledbConnection - no proc]
C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
C  Using provider SQLOLEDB instead.
C  OpenOledbConnection: line 23722. hr: 0x8000ffff Login failed for user 'CNDT50083414\SAPServiceBE0'.
C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 18456, sev 0), Login failed for user 'CNDT50083414\SAPServiceBE0'.
C  Procname: [OpenOledbConnection - no proc]
C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C  Procname: [OpenOledbConnection - no proc]
C  failed to establish conn to np:(local).
C  Retrying without protocol specifier: (local)
C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
C  Using provider SQLOLEDB instead.
C  OpenOledbConnection: line 23722. hr: 0x8000ffff Login failed for user 'CNDT50083414\SAPServiceBE0'.
C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 18456, sev 0), Login failed for user 'CNDT50083414\SAPServiceBE0'.
C  Procname: [OpenOledbConnection - no proc]
C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C  Procname: [OpenOledbConnection - no proc]
C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
C  Using provider SQLOLEDB instead.
C  OpenOledbConnection: line 23722. hr: 0x8000ffff Login failed for user 'CNDT50083414\SAPServiceBE0'.
C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 18456, sev 0), Login failed for user 'CNDT50083414\SAPServiceBE0'.
C  Procname: [OpenOledbConnection - no proc]
C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C  Procname: [OpenOledbConnection - no proc]
C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
C  Using provider SQLOLEDB instead.
C  OpenOledbConnection: line 23722. hr: 0x8000ffff Login failed for user 'CNDT50083414\SAPServiceBE0'.
C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 18456, sev 0), Login failed for user 'CNDT50083414\SAPServiceBE0'.
C  Procname: [OpenOledbConnection - no proc]
C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C  Procname: [OpenOledbConnection - no proc]
C  failed to establish conn. 0
B  ***LOG BY2=> sql error -1     performing CON [dbsh#2 @ 1204] [dbsh    1204 ]
B  ***LOG BY0=> Login failed for user 'CNDT50083414\SAPServiceBE0'. [dbsh#2 @ 1204] [dbsh    1204 ]
B  ***LOG BY2=> sql error -1     performing CON [dblink#5 @ 431] [dblink  0431 ]
B  ***LOG BY0=> Login failed for user 'CNDT50083414\SAPServiceBE0'. [dblink#5 @ 431] [dblink  0431 ]
M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c   1440]
M  in_ThErrHandle: 1
M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10504]

M  Info for wp 0

M    pid = 1704
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 CNDT50083414_BE0_02 on host CNDT50083414 (wp 0)
M  *  ERROR       ThInit: db_connect
M  *
M  *  TIME        Tue Sep 23 13:16:17 2008
M  *  RELEASE     700
M  *  COMPONENT   Taskhandler
M  *  VERSION     1
M  *  RC          13
M  *  MODULE      thxxhead.c
M  *  LINE        10724
M  *  COUNTER     1
M  *
M  *****************************************************************************

M  PfStatDisconnect: disconnect statistics
M  Entering TH_CALLHOOKS
M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   724]
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 1704) [dpnttool.c   333]

Similar Messages

  • J2EE Engine start error: Database initialization failed!

    My J2EE engine now fails to start - jcontrol stays yellow.  I've followed Troubleshooting pages from help.sap.com Admin manual topic "starting J2EE Engine".
    Background:
    I was running through JDI Scenario 2+ on a fresh installed WebAS 6.40 at SP9.  Using NWDevStudio2.09, I attempted to load a DC, but servers stopped responding.  So I downed everything (in MMC) including offlining the DB, then put DB back online and restart the J2E engine, and now jcontrol stays yellow. 
    I find this in the file log_bootstrap_ID0014430.0.log:
    Apr 7, 2005 3:10:23 PM  ] Bootstrap MODE:
    [Apr 7, 2005 3:10:23 PM  ] <INSTANCE GLOBALS>
    [Apr 7, 2005 3:10:23 PM  ]  determined by parameter [ID0014430].
    [Apr 7, 2005 3:10:23 PM  ] -
    [Apr 7, 2005 3:10:26 PM  ] Exception occured:
    com.sap.engine.bootstrap.SynchronizationException: Database initialization failed! Check database properties!
         at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:422)
         at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:144)
         at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:813)
    .........a few lines cut out here..........
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    ==[ Caused by: ]==----
    com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:344)
    ............ a few lines cut out here..........
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    Caused by: com.sap.dbtech.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: Cannot connect to jdbc:sapdb://PHI21811/J2E [Cannot connect to host PHI21811 [Connection refused: connect], -813.].
         at com.sap.dbtech.jdbc.DriverSapDB.connect(DriverSapDB.java:183)
         at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:219)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.createPooledConnection(OpenSQLDataSourceImpl.java:570)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.getPooledConnection(OpenSQLDataSourceImpl.java:263)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:294)
         ... 14 more
    [Apr 7, 2005 3:10:26 PM  ] [Bootstrap module]> Problem occured while performing synchronization.
    [Apr 7, 2005 3:22:24 PM  ] -
    ANYONE HAVE ANY SUGGESTIONS?????

    Using the Database Administration section of the help.sap.com library, I found the location of SAPDB/MySQL log files.  They are in C:\sapdb\data\wrk\J2E.  In 'knldiag' I found entries complaining of Log files being full and tasks put in suspension.
    So I figured out to do a full back up of the DB and/or backup the log files.  The log file bar (in MMC) still showed 100% full, but I figured out to refresh the view and voila it was empty (so one of the backups emptied it, not sure which one).
    After that the DB comes up fine and now my J2E WebAS goes all green.
    Message was edited by: Michael W Rains

  • Window server 2008 r2 error show "stop :- c00002e3 security account manager initialization failed because of the for A DIVICE ATTACHED to the system is not funcation"

    Hi All
    Please help
    my server not working showing display error window server 2008 r2  error show "stop :- c00002e3 security account manager initialization failed because of the for A DIVICE ATTACHED to the system is not funcation"
    Please help me how to resolve this issue ???
    thnaks !!!

    Hi,
    If there is any external device plug into your computer, please unplug it and restart the Server.
    You can also test the issue in Safe mode.
    If it can boot into Safe mode, please update any driver has yellow warning on it, also check if the dump file is existing under %SystemRoot%\, if so, please help to post back for our research.
    Kate Li
    TechNet Community Support

  • Simplify recovery after opening the database with the RESETLOGS option

    Hi All,
    I just have doubt ,regarding the topic which is given in Oracle 11g Exam Syllabus for upgrading from 9i to 11g OCP.The opic is
    *"Simplify recovery after opening the database with the RESETLOGS option"* in this topic what one need to study.
    As i am little bit confuse related to "Recovery through RESETLOGS and reset of the incarnation of the database".
    Kindly correct me if i am wrong
    Thanks in advance

    vk82 wrote:
    Hi All,
    I just have doubt ,regarding the topic which is given in Oracle 11g Exam Syllabus for upgrading from 9i to 11g OCP.The opic is
    *"Simplify recovery after opening the database with the RESETLOGS option"* in this topic what one need to study.
    As i am little bit confuse related to "Recovery through RESETLOGS and reset of the incarnation of the database".
    Kindly correct me if i am wrong
    Thanks in advanceyou are correct so you can mark this thread as answered
    Handle:     vk82
    Status Level:     Newbie (35)
    Registered:     Nov 21, 2010
    Total Posts:     733
    Total Questions:     180 (115 unresolved)

  • Application cannot proceed. Internal error occured. Contact your administrator. Error msg: Unable to connect to the database. Please make sure the database information specified in admin/includes/config.php are correct.

    After clicking in email link, I get the following message on Firefox page : " The application cannot proceed!
    An internal error occured. Please contact your administrator and describe the steps you took before you encounter this error message.Error msg: Unable to connect to the database. Please make sure the database information specified in admin/includes/config.php are correct."
    The email asked to install the latest Adobe Flashplayer version to have it working. I installed it, also updated my plug-ins and checked in safe mode that the extensions were not the problem. I also deleted the cookies an cache. Nothing seems to be working so far. I have the lastest version of Firefox 8.0.1 as well as Roboform 7. I noticed that the latest Firefox version has (x86) tagged to it. Does it refers to an 86 bits because my computer uses 32 or 64 bits only. I tried also different browsers and the message kept appearing. How do I resolve this problem?

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"

  • I have my iTunes music folder stored on an external hard drive.  I recently purchased a new Mac.  After attaching the external hard drive, all the songs imported without any problem except my Playlists.  Any clue about where they are or how to revive them

    I have my iTunes music folder stored on an external hard drive.  I recently purchases a new Mac.  After attaching the external hard drive, all songs imported without a problem except my playlists.  Any clue about where they are or how to revive them for use on my new Mac?
    Thanks!

    Rysz wrote:
    To retain your playlists, artwork, play counts, etc, you need to move the entire iTunes folder, not just the music files..
    Correct.
    After that just select the new folder location in iTunes> Advanced settings.
    Incorrect.
    Hold Option and launch iTunes.
    Select Choose library and select the iTunes folder.
    This will read the iTunes library.itl file in this folder and the library as it was previously will be opened.

  • After attaching the headset to the audio jack, i get sound from the laptop speaker

    after attaching the headset to the audio jack, i get sound from the laptop speaker

    This worked for me as well. Great find! I have gigabyte ep45-ud3r motherboard and I was getting all sound through external speakers except itunes was playing the sound out of the digital output instead of the speakers. I could see this when I went to control panel > hardware & sound > manage audio devices. I did the repair as described above and now I have sound in iTunes.

  • Find particular database role permission on all the databases of an instance

    Hi Team,
    I want to find particular database role permission on all the databases of a instance.
    Example: 50 databases are running on an instance. I want to find datareader permission of ABCDE account, on which of the databases it exist?
    Please provide me a customized script to find it.
    Thanks
    Kumar

    Hi K735,
    According to your description, you want to find databases where a specific database role of a specific user exists. To do this, you could execute the stored procedure below by proving a value for each of the two parameters (@databaseRole, @user)  to
    specify the database role and the user as the following example: execute findDatabaseRole 'db_datareader', 'testUser'
    USE master
    GO
    CREATE PROCEDURE dbo.findDatabaseRole
    @databaseRole VARCHAR(200),
    @user VARCHAR(250)
    AS
    DECLARE @DBuser_sql VARCHAR(4000)
    DECLARE @DBuser_table TABLE
    AssociatedDatabaseRole VARCHAR(200),
    DBName VARCHAR(200),
    UserName VARCHAR(250),
    LoginType VARCHAR(500)
    INSERT @DBuser_table
    EXEC sp_MSforeachdb @command1='SELECT USER_NAME(b.role_principal_id) AS AssociatedDatabaseRole, "[?]" AS DBName, a.name AS Name,
    a.type_desc AS LoginType FROM [?].sys.database_principals a
    , [?].sys.database_role_members b where a.principal_id=b.member_principal_id and
    a.sid NOT IN (0x01,0x00) AND a.sid IS NOT NULL AND a.type NOT IN ("C")
    AND a.is_fixed_role <> 1 AND a.name NOT LIKE "##%" AND "?" NOT IN ("master","msdb","model","tempdb")
    ORDER BY Name'
    SELECT AssociatedDatabaseRole, DBName,UserName,LoginType
    FROM @DBuser_table WHERE UserName=@user and AssociatedDatabaseRole=@databaseRole
    group by AssociatedDatabaseRole, DBName,UserName,LoginType
    GO
    Regards,
    Michelle Li

  • After upgrading to mountain lion my mail fails while reformatting the database

    I recently upgraded to OS X Mountain Lion and when I try to start the mail app it goes into a reformat the database process that never ends.  I force quit the mail app and shutdown the MacBook Pro.  But when I reboot and try mail again it does the same thing.  What can I do? I don't care about my mail database.  I would like to begin receiving emails, however.

    Maybe this will help. If you monitor the "More Like This" box (top right), other threads appear. Opening them usually displays other threads.
    https://discussions.apple.com/thread/3197363

  • 10g RAC database: instances fail after a few days...

    Im afraid I'm new to Oracle, so assume total ignorance when replying!
    We have two servers, db1 and db2 running Oracle under Windows 2K3 web edition [SP1].
    Both have a shared Direct Attached Storage disk, over a Scsi fibre connection.
    The database is set up using instructions found online for RAC.
    Either instance will stop, and the other will take over, after a few days. The problem is, we aren't using the database yet. [There isn't a problem with it, the development people have checked that they can use the database.]
    The two errors [found using the EM console] which seem to be relevant are:
    'Metrics "Database Time Spent Waiting (%)" is at 100 for event class "other"'
    and 'Failed to connect to database instance ... TNS no listener'.
    [Which is obvioulsly the failure]
    I have scoured the web, and the rather dense reference books for Oracle I have access to, and to no avail.
    Another contributing factor is the 'WMI Performance Adaptor' stops and starts on both machines every thirty seconds.
    Any response/guidlines/advise would be greatly appreciated.
    Apologies if I have started this thread in the wrong place!
    James
    Spelling errors - Message was edited by: jmorse

    Tada, it failed at 4am last night.
    Below is the bottom half of the log file.
    2005-09-05 15:27:57.796: Attempting to start `ora.gandlake-db2.ASM2.asm` on member `gandlake-db2`
    2005-09-05 15:28:04.703: Start of `ora.gandlake-db2.ASM2.asm` on member `gandlake-db2` succeeded.
    2005-09-05 15:28:04.921: Attempting to start `ora.x200.x2002.inst` on member `gandlake-db2`
    2005-09-05 15:28:33.359: Start of `ora.x200.x2002.inst` on member `gandlake-db2` succeeded.
    2005-09-05 15:28:40.578: Start of `ora.x200.x2001.inst` on member `gandlake-db1` succeeded.
    2005-09-05 15:28:40.609: CRS Daemon Started.
    2005-09-05 15:28:41.140: Attempting to start >`ora.gandlake-db1.LISTENER_GANDLAKE-DB1.lsnr` on member `gandlake-db1`
    2005-09-05 15:30:06.078: Start of `ora.gandlake-db1.LISTENER_GANDLAKE-DB1.lsnr` on member `gandlake-db1` succeeded.
    `ora.gandlake-db1.vip` on `gandlake-db1` went OFFLINE unexpectedly
    2005-09-06 19:48:35.703: Attempting to stop `ora.gandlake-db1.vip` on member `gandlake-db1`
    2005-09-06 19:48:36.250: Stop of `ora.gandlake-db1.vip` on member `gandlake-db1` succeeded.
    Restarting `ora.gandlake-db1.vip` on `gandlake-db1`
    2005-09-06 19:48:36.312: Attempting to start `ora.gandlake-db1.vip` on member `gandlake-db1`
    2005-09-06 19:48:38.843: Start of `ora.gandlake-db1.vip` on member `gandlake-db1` succeeded.
    Successfully restarted `ora.gandlake-db1.vip` on `gandlake-db1`
    `ora.gandlake-db1.ons` on `gandlake-db1` went OFFLINE unexpectedly
    2005-09-06 22:59:36.875: Attempting to stop `ora.gandlake-db1.ons` on member `gandlake-db1`
    2005-09-06 22:59:38.218: Stop of `ora.gandlake-db1.ons` on member `gandlake-db1` succeeded.
    Restarting `ora.gandlake-db1.ons` on `gandlake-db1`
    2005-09-06 22:59:38.296: Attempting to start `ora.gandlake-db1.ons` on member `gandlake-db1`
    2005-09-06 22:59:40.109: Start of `ora.gandlake-db1.ons` on member `gandlake-db1` succeeded.
    Successfully restarted `ora.gandlake-db1.ons` on `gandlake-db1`
    `ora.gandlake-db1.vip` on `gandlake-db1` went OFFLINE unexpectedly
    2005-09-08 04:47:35.078: Attempting to stop `ora.gandlake-db1.vip` on member `gandlake-db1`
    2005-09-08 04:47:35.734: Stop of `ora.gandlake-db1.vip` on member `gandlake-db1` succeeded.
    `ora.gandlake-db1.vip` ran out of restarts on `gandlake-db1`
    `ora.gandlake-db1.vip` failed on `gandlake-db1`, relocating.
    2005-09-08 04:47:35.875: Attempting to stop `ora.gandlake-db1.LISTENER_GANDLAKE-DB1.lsnr` on member `gandlake-db1`
    2005-09-08 04:47:36.718: Stop of `ora.gandlake-db1.LISTENER_GANDLAKE-DB1.lsnr` on member `gandlake-db1` succeeded.
    2005-09-08 04:47:36.765: Attempting to stop `ora.gandlake-db1.ASM1.asm` on member `gandlake-db1`
    2005-09-08 04:47:37.390: [RUNNABLELISTENER:4648] state change aborted (locked): ora.x200.x2001.inst
    2005-09-08 04:47:44.578: Stop of `ora.gandlake-db1.ASM1.asm` on member `gandlake-db1` succeeded.
    2005-09-08 04:47:44.625: Attempting to stop `ora.x200.x2001.inst` on member `gandlake-db1`
    2005-09-08 04:47:46.531: Stop of `ora.x200.x2001.inst` on member `gandlake-db1` succeeded.
    2005-09-08 04:47:46.625: Attempting to start `ora.gandlake-db1.vip` on member `gandlake-db2`
    2005-09-08 04:47:50.203: Start of `ora.gandlake-db1.vip` on member `gandlake-db2` succeeded.x200 is the name of the database, there are two instances in total, db1 and db2. The company name is 'gandlake', and the machines are called 'gandlake-db1' and 'gandlake-db2'.
    Thanks again.

  • Getting Error of SqlBuildTask fail while building the database project

    Hi Experts,
      I am getting error while building the database project in following manner please help on this.
    Error 803 04018: The "SqlBuildTask" task failed unexpectedly.
    System.NullReferenceException: Object reference not set to an instance of an object.
       at Microsoft.Data.Tools.Schema.UserInteractionServices.GetElementName(IModelElement element, ElementNameDetails details)
       at Microsoft.Data.Tools.Schema.Sql.SqlUserInteractionServices.GetElementName(IModelElement element, ElementNameDetails details)
       at Microsoft.Data.Tools.Schema.Sql.Sql110UserInteractionServices.GetElementName(IModelElement element, ElementNameDetails details)
       at Microsoft.Data.Tools.Schema.Sql.Validation.MismatchedNameRule.Analyze(SqlSchemaModel sqlSchemaModel, ISqlModelElement sqlElement, SqlRuleSetting ruleSetting, SqlRuleExecutionContext context)
       at Microsoft.Data.Tools.Schema.Sql.Validation.SqlValidationRuleProxy.Analyze(SqlSchemaModel sqlSchemaModel, ISqlModelElement sqlModelElement, SqlRuleSetting ruleSetting, SqlRuleExecutionContext context)
       at Microsoft.Data.Tools.Schema.Sql.Validation.SqlValidationRule.Analyze(SqlRuleSetting ruleSetting, SqlRuleExecutionContext context)
       at Microsoft.Data.Tools.Schema.Sql.RuleEngine.SqlRuleEngine.ExecuteRuleImpl(SqlRuleSetting ruleSetting, SqlRuleExecutionContext context, Predicate`1 suppressProblem, IEnumerable`1& errors)
       at Microsoft.Data.Tools.Schema.Sql.RuleEngine.SqlRuleEngine.ExecuteRules(SqlSchemaModel dataSchemaModel, IEnumerable`1 ruleSettings, IEnumerable`1& errors, Predicate`1 suppressProblem, Func`1 executeCanceled)
       at Microsoft.Data.Tools.Schema.Sql.RuleEngine.SqlRuleEngine.ExecuteRules(SqlSchemaModel dataSchemaModel, IEnumerable`1 rules, IEnumerable`1& errors, Predicate`1 suppressProblem, Func`1 executeCanceled)
       at Microsoft.Data.Tools.Schema.Sql.Build.SqlTaskHost.RunBuildValidation(SqlSchemaModel model, ErrorManager errorContainer, Func`1 buildCanceledQuery, HashSet`1 includedRuleIDs, HashSet`1 excludedRuleIDs)
       at Microsoft.Data.Tools.Schema.Sql.Build.SqlTaskHost.OnRunBuildValidations(ErrorManager errorManager, HashSet`1 includedRuleIds)
       at Microsoft.Data.Tools.Schema.Sql.Build.SqlTaskHost.RunBuildValidations(ErrorManager errorManager, HashSet`1 includedRuleIDs)
       at Microsoft.Data.Tools.Schema.Tasks.Sql.TaskHostLoader.LoadImpl(ITaskHost providedHost, TaskLoggingHelper providedLogger, Boolean runAllBuildTimeValidationRules)
       at Microsoft.Data.Tools.Schema.Tasks.Sql.TaskHostLoader.Load(ITaskHost providedHost, TaskLoggingHelper providedLogger, Boolean runAllBuildTimeValidationRules)
       at Microsoft.Data.Tools.Schema.Tasks.Sql.SqlBuildTask.ExecuteLoadTaskHostStep()
       at Microsoft.Data.Tools.Schema.Tasks.Sql.SqlBuildTask.ExecuteStep(Func`1 step)
       at Microsoft.Data.Tools.Schema.Tasks.Sql.SqlBuildTask.Execute()
       at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
       at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext() C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets 547 5 ABC_DB
    Niraj Sevalkar

    Hi Niraj, does this happen for all projects or for one specific project? I'd love to understand if this is a specific bug or if it might be a setup issue. 
    If this issues is reproduceable on the latest SSDT bits, I'd suggest capturing the event log for what is going wrong and then opening a connect
    bug for this issue at https://connect.microsoft.com/SQLServer/feedback/CreateFeedback.aspx and
    use the category "Developer Tools(SSDT, BIDS, etc.)". We're trying to track all bugs through connect so that you can tell when we have fixed the issue and we can request
    more information. Please include the event log (instructions on this below) plus any other useful information you can provide, such as an example of exact steps to reproduce the problem.
    Gathering an Event Log for SSDT
    For diagnostic purposes we would like you to gather an event log for the issue that you are experiencing in SSDT. In order to gather a log and send it to a member of
    the team, please follow the steps below.
    Open a new command prompt as Administrator.
    Run the following command
    logman create trace -n DacFxDebug -p "Microsoft-SQLServerDataTools" 0x800 -o "%LOCALAPPDATA%\DacFxDebug.etl" -ets
    logman create trace -n SSDTDebug -p "Microsoft-SQLServerDataToolsVS" 0x800 -o "%LOCALAPPDATA%\SSDTDebug.etl" -ets
    Run whatever the target/issue scenario is in SSDT.
    Go back to the command prompt and run the following commands
    logman stop DacFxDebug -ets
    logman stop SSDTDebug -ets
    The resulting ETL files will be located at %LOCALAPPDATA%\SSDTDebug.etl & %LOCALAPPDATA%\DacFxDebug.etl and can be navigated to using Windows Explorer.
    Please attach this file when creating the connect bug
    NOTE - These logs will only be used by Microsoft product team members in order to better diagnose the problem you are experiencing
    with SSDT and will not be shared elsewhere. If you want to make sure that there is no private information in your ETL file, the SSDTDebug.etl file can be opened and analyzed using the Windows Event Viewer.
    To do this, open the Windows Event Viewer application. In the right-hand panel, select Open Saved Log. Navigate to the location where you saved the log, open, and review
    the contents of the trace.
    Thanks,
    Kevin

  • LiveCycle ES Database Initialization Failing with Bootstrapping error

    I did non-turnkey installation of LCES on windows XP and deployed the adobe-livecycle-jboss.ear on Jboss-4.0.2 app server. Also created databases called adobe and adobe_meta in MySql and grant all permissions to adobe user.
    Then configured datasource as per deployment guide with jndi-name as IDP_DS and put the adobe-ds.xml file in server/all/deploy folder.
    When I try to initialize the database using Configuration Manager, the following error occurs:
    com.adobe.livecycle.bootstrap.BootstrapException: ALC-TTN-103-000: Bootstrapping request failed on server
    ALC-TTN-002-001: JDBC datasource lookup failed for resource reference [java:comp/env/jdbc/
    IdpDs]. The most likely cause is that a datasource having a JNDI
    name of [IDP_DS] does not exist or is misconfigured. Check the application
    server's configuration.
    In server console it shows javax.naming.NameNotFoundException: XAConnectionFactory exception.
    I am getting LiveCycle Administration Login page but could not loging since database entries have not done yet.
    If anybody could help me out of this issue that would be really appreciable.

    The issue with LiveCycle ES Database Initialization has been resolve and I am able to login to the administration console.
    It was an issue with Jboss which was giving some parsing exception. When removed the option ( -Djava.endorsed.dirs=%JBOSS_HOME%/server/all/lib/endorsed ) from the run.bat script, the server started smothly enough to complete the deploy process
    Thanks to all and I appreciate the support I got from the forum.
    Cheers.

  • Database Logon Failed after first report

    I have a Windows Server 2003 x86 server running IIS6 and ASP.NET. On this server, I have two different web forms set up to export Crystal Reports to PDF.
    My problem is that only one of these reports can run. For example, I open report 1 and can then reopen (generate PDF of) report1 as many times as I want. I cannot open report 2 - I get a "Database Logon Failed" error message. If I restart the server, I can generate a PDF of report 2 successfully and as many times as I want but report 1 will get a "Database Logon Failed" error message.
    Has anyone seen this behavior before? My code is very concise and manually closes the report document (and forces the garbage collection to run) once the PDF has been generated. However, for some reason, the report is staying in memory and is trying to run again even though it has been closed. It is driving me crazy.
    Thanks in advance for any assistance you can offer.

    Let's get the server confusion out of the way.
    A "server" runtime install is an msi file called CrystalReports11_5_NET_2005.msi.
    The msi is in a download called Crystal Reports XI Release 2 - FP x.x .NET Server Install (where x.x refers to SP or FP version (e.g.; Crystal Reports XI Release 2 - FP 5.6 .NET Server Install)
    So, this gives you an easy way of installing the CR runtime on a server (e.g.. Win 2003 server). No CR server (RAS) implication here. To install the runtime, all you have to do is run the msi, provide the keycode when prompted and the runtime is installed. You should see the directory C:\Program Files\Business Objects\Common\3.5\bin created. No pretty interface, etc. If you want a pretty interface, you create your own setup project or msi using the CR msm files.
    Hopefully this clears up the "server" confusion.
    To the actual issue on hand.
    You say this works with older "Crystal Reports viewers" installed on a WIN 2003 64 bit server. My question is; does this CR XI r2 based app work anywhere? Your dev box? Staging server?
    Ludek

  • Database open fails after online backup recovery

    Hi Friends
    We are trying to set up an additional server using the online backup of our DEV server. We have been following SAP Note 549828 for the same. Having restored the online backup, the open database failed.
    To resolve the same, in accordance to SAP Note 549828, we created a backup control file with success using the command
    create controlfile reuse set database DEV resetlogs noarchivelog
    However on issuance of the command
    RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL
    we run into an error as to
    ORA-00279: change 794638222 generated at 10/25/2007 12:43:20 needed for thread 1
    ORA-00289: suggestion : /oracle/DEV/oraarch/DEVarch1_9766.dbf
    ORA-00280: change 794638222 for thread 1 is in sequence #9766
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00308: cannot open archived log '/oracle/DEV/oraarch/DEVarch1_9766.dbf'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/oracle/DEV/sapdata1/system_1/system.data1'
    We even manually copied the file system.data1 from the source to the target server but to no avail.
    Also the SQL command
    SELECT FILE#, CHANGE# FROM V$RECOVER_FILE
    displays a different change# for system.data1 while it is showing same number for all other datafiles.
    Please advice at the earliest as we are struck. Points awaiting their master.
    Regards
    Lokesh Gupta

    Some inputs addition to Erics comments
    The problem is you dont have archives ie Offline redo logfiles in correct location.
    /oracle/DEV/oraarch/DEVarch1_9766.dbf  Here DEVarch1_9766 is archive file which is misssing from location /oracle/DEV/oraarch. To recover DB you need Archives generated during hot backup.
    Generally these steps willl give you desired result.
    select * from v$logfile;
    We normally switch the log files to the number of log groups that exist
    alter system switch logfile;
    create a Backup directory to hold our hot back datafiles and Archives
    When the backup is complete check the backup location to see if all the files are available. We could now either FTP the same to the other system or copy over these files to another location in case of cloning on the same system.
    Copy over all the files to their respective filesystems and directories and then edit the file that was created using the backup controlfile to trace. Copy that file to the remote system and edit it accordingly.
    check that all the files are in the right location and edit that information in the control file
    Once the controlfile is run successfully and you get the statement processed, we can start applying the archive logs that we have moved to the archive log destination directory as per the init<sid>.ora file.
    do a recover of the database to its consistent state
    recover database using backup controlfile until cancel;
    The create control file command only changes the structure of the database and the SID name, the header of the datafiles still hold all the required information. The above command would ask you to input the archive log file names one by one to do recovery or you could choose the AUTO option. Once the recovery process is complete, open the database with the resetlogs option
    Regards
    Vinod

  • Database login failed after upgrade to VS 2008

    I am having trouble with one of my reports after upgrading a project from VS 2005 to VS 2008. All reports work fine except for one. The one that doesn't work has a subreport and I am assuming that the subreport is the cause of the problem.
    My configuration is  - using Crystal Reports Professional XI  (11.5.8.826)
    The web server has Crystal reports server install, but I know very little about it. When I installed it, I had so much trouble configuring it, I don't know what it is that I finally got to work on the server. I think I ended up installing one of the runtimes a while back to get it working.
    When I upgraded my project, I simply opened the project in VS 2008, set the target as .net 3.5, built it and everything works except for this one report.
    Can someone please tell me what I need to install, or change on the server to make this work properly?
    Is there a way that I can determine how my reports are being served up? As I said, I'm not very familiar with the CR server and I had a lot of trouble with it when I did the initial configuration.
    Thanks

    Thanks for the reply. I got the upgrade complete, but I am still getting the database logon error.  I am using Visual Studio 2008, C#, Crystal Reports 2008 (dll version 12.0.2), Sql Server 2000. All of my reports work fine except for this one. The difference in this one is that it has a subreport. The report and subreport are using stored procedures. I have tried using the sa account to login to them. They login to two different databases on the same database server.
    Here is the code that I am using to login to the database.
    public enum ReportDatabase{MGA, Brokers, Intranet, TimeClock };
            public void SetDBLogonForTables(Tables tables, ReportDatabase database)
                string _userid = string.Empty;
                string _password = string.Empty;
                switch (database)
                    case ReportDatabase.MGA:
                        _userid = "abc";
                        _password = "123";
                        break;
                    case ReportDatabase.Brokers:
                        _userid = "abc";
                        _password = "123";
                        break;
                    case ReportDatabase.Intranet:
                        _userid = "abc";
                        _password = "123";
                        break;
                    case ReportDatabase.TimeClock:
                        _userid = "abc";
                        _password = "123";
                        break;
                ConnectionInfo _connection = new ConnectionInfo();
                _connection.ServerName = "123.123.123.212";
                _connection.DatabaseName = database.ToString();
                _connection.UserID = _userid;
                _connection.Password = _password;
                foreach (Table table in tables)
                    TableLogOnInfo _logoninfo = table.LogOnInfo;
                    _logoninfo.ConnectionInfo = _connection;
                    table.ApplyLogOnInfo(_logoninfo);

Maybe you are looking for

  • Report value pass to another Report

    From my 1st report I am doing CASE LV_UCOMM. WHEN '&IC1'.       READ TABLE DISP INDEX SELFIELD-TABINDEX.       CASE SELFIELD-FIELDNAME. WHEN 'TXZ01'.           WA_PARAMS-SELNAME = 'TK_MATNR'.           WA_PARAMS-KIND = 'S'.           WA_PARAMS-SIGN =

  • ITunes crashes when I plug in my iPod

    The problem started with iTunes 9.0.1. My iPod was plugged into my PC and I was playing music from it when it just cut out half way through the song. I tried to bring up iTunes but it was non-responsive. I closed it, restarted my computer and tried a

  • Opening existing project with PRE 9

    I have Premier Elements 9.0. When I start PRE and try to open a saved project, all I get is an empty window. The only way I can open an existing project is to first start a new one, then open the existing one from the File menu. I don't know if it's

  • What is the best program to do this?

    Hola I'm trying to put some music into a website and I found this http://www.flashmusicstudio.com/ --sorry if I don't put it in a link-- ...I think it's awesome, but it doesn't work or I cannot make it work. If I put the finish file in the webpage th

  • MDM DB Views - Can we create in SP08?

    Hi All, MDM DB Views - Can we create in MDM 7.1 SP08? Please share the steps to be followed for this. Regards, ganga