SQL1119N  A connection to or activation of database "DEV"

Hello All,
am Gautam Poddar from PwC, Kolkata. I have talked with you just now.
We have activated the logretain and userexit on after taking the full ofline backup of the system. We were unable to take the online backup, so log directory was full. So we have moved the log file from log directory to another directory. After that we have increased the size of the log directory and copy all the log files to log directory but database connection is failed. I am getting this error while try to connect with this command > connect to dev
SQL1042C An unexpected system error occurred. SQLSTATE=58004
Yesterday I was unable to resolve the problem. So I have restored all the file system from OS level Backup.  Now I am not able to connect the Database and it is giving this error message
ecldevqa:db2dev 5> db2 connect to DEV
SQL1119N  A connection to or activation of database "DEV" cannot be made
because a previous restore is incomplete.  SQLSTATE=57019
Restored these file system
/dev/sapvg/devsaptemp1
                   1572864   16768 1544008    1% /db2/DEV/saptemp1
/dev/sapvg/devsapdata4
                   41943040 23979664 17823088   57% /db2/DEV/sapdata4
/dev/sapvg/devsapdata3
                   41943040 23979664 17823088   57% /db2/DEV/sapdata3
/dev/sapvg/devsapdata2
                   41943040 23979664 17823088   57% /db2/DEV/sapdata2
/dev/sapvg/devsapdata1
                   41943040 23979664 17823088   57% /db2/DEV/sapdata1
/dev/sapvg/DEV_LOG_DIR
                   10485760 5390328 5055680   52% /db2/DEV/log_dir
/dev/sapvg/devdb2dump
                   3145728 2757168  385592   88% /db2/DEV/db2dump
/dev/sapvg/db2dev  3145728  100224 3021728    3% /db2/db2dev
I have seen these out put has not changed after restoration > db2 get db cfg for DEV
ecldevqa:db2dev 17> db2 get db cfg for DEV
       Database Configuration for Database DEV
Database configuration release level                    = 0x0b00
Database release level                                  = 0x0b00
Database territory                                      = en_US
Database code page                                      = 1208
Database code set                                       = UTF-8
Database country/region code                            = 1
Database collating sequence                             = IDENTITY_16BIT
Alternate collating sequence              (ALT_COLLATE) =
Database page size                                      = 16384
Dynamic SQL Query management           (DYN_QUERY_MGMT) = DISABLE
Discovery support for this database       (DISCOVER_DB) = ENABLE
Restrict access                                         = NO
Default query optimization class         (DFT_QUERYOPT) = 5
Degree of parallelism                      (DFT_DEGREE) = 1
Continue upon arithmetic exceptions   (DFT_SQLMATHWARN) = NO
Default refresh age                   (DFT_REFRESH_AGE) = 0
Default maintained table types for opt (DFT_MTTB_TYPES) = SYSTEM
Number of frequent values retained     (NUM_FREQVALUES) = 10
Number of quantiles retained            (NUM_QUANTILES) = 20
Backup pending                                          = NO
Database is consistent                                  = NO
Rollforward pending                                     = NO
Restore pending                                         = NO
Multi-page file allocation enabled                      = YES
Log retain for recovery status                          = NO
User exit for logging status                            = YES
Self tuning memory                    (SELF_TUNING_MEM) = OFF
Size of database shared memory (4KB)  (DATABASE_MEMORY) = COMPUTED
Database memory threshold               (DB_MEM_THRESH) = 10
Max storage for lock list (4KB)              (LOCKLIST) = 20000
Percent. of lock lists per application       (MAXLOCKS) = 90
Package cache size (4KB)                   (PCKCACHESZ) = 5120
Sort heap thres for shared sorts (4KB) (SHEAPTHRES_SHR) = 20000
Sort list heap (4KB)                         (SORTHEAP) = 2048
Database heap (4KB)                            (DBHEAP) = 35000
Catalog cache size (4KB)              (CATALOGCACHE_SZ) = 2560
Log buffer size (4KB)                        (LOGBUFSZ) = 1024
Utilities heap size (4KB)                (UTIL_HEAP_SZ) = 10000
Buffer pool size (pages)                     (BUFFPAGE) = 10000
Max size of appl. group mem set (4KB) (APPGROUP_MEM_SZ) = 128000
Percent of mem for appl. group heap   (GROUPHEAP_RATIO) = 25
Max appl. control heap size (4KB)     (APP_CTL_HEAP_SZ) = 1600
SQL statement heap (4KB)                     (STMTHEAP) = 5120
Default application heap (4KB)             (APPLHEAPSZ) = 4096
Statistics heap size (4KB)               (STAT_HEAP_SZ) = 15000
Interval for checking deadlock (ms)         (DLCHKTIME) = 10000
Lock timeout (sec)                        (LOCKTIMEOUT) = 3600
Changed pages threshold                (CHNGPGS_THRESH) = 40
Number of asynchronous page cleaners   (NUM_IOCLEANERS) = AUTOMATIC
Number of I/O servers                   (NUM_IOSERVERS) = AUTOMATIC
Index sort flag                             (INDEXSORT) = YES
Sequential detect flag                      (SEQDETECT) = YES
Default prefetch size (pages)         (DFT_PREFETCH_SZ) = AUTOMATIC
Track modified pages                         (TRACKMOD) = ON
Default number of containers                            = 1
Default tablespace extentsize (pages)   (DFT_EXTENT_SZ) = 2
Max number of active applications            (MAXAPPLS) = AUTOMATIC
Average number of active applications       (AVG_APPLS) = AUTOMATIC
Max DB files open per application            (MAXFILOP) = 1950
Log file size (4KB)                         (LOGFILSIZ) = 16380
Number of primary log files                (LOGPRIMARY) = 20
Number of secondary log files               (LOGSECOND) = 40
Changed path to log files                  (NEWLOGPATH) =
Path to log files                                       = /db2/DEV/log_dir/NODE
0000/
Overflow log path                     (OVERFLOWLOGPATH) =
Mirror log path                         (MIRRORLOGPATH) =
First active log file                                   = S0000062.LOG
Block log on disk full                (BLK_LOG_DSK_FUL) = YES
Percent max primary log space by transaction  (MAX_LOG) = 0
Num. of active log files for 1 active UOW(NUM_LOG_SPAN) = 0
Group commit count                          (MINCOMMIT) = 1
Percent log file reclaimed before soft chckpt (SOFTMAX) = 300
Log retain for recovery enabled             (LOGRETAIN) = OFF
User exit for logging enabled                (USEREXIT) = OFF
HADR database role                                      = STANDARD
HADR local host name                  (HADR_LOCAL_HOST) =
HADR local service name                (HADR_LOCAL_SVC) =
HADR remote host name                (HADR_REMOTE_HOST) =
HADR remote service name              (HADR_REMOTE_SVC) =
HADR instance name of remote server  (HADR_REMOTE_INST) =
HADR timeout value                       (HADR_TIMEOUT) = 120
HADR log write synchronization mode     (HADR_SYNCMODE) = NEARSYNC
First log archive method                 (LOGARCHMETH1) = OFF
Options for logarchmeth1                  (LOGARCHOPT1) =
Second log archive method                (LOGARCHMETH2) = OFF
Options for logarchmeth2                  (LOGARCHOPT2) =
Failover log archive path                (FAILARCHPATH) =
Number of log archive retries on error   (NUMARCHRETRY) = 5
Log archive retry Delay (secs)         (ARCHRETRYDELAY) = 20
Vendor options                              (VENDOROPT) =
Auto restart enabled                      (AUTORESTART) = ON
Index re-creation time and redo index build  (INDEXREC) = SYSTEM (RESTART)
Log pages during index build            (LOGINDEXBUILD) = OFF
Default number of loadrec sessions    (DFT_LOADREC_SES) = 1
Number of database backups to retain   (NUM_DB_BACKUPS) = 12
Recovery history retention (days)     (REC_HIS_RETENTN) = 60
TSM management class                    (TSM_MGMTCLASS) =
TSM node name                            (TSM_NODENAME) =
TSM owner                                   (TSM_OWNER) =
TSM password                             (TSM_PASSWORD) =
Automatic maintenance                      (AUTO_MAINT) = ON
   Automatic database backup            (AUTO_DB_BACKUP) = OFF
   Automatic table maintenance          (AUTO_TBL_MAINT) = ON
     Automatic runstats                  (AUTO_RUNSTATS) = ON
     Automatic statistics profiling    (AUTO_STATS_PROF) = OFF
       Automatic profile updates         (AUTO_PROF_UPD) = OFF
     Automatic reorganization               (AUTO_REORG) = OFF
Before restoration it was "First active log file                                   = S0000062.LOG" and after restoration this parameter has not changed.
db2diag.log >
INSTANCE: db2dev               NODE : 000
FUNCTION: DB2 UDB, routine_infrastructure, sqlerFmpListener, probe:999
MESSAGE : FMP exiting with error. Last agent registered:
DATA #1 : Hexdump, 4 bytes
0x9FFFFFFFFFFFEEE4 : 0000 0000                                  ....
2008-01-30-10.34.12.283359+330 I2618633502A1630   LEVEL: Event
PID     : 12514                TID  : 1           PROC : db2start
INSTANCE: db2dev               NODE : 000
FUNCTION: DB2 UDB, base sys utilities, sqleStartStopSingleNode, probe:1130
DATA #1 : String, 31 bytes
/db2/db2dev/sqllib/adm/db2star2
DATA #2 : Hexdump, 256 bytes
0x9FFFFFFFFFFFBBC0 : 2F64 6232 2F64 6232 6465 762F 7371 6C6C    /db2/db2dev/sqll
0x9FFFFFFFFFFFBBD0 : 6962 2F61 646D 2F64 6232 7374 6172 3200    ib/adm/db2star2.
0x9FFFFFFFFFFFBBE0 : 4E4F 4D53 4700 0000 0000 0000 0000 0000    NOMSG...........
0x9FFFFFFFFFFFBBF0 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
0x9FFFFFFFFFFFBC00 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
0x9FFFFFFFFFFFBC10 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
0x9FFFFFFFFFFFBC20 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
0x9FFFFFFFFFFFBC30 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
0x9FFFFFFFFFFFBC40 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
0x9FFFFFFFFFFFBC50 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
0x9FFFFFFFFFFFBC60 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
0x9FFFFFFFFFFFBC70 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
0x9FFFFFFFFFFFBC80 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
0x9FFFFFFFFFFFBC90 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
0x9FFFFFFFFFFFBCA0 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
0x9FFFFFFFFFFFBCB0 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
2008-01-30-10.34.14.121256+330 E2618635133A1198   LEVEL: Event
PID     : 12517                TID  : 1           PROC : db2star2
INSTANCE: db2dev               NODE : 000
FUNCTION: DB2 UDB, base sys utilities, DB2StartMain, probe:911
MESSAGE : ADM7513W  Database manager has started.
START   : DB2 DBM
DATA #1 : Build Level, 152 bytes
Instance "db2dev" uses "64" bits and DB2 code release "SQL09011"
with level identifier "01020107".
Informational tokens are "DB2 v9.1.0.1", "s061104", "U809678", Fix Pack "1".
DATA #2 : System Info, 104 bytes
System: HP-UX ecldevqa B.11.23 U ia64
CPU: total:6 online:6 Threading degree per core:1
Physical Memory(MB): total:16354 free:9294
Virtual  Memory(MB): total:49122 free:42062
Swap     Memory(MB): total:32768 free:32768
Kernel   Params: msgMaxMessageSize:65535 msgMsgMap:2048 msgMaxQueueIDs:512
                 msgNumberOfHeaders:2046 msgMaxQueueSize:65535
                 msgMaxSegmentSize:96 shmMax:17179869184 shmMin:1 shmIDs:400
                 shmSegments:300 semMap:2050 semIDs:2048 semNum:4096
                 semUndo:1024 semNumPerID:2048 semOps:500 semUndoPerProcess:100
                 semUndoSize:824 semMaxVal:32767 semAdjustOnExit:16384
2008-01-30-10.34.50.661312+330 I2618636332A365    LEVEL: Warning
PID     : 12533                TID  : 1           PROC : db2agent (DEV) 0
INSTANCE: db2dev               NODE : 000
APPHDL  : 0-7                  APPID: *LOCAL.db2dev.080130050450
AUTHID  : DB2DEV
FUNCTION: DB2 UDB, base sys utilities, sqleCheckForRestore, probe:10
RETCODE : ZRC=0xFFFFFBA1=-1119
2008-01-30-10.34.50.662169+330 I2618636698A373    LEVEL: Warning
PID     : 12533                TID  : 1           PROC : db2agent (DEV) 0
INSTANCE: db2dev               NODE : 000
APPHDL  : 0-7                  APPID: *LOCAL.db2dev.080130050450
AUTHID  : DB2DEV
FUNCTION: DB2 UDB, base sys utilities, sqlePrepareForSerialization, probe:20
RETCODE : ZRC=0xFFFFFBA1=-1119
2008-01-30-10.34.50.662288+330 I2618637072A353    LEVEL: Severe
PID     : 12533                TID  : 1           PROC : db2agent (DEV) 0
INSTANCE: db2dev               NODE : 000
APPHDL  : 0-7                  APPID: *LOCAL.db2dev.080130050450
AUTHID  : DB2DEV
FUNCTION: DB2 UDB, base sys utilities, sqleserl, probe:10
RETCODE : ZRC=0xFFFFFBA1=-1119
2008-01-30-10.43.19.986356+330 I2618637426A365    LEVEL: Warning
PID     : 12532                TID  : 1           PROC : db2agent (DEV) 0
INSTANCE: db2dev               NODE : 000
APPHDL  : 0-10                 APPID: *LOCAL.db2dev.080130051319
AUTHID  : DB2DEV
FUNCTION: DB2 UDB, base sys utilities, sqleCheckForRestore, probe:10
RETCODE : ZRC=0xFFFFFBA1=-1119
2008-01-30-10.43.19.987187+330 I2618637792A373    LEVEL: Warning
PID     : 12532                TID  : 1           PROC : db2agent (DEV) 0
INSTANCE: db2dev               NODE : 000
APPHDL  : 0-10                 APPID: *LOCAL.db2dev.080130051319
AUTHID  : DB2DEV
FUNCTION: DB2 UDB, base sys utilities, sqlePrepareForSerialization, probe:20
RETCODE : ZRC=0xFFFFFBA1=-1119
2008-01-30-10.43.19.987305+330 I2618638166A353    LEVEL: Severe
PID     : 12532                TID  : 1           PROC : db2agent (DEV) 0
INSTANCE: db2dev               NODE : 000
APPHDL  : 0-10                 APPID: *LOCAL.db2dev.080130051319
AUTHID  : DB2DEV
FUNCTION: DB2 UDB, base sys utilities, sqleserl, probe:10
RETCODE : ZRC=0xFFFFFBA1=-1119
ecldevqa:db2dev 20>
Thanks & Regards, 
Gautam Poddar 
SAP BASIS 
PricewaterhouseCoopers (P) Limited

Hi Gautam
As Adam said ....
1. never manually move db2 active log files
2. IBM does not support filesystem restores.
The only solution for you is to restore the offline backup and if you have archive logs, then you can do a rollforward .
Amit
Edited by: amit chak on Aug 19, 2008 8:07 PM

Similar Messages

  • Weblogic Connection pool active even database listener down

    Just wanted to check if sometime noticed this.
    Today.. In production our Database listener was down and connection pools in weblogic were still working fine. But, when tried making a explicit call to DB it throws exception "The Network Adapter could not establish the connection"..
    Couple of days back our production database was restarted. Sill weblogic connection pool was active without restart.
    Any info. is appreciate..
    Thanks

    Hi Jung,
    There is no timeout current that you can set on the connection pool. It will
    be in a future release of WebLogic
    sree
    "Jung Yang" <[email protected]> wrote in message
    news:[email protected]..
    Thanks.
    Yes I know that part.
    However, I still would like to know how to get time out settings andchange
    if I can.
    Where can I do that?
    - jung
    "Sree Bodapati" <[email protected]> wrote in message
    news:[email protected]..
    set TestConnectionsOnReserve="true" in the pool and you should be all
    set.
    >>
    sree
    "Jung Yang" <[email protected]> wrote in message
    news:[email protected]..
    I am currently using WLS 6.0 SP2 RP2 with jdbc thin oracle driver.
    What is the timeout setting on weblogic connection pool?
    I would like to set max number of seconds waiting for reply to connect
    to
    a
    database so that it does not wait too long before realizing that it isdown.
    Also if there is a setting that can be configured, is it jdbc api
    implementation or weblogic specific?
    Thanks in advance.

  • Best practise for creating an application that connects to a SQL Server database

    I have created an application that connects to a SQL Server database and views information using a datagrid and performs several updates when a button
    is selected.  
    I have created a SQLcontrol.vb using the following code:
    Imports System.Data.Sql
    Imports System.Data.SqlClient
    Public Class SQlControl
    'connection 1
        Public SQLCon As New SqlConnection With {.ConnectionString
    = "Data Source=;Initial Catalog=;Integrated Security=True"}
    'connection 2
        Public SQLCon1 As New SqlConnection With {.ConnectionString
    = "Data Source;Initial Catalog=;Integrated Security=True"}
        Public sqlcmd As SqlCommand
        Public sqlda As SqlDataAdapter
        Public sqldataset As DataSet
        Public Function hasconnection() As Boolean
            Try
                SQLCon.open()
                SQLCon.close()
                Return True
            Catch ex As Exception
                MsgBox(ex.Message)
                Return False
            End Try
        End Function
        Public Sub runquery(query As String)
            Try
                SQLCon.Open()
                sqlcmd = New SqlCommand(query,
    SQLCon)
                'LOAD
    SQL RECORDS FOR DATAGROD
                sqlda = New SqlDataAdapter(sqlcmd)
                sqldataset = New DataSet
                sqlda.Fill(sqldataset)
    BH READ DIRECTLY FROM THE DATABASE
                'Dim
    R As SqlDataReader = sqlcmd.ExecuteReader
                'While
    R.Read
                'MsgBox(R.GetName(0)
    & ": " & R(0))
                'End
    While
                SQLCon.Close()
            Catch ex As Exception
                MsgBox(ex.Message)
                'will
    close connection if still open
                If SQLCon.State
    = ConnectionState.Open Then
                    SQLCon.Close()
                End If
            End Try
        End Sub
        Public Sub runquery1(query As String)
            Try
                SQLCon1.Open()
                sqlcmd = New SqlCommand(query,
    SQLCon1)
                'LOAD
    SQL RECORDS FOR DATAGROD
                sqlda = New SqlDataAdapter(sqlcmd)
                sqldataset = New DataSet
                sqlda.Fill(sqldataset)
    BH READ DIRECTLY FROM THE DATABASE
                'Dim
    R As SqlDataReader = sqlcmd.ExecuteReader
                'While
    R.Read
                'MsgBox(R.GetName(0)
    & ": " & R(0))
                'End
    While
                SQLCon1.Close()
            Catch ex As Exception
                MsgBox(ex.Message)
                'will
    close connection if still open
                If SQLCon1.State
    = ConnectionState.Open Then
                    SQLCon1.Close()
                End If
            End Try
        End Sub
    End Class
    A code for one of my button which views displays data grid contains the following code:
    Private Sub Button1_Click_1(sender As Object,
    e As EventArgs) Handles Button1.Click
            If SQL.hasconnection
    = True Then
                SQL.runquery("select 
    * from tablea")
                If SQL.sqldataset.Tables.Count
    > 0 Then
                    DGVData.DataSource = SQL.sqldataset.Tables(0)
                End If
            End If
        End Sub
    I am fairly new to vb.net and have read a few books and followed a few tutorials on youtube, what I would like to know is, are there any disadvantages
    to the way I have connected to a SQL database using the SQLControl.vb.  A lot of the vb books include data adapter and dataset within the form, I'm not sure if I'm following best practice by have the connection details outside of the form.
    My other question is, I have created two connections in the SQLControl and call these connections within the same form using the same data adapter
    and dataset.  It all works fine but I just wanted to know of any potential issues?
    Public SQLCon As New SqlConnection With {.ConnectionString
    = "Data Source=;Initial Catalog=;Integrated Security=True"}
    'connection 2
        Public SQLCon1 As New SqlConnection With {.ConnectionString
    = "Data Source;Initial Catalog=;Integrated Security=True"}
    Thanks

    My other question is, I have created two connections in the SQLControl and call these connections within the same form using the same data adapter and dataset.  It all works fine but
    I just wanted to know of any potential issues
    1) You are not using Sepration of concerns for a solution that is doing data access, like using a DAL.
    http://en.wikipedia.org/wiki/Separation_of_concerns
    2) You are directly issuing SQL commands at the UI, leading to sql injection attacks.
    3) You are not using a UI design pattern, which leads you to tightly couple database activity to the UI.
    http://www.codeproject.com/Articles/228214/Understanding-Basics-of-UI-Design-Pattern-MVC-MVP
    @System243trd, parameters are important to prevent SQL injection attacks (people will insert SQL commands into the database if you do not perform basic checking of what you are passing to the database). If you write a stored procedure try to make
    the variables the correct SQL server data type to avoid problems later of people trying to call it directly.  Darnold924 is right, I see no code to prevent against SQL injection attacks. In addition, during development in some instances LocalSQLDB
    database system is used and during deployment you usually need to use the production SQL server database. Moreover,  Linq-to-SQL is used on Windows Phone 8.1 and it is required for phone development later and so I highly recommend learning
    it if you plan on developing windows phone applications.
    @System243trd, If you want the code for the windows phone app I think it uses the MVVM model or that might be for universal apps or regular windows phone apps. I have been using the windows phone Silverlight pivot or panorama template (it might
    be pieces of both). I've already submitted to the windows phone marketplace and it had to go through certification first. I plan on later making an article on it but I need to first fix one or two simple problems I have with it.  Here's a link to
    the source code if you later want to look at the source code (in vb.net): 
    https://jeffsblogcodesamples.codeplex.com/downloads/get/1445836
    Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - Sherlock Holmes. speak softly and carry a big stick - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering - Yoda. Blog
    - http://www.computerprofessions.us

  • "Could not connect to the ConfigMgr site database" problem with SCCM

    The scenario is:
    - SCCM 2007 SP1 installed on one server
    - SQL 2008 installed on the other server
    - Console was also installed on the SCCM server.
    Everything was working just fine for about three months. As of few days ago, out of nowhere, I cannot open the console at all, it gives me this error:
    " The ConfigMgr console could not connect to the ConfigMgr site database. Verify that this computer has network connectivity to the SMS Provider computer and that your user account has Remote Activation permissions on both
    the ConfigMgr site server and SMS Provider computers. For more information, see "How to Configure DCOM Permissions for Configuration Manager Console Connections" in ConfigMgr Help. "
    I confirmed all permissions (DCOM) and group settings (SMS Admin) and everything looks fine. I also noticed one other thing and I have a feeling its related - I log on to SCCM server and then from there I try to start RDP
    connection to SQL server. I can connect, but as soon as I move the mouse or try clicking somewhere it breaks the connection and the "Trying to re-connect" window appears. It can`t establish normal RDP connection. If I try from any other server to SQL, it works
    fine...
    Any suggestions will be appreciated.
    Dino

    looks like I celebrated way too early - after working for about 20 minutes, it started throwing the same error again. Th adminUI log has this entry:
    ===========================================================================================================0
    [3][13.4.2011 13:33:45] :Error returned from WMI Query Engine\r\nMicrosoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryException\r\nThe ConfigMgr Provider reported an error connecting to the ConfigMgr site database server. Verify
    that the SQL Server is online and that ConfigMgr site server computer account is an administrator on the ConfigMgr site database server.\r\n   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryResultsObject.<GetEnumerator>d__0.MoveNext()
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryProcessor.ProcessQueryWorker(AsyncOperationDatabase asyncData)
       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)\r\nConfigMgr Error Object:
    instance of SMS_ExtendedStatus
        CauseInfo = "";
        Description = "Unable to get SQL connection.";
        ErrorCode = 3242263810;
        File = "e:\\nts_sms_fre\\sms\\siteserver\\sdk_provider\\smsprov\\sspobjectquery.cpp";
        Line = 1861;
        Operation = "ExecQuery";
        ParameterInfo = "select * from SMS_ConfigurationBaselineInfo where UPPER(CI_UniqueID) NOT IN (SELECT UPPER(InstanceKey) FROM SMS_ObjectContainerItem WHERE ObjectType=2011) ORDER BY LocalizedDisplayName";
        ProviderName = "WinMgmt";
        SQLMessage = "[08S01][11][Microsoft][ODBC SQL Server Driver][DBNETLIB]General network error. Check your network documentation.";
        SQLSeverity = 0;
        SQLStatus = 11;
        StatusCode = 2147749889;
    Unable to get SQL connection.
    \r\nSystem.Management.ManagementException\r\nGeneric failure \r\n   at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
       at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryResultsObject.<GetEnumerator>d__0.MoveNext()\r\nManagementException details:
    instance of SMS_ExtendedStatus
        CauseInfo = "";
        Description = "Unable to get SQL connection.";
        ErrorCode = 3242263810;
        File = "e:\\nts_sms_fre\\sms\\siteserver\\sdk_provider\\smsprov\\sspobjectquery.cpp";
        Line = 1861;
        Operation = "ExecQuery";
        ParameterInfo = "select * from SMS_ConfigurationBaselineInfo where UPPER(CI_UniqueID) NOT IN (SELECT UPPER(InstanceKey) FROM SMS_ObjectContainerItem WHERE ObjectType=2011) ORDER BY LocalizedDisplayName";
        ProviderName = "WinMgmt";
        SQLMessage = "[08S01][11][Microsoft][ODBC SQL Server Driver][DBNETLIB]General network error. Check your network documentation.";
        SQLSeverity = 0;
        SQLStatus = 11;
        StatusCode = 2147749889;
    \r\n
    ====================================================================================================
    As I mentioned in my first post, the RDP from SCCM to SQL servers is not working and I think that is related to my problem....suggestions?

  • Server cleanup wizard problem - unable to connect to the WSUS Server Database.

    I'm trying to run server cleanup wizard.. it starts to run and then after a while it gives me this error:
    The WSUS administration console was unable to connect to the WSUS Server Database.
    Verify that SQL server is running on the WSUS Server. If the problem persists, try restarting SQL.
    System.Data.SqlClient.SqlException -- Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
    The statement has been terminated.
    Source
    .Net SqlClient Data Provider
    Stack Trace:
       at Microsoft.UpdateServices.Internal.BaseApi.SoapExceptionProcessor.DeserializeAndThrow(SoapException soapException)
       at Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccessProxy.ExecuteSPSearchUpdates(String updateScopeXml, String preferredCulture, ExtendedPublicationState publicationState)
       at Microsoft.UpdateServices.Internal.BaseApi.Update.SearchUpdates(UpdateScope searchScope, ExtendedPublicationState publicationState, UpdateServer updateServer)
       at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.GetUpdates(UpdateScope searchScope)
       at Microsoft.UpdateServices.UI.AdminApiAccess.UpdateManager.GetUpdates(ExtendedUpdateScope filter)
       at Microsoft.UpdateServices.UI.AdminApiAccess.WsusSynchronizationInfo.InitializeDerivedProperties()
       at Microsoft.UpdateServices.UI.AdminApiAccess.WsusSynchronizationInfo.get_NewUpdatesCount()
       at Microsoft.UpdateServices.UI.SnapIn.Pages.SyncResultsListPage.GetSyncInfoRow(WsusSynchronizationInfo syncInfo)
       at Microsoft.UpdateServices.UI.SnapIn.Pages.SyncResultsListPage.GetListRows()
    Thanks

     Some questions:
    Are there any other databases running on this Std Edition SQL service?
    [a] Yes there are, we have Kaspersky enterprise DB, Report Server DB and local application DB.
    Are there any other services running on this WSUS Server?
    [b] Yes there are, we have Active Directory, Kaspersky enterprise, SQL Server 2005, and WSUS all on the same server.
    How many days since your WSUS server was first installed?
    [c] It's been about a year now.
    What is the physical size of the SUSDB.mdf file?
    [d] 9,666,752 KB
    What is the hardware configuration of this machine, including disk drives?
    [e] Intel Xeon 1.86, 2GB Ram, HD C: 39GB - E: 25.2, running Windows Server 2003 R2 SP2.
    How many client systems are you servicing from this WSUS Server?
    [f] Around 40.
    What products/classifications are you synchronizing.
    [g] Windows XP-vista, Windows Server 2003, Office 2003-2007, SQL Server 2005.
    Okay, for starters, you have an underpowered/overextended machine running Active Directory, ASP.NET, and a database server, all on a sub 2GHz CPU with 2GB RAM, and not enough disk spindles. The machine has had WSUS running for about a year and is 9GB in size.
    There's no doubt in my mind that some of your performance issues are directly related to disk and database fragmentation.
    There's also no doubt that some of your performance issues are directly related to memory starvation.
    I'd suggest the following long-term fixes:
    1. Get a second machine. Make it a dedicated database server. Provision it accordingly to support servicing multiple database applications.
    2. Lacking #1, this machine needs more memory. It also needs more disk spindles. At a minimum the databases being serviced should be on a dedicated physical drive; ideally there would be two dedicated drives allocated for supporting database services. The
    For the short-term fixes, do this:
    1. During after-hours time, if you don't already have one, build a temporary machine that can act as a DC/GC, while you take this machine temporarily offline.
    1. Shutdown the Update Services service, SQL Server database engine, and any other services dependent on the SQL Server database engine (Kapersky, and other reporting applications). Disconnect from the network to temporarly eliminate DC traffic. (You could also shutdown the AD services, but disconnecting the network cable is ever-so-much easier.) Defragment ALL drives.
    2. Restart ONLY the SQL Server service. Obtain this SQL script to Reindex the WSUS Databases.
    3. Restart ONLY the Update Services service. Attempt the Server Cleanup Wizard again. Run it in two passes. Pass 1 performing everything except  remove unused updates. Pass 2 running only remove unused updates.
    4. After completion of the Server Cleanup Wizard, reconnect the machine to the network and resume all other services.
    5. If you're able to complete #3, secure the services of a well-qualified DBA to determine if there are any misconfigurations in your SQL Server setup that would account for why your WSUS database is 9GB in size -- such as improperly configured autogrowth parameters. Based on the products you're updating and only forty clients, 9GB is about 3x the maximum size I would expect to see in a WSUS database. It's possible this is simply caused by excess unused updates, it's possible it's caused by fragmentation, it's probable it was caused by unnecessary autogrowth of the database due to insufficient update maintenance. You'll want a DBA to assist you in shrinking that database after you successfully run the Database Maintenance and Server Cleanup Wizard.
    Lawrence Garvin, M.S., MCITP(x2), MCTS(x5), MCP(x7), MCBMSP
    Principal/CTO, Onsite Technology Solutions, Houston, Texas
    Microsoft MVP - Software Distribution (2005-2009)

  • Connections to CMS/AUDIT system Databases lost

    we are often losing connection to CMS/AUDIT system Databases therefore
    users can not log into Infoview.
    The work around is to restart the Server Intelligence Agent (sia.exe)
    Server Details: we have BusObjects Edge standard XI 3.0
    Application Server: MS Windows Server 2003 Standard Edition SP2
    Database Server: MS Windows Server 2003 Standard Edition SP2
    There are multiple errors in our event viewer showing these errors.
    They have been happening for the last week.
    Not sure why this is happening or how to reproduce anyone know how to fix?
    Event viewer > application details:
    Event Type:      Error
    Event Source:   BusinessObjects_CMS
    Event Category:            Database
    Description:
    BusinessObjects Enterprise CMS: All connections to CMS system database ""BO_CMS"" have been lost. The CMS is entering the ""Waiting For Resources"" state. Reason [Microsoft][ODBC SQL Server Driver]Communication link failure
    Description:
    BusinessObjects Enterprise CMS: All connections to CMS audit database ""BO_AUDIT"" have been lost. The CMS can no longer serve as Auditor. Reason: [Microsoft][ODBC SQL Server Driver]Communication link failure
    Edited by: Dennis Alishah on Dec 15, 2010 11:37 PM

    no network problems
    thanks
    Found this is the SAP SMP I also asked them waiting for their reply to see if the below fix is suitable:
    SAP Knowledge Base Article
    Symptom
      CMS restarts and throws Database access error. Reason [Microsoft][ODBC SQL Server Driver]Communication link failure in the event viewer.
      BusinessObjects_CMS,Warning,Database ,33300,N/A,GADEVBO1,Database access error. Reason [Microsoft][ODBC SQL Server Driver]Communication link failure.
      BusinessObjects_CMS,Warning,Database ,33301,N/A,GADEVBO1,Retryable error returned from CMS database. Will retry the request 3 time(s).
      BusinessObjects_CMS,Warning,Database ,33300,N/A,GADEVBO1,Database access error. Reason [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionWrite
    Cause
      The error occurs because Microsoft Windows Server 2003 Service Pack 1 (SP1) and Windows Server 2003 Service Pack 2 (SP2) implement a security feature that the queue for concurrent TCP/IP connections to the server. This feature helps prevent denial of service attacks.
      Under heavy load conditions, the TCP/IP protocol in Windows Server 2003 SP1 and in Windows Server 2003 SP2 may incorrectly identify valid TCP/IP connections service attack.
    Resolution
    WARNING *** The following resolution involves editing the registry. Using the Registry Editor incorrectly can cause serious Use the Registry Editor at your own risk. Refer to Note 1323322 for more information.
    To resolve this issue, turn off this new functionality in Windows Server 2003 SP1 or in Windows Server 2003 SP2 by adding the SynAttackProtect entry to the following registry computer that is running Microsoft SQL Server that houses your BizTalk Server databases.
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
    Set the SynAttackProtect entry to a DWORD value of 00000000.
    To do this, follow these steps:
    1. Click Start, click Run, type regedit, and then click OK.
    2. Locate and then click the following registry key:
      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
    3. On the Edit menu, point to New, and then click DWORD Value.
    4. Type SynAttackProtect, and then press ENTER.
    5. On the Edit menu, click Modify.
    6. In the Value data box, type 00000000. Click OK.
    7. Quit Registry Editor.
    Note To complete this registry change, you must restart the computer that is running SQL Server.
    See Also
    For detailed information, go to the following Microsoft website:
    http://support.microsoft.com/default.aspx?scid=kb;en-us;899599
    Header Data
    References
    Product
    1375277 - CMS lost the SQLServer 2000/2005 communication and restarts intermittently
    Version 1 Validity: 12.08.2009 - active Language English
    Released on 07.10.2009 15:35:25
    Release status Released to Customer
    Component BI-BIP-ADM User & server configuration, InfoView refresh, user rights
    Priority Normal
    Category Problem
    Database MSSQLSRV 2005
    Operating System WIN 2003
    Type ID Title
    Business Objects Notes 1323322 Editing the Windows Registry - Warning
    Product Product Version
    SAP BusinessObjects Business Intelligence platform (formerly SB BOBJ ENTERPRISE XI R2
    1375277 - CMS lost the SQLServer 2000/2005 communication and restarts intermitte... Page 1 of 1
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui/main.do?para... 16/12/2010
    Edited by: Dennis Alishah on Dec 16, 2010 12:23 AM

  • Can't save BISM file pointing to excel sheet (data source). ErrMsg: "There were errors found while validating the page: Cannot connect to the server or database."

    Hi,
    Me and a collegue is administrering our new enterprise BI portal in SharePoint 2013 (On Premise) and have a problem with using a specific Excel file including general ledger data as data source through a BISM file.
    This particular BISM file can't be saved without getting the error message "There were errors found while validating the page: Cannot connect to the server or database."
    BISM files against other Excel sheets and sources (for example SSAS tabular databases) works well.
    Can anyone help us pinpointing whats wrong here, this is a really important stakeholder in our organization requesting this reporting?
    Cheers!

    Hi E.SWARD ,
    My self created a Power pivot excel then i want to use this excel to create BI file . Still i am getting the same error . Pls help me to resolve this issue
    Cannot connect to the server or database.
    I am getting the similar error , if i use Tabular analysis server instance .
    Subhash

  • I installed adobe digital editions but when I want to authorize a device (an e-reader) it doesn't work, I receive an error message that digital editions cannot connect with the activation server. what can I do?

    I installed adobe digital editions but when I want to authorize a device (an e-reader) it doesn't work, I receive an error message that digital editions cannot connect with the activation server. what can I do?

    Please quote the exact error message, word-for-word, verbatim.
    What is your operating system?
    What version of Lightroom?

  • Error message when trying to connect to a SQL Server Database

    All:
    I get the following message when I try to connect to a SQL Server Database within a form:
    "Connection for Source DataConnection failed because the environment is not trusted"
    Can anyone help me solve this problem?
    Thanks,
    BR

    Hi Brian,
    In Acrobat, security concerns dictate that you cannot specify an ODBC connection string by using the Driver=; syntax. Therefore, the client computer using the form needs to have a DSN pre-configured for ODBC connections.
    Denver
    Adobe Enterprise Developer Support

  • I have a toshiba lap top computer with vista and I can not get my iphone to connect all the way .. it says "connected with limited activity"?

    I have a toshiba lap top computer with vista and I can not get my new iphone to connect all the way .... it says "connected with limited activity". which means I don't get on. Any help would be appreciated. Thanks.  

    Hi all,
    Guess I understand what is going on as I'm also experiencing the problem.
    Basically the issue is about the iPhone 4's personal hotspot.
    I'm trying to hook on personal hotspot to my toshiba laptop but it couldnt work as the connection is limited to local only without Internet access.
    The hotspot works well on other laptop and I-devices, but not my toshiba...
    Hope to get assistance here. Thanks

  • How to connect captivate file in a database (MS SQL SERVER 2008)

    Hi...
    How to connect captivate file in a database (MS SQL SERVER 2008) ???
    Kindly response please..
    thanks!!!

    Hi there
    See if the link below helps you out.
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • How to determine the connection string to a SQLite database, in C# code

    Hello. I'm trying to figure out how to specify the connection string to a SQLite database, I would like to access using the following code:
    string connectionString = null;
    SqlConnection connection;
    SqlCommand command;
    SqlDataAdapter adapter = new SqlDataAdapter();
    DataSet ds1 = new DataSet();
    string sql = "SELECT DataName, Data, Id, UserId, DateLastUpdated FROM MainTable";
    connectionString = "Data Source=C:\\SQLITEDATABASES\\SQLITEDB1.sqlite;Version=3;";
    connection = new SqlConnection(connectionString);
    try
    connection.Open();
    command = new SqlCommand(sql, connection);
    catch
    The value I assigned to the variable connectionString, in the code above, I obtained somewhere from the Internet. It does not work. I'm using Visual Studio 2013, against the file sqlite-netFx451-setup-bundle-x86-2013-1.0.96.0.exe, which
    I installed, and got from
    here.
    My application's App.config file looks as follows:
    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
    <configSections>
    </configSections>
    <connectionStrings>
    <add name="DC_Password_Saver.Properties.Settings.DC_Password_SaverConnectionString" connectionString="data source=&quot;C:\Users\patmo_000\Documents\Visual Studio 2013\Projects\DC Password Saver\DC Password Saver\DC Password Saver.db&quot;" providerName="System.Data.SQLite.EF6"/>
    </connectionStrings>
    <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1"/>
    </startup>
    </configuration>
    I tried to use the value assigned to connectionString in the XML settings above, replacing single backslash characters with double backslash characters, because the Visual Studio editor flagged them as unrecognizable, and wound up with the
    following.
    SqlDataAdapter adapter = new SqlDataAdapter();
    DataSet ds1 = new DataSet();
    string sql = "SELECT DataName, Data, Id, UserId, DateLastUpdated FROM MainTable";
    connectionString = "data source=&quot;C:\\Users\\patmo_000\\Documents\\Visual Studio 2013\\Projects\\DC Password Saver\\DC Password Saver\\DC Password Saver.db&quot;";
    connection = new SqlConnection(connectionString);
    The above code however does not work either. So again, does anyone know how I can specify in C# code, a connection string to access my SQLite database? Thanks in advance for your reply.

    What does SQLite connection strings has to do with WPF?
    You will find some valid connection strings here:
    https://www.connectionstrings.com/sqlite/
    But you cannot use the SqlConnection class to connect to a SQLite database. You will need to download and add a reference to the System.Data.SQLite library and then use the SQLiteConnection class:
    connection = new System.Data.SQLite.SQLiteConnection(connectionString);
    try
    connection.Open();
    command = new System.Data.SQLite.SQLiteCommand(sql, connection);
    catch
    Please refer to the following article for more information and an example of how to connect and read and write data from an SQLite database using C#:
    http://blog.tigrangasparian.com/2012/02/09/getting-started-with-sqlite-in-c-part-one/.
    There is contains a link where you can download the required assemblies.
    Hope that helps.
    Please remember to mark helpful posts as answer to close your threads and then start a new thread in an approproate forum if you have a new question.

  • Unable to connect: incorrect log on parameters [Database Vendor Code: 1005]

    We have a report that has been in production for some time and ran successfully with no trouble.  However, it now keeps failing with this error and the log on parameters are correct.  The whole error is:
    Error in
    File / usr/local/bobje/data/procSched/mrspas051.reportjobserver/~ tmp2f0ea56e4c88a08d6.rpt: Unable to connect: incorrect log on parameters, Details: [Database Vendor Code: 1005]. 
    Can you tell us why a report suddenly fails with this error?  Thank you.

    We've been having the same issue with scheduled Crystal reports (in BO 3.1).  After much testing, we found that even though reports are set to use the custom database logon credentials, if the name of the original data source changes, it causes the error (Error in File ~tmp1d06ed702daa30.rpt: Unable to connect: incorrect log on parameters. Details: [Database Vendor Code: 1005 ] ).  For example, I publish a report to a production environment.  It has an original data source called "test".  I set it to use the custom database logon.  A user then creates a recurring schedule and it runs successfully.  A developer opens the report in Crystal 2008 and changes the connection to something else, for ex "dev" (in Crystal, this is on the Database menu, select "Set Datasource Location" and pick a different option under My Connections or create a new one), then saves the report to BO.  We promote the report to prod and it overwrites the existing file.  We make sure it's still set to use the custom database connection to prod but the recurring schedules that were set up when the original data source was called "test" immediately begin to fail.  I tried working with support but they didn't really help much.  They had me install the Oracle 11G client on our servers since we were connecting to our 11G repository with the 10G client but that did nothing.  They finally claimed that since our repository database was Oracle 11G R2 (not just 11G), it wasn't supported and they wouldn't go any further.  If anyone's found a solution, I would really appreciate hearing how it was fixed.

  • Problem in OWB: connecting to a non-oracle database

    Good day,
    i'm working on a windows 32 bit machine,i have Oracle database , OWB 11.2.0.1 installed on it
    i'm trying to make OWB connect to a "Sybase" source database on another server , using ODBC
    i've tested the connection from SQLPLUS and it's working perfectly
    but when i test the connection from OWB locations , it gives me this error:
    "ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [OpenLink][ODBC][SQL Server]Statement(s) could not be prepared (0)
    {42000}[OpenLink][ODBC][SQL Server]"DUAL" not found. Specify owner.objectname
    or use sp_help to check whether the object exists (sp_help may produce lots of
    output).
    (208) {42S02,NativeErr = 208}
    my questions are :
    -why would OWB check for DUAL table on a sybase database? is that a bug in OWB?
    -can i bypass this step and just import metadata from the sybase source database? (i tried importing,but OWB performs the same test before importing)

    Hi Chris,
    I haven't tried it, and these are just some of my thoughts, but I
    think you would need to load the JDBC driver for the other database
    into the Oracle database (using the "loadjava" tool, of-course).
    Then your java stored procedure should be able to instantiate the
    third party JDBC driver and obtain a connection to the other database.
    Hope this helps.
    Good Luck,
    Avi.

  • CONNECTING ORACLE 9I OR 10G DATABASE WITH ORACLE 10G FORMS AND REPORTS

    pls tell how to connect oracle 9i or 10g database with oracle developer suite 10g . though the forms are getting connected but not running with error as
    FRM-10142 the HTTP listner is not running on pls start the listner or check your runtime preferences.
    now pls tell how to start listner and how to chage runtime preferences.
    though i have worked with oracle 9i and forms 6i where we used to copy the tnsnames.ora from network/admin of oracle to forms 6i tnsnames.ora.
    thank you, you may be thinking such a long question.....

    sir
    By server i mean the computer where oc4j and backend database are running is one one of the client pc not a dedicated server..., these database and 10g dev suite are installed in one of the client machine,
    all the clients are using same internet explorer as browser.
    no message is being displyed on some of the client machine where these forms are not being uploaded on browser instead it displays as done in status bar without actually showing anything at all...
    sir so far as jinitiator or JRE is concered i have seen on the client machine (where my forms are running on internet explorer) a pop up is displyed telling one activex control is required to run this program and click to install it..
    after clicking it download jinitiator from server and after installing jinitiator my forms are loaded and start functioning...
    what i feel is as i said this machine where oc4j and database is running is one of the client machine so some other clients do not have acess to this machine, so this might be the reason why those clints are not able to run the said forms on the internet explorer.... can it be so... kindly tell..
    thank you for your patience for reading the question

Maybe you are looking for