Error -2147418113 when connecting with SQL toolkit
I have no trouble connecting with DBConnect( ) to an Access database. However, when I try to connect to an Oracle database (Oracle73 driver), I get error -2147418113 "Catastrophic failure". Any ideas? Thanks.
Hi Gris,
This seems to be a relatively common error when connecting to SQL databases and is not necessarily related to LabWindows/CVI. The following are several third party resources that I hope you will find helpful in your troubleshooting:
Microsoft Support 1
Microsoft Support 2
Microsoft Support 3
There is one KnowledgeBase referring to this error when expereinced in our LabVIEW Database Connectivity that you may also find helpful:
Receiving Error -2147418113 "Catastrophic Failure in xxx.vi" When Using Database Connectivity Toolki...
I hope this helps!
Regards,
Jackie
DAQ Product Marketing Engineer
National Instruments
Similar Messages
-
Error in VS2010 when connecting with SQL Server 2014
I have SQL2014 Express installed locally but it is not detected by VS2010. Why would I need to have the 2008 version?
http://blogs.msdn.com/b/webdev/archive/2010/05/03/visual-studio-2010-support-with-sql-server.aspx
It proably only goes to SQL 2008. I don't recall pointing VS2010 to SQL Server 2012 either.
Maybe, you should post to the below fourm.
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=visualstudio -
DMSConsole error when connecting with Sql Developer 3
It's been over a month, and we can't get SQL Developer 3 to do anything useful.
Our older Sql Developer 1.5.5 is connecting ok.
We have no CLASSPATHs defined, and all of the other Sql/Oracle tools are running fine, including Pl/Sql Developer. And we have no problem coding Java apps in Intellij, and executing them.
The DMS Jar
ojdbc6dms.jar
is located in
c:\app\ChildeDE\product\11.2.0\client_2\sqldeveloper_3\sqldeveloper\lib\
It's a class not found error, whenever we try any defined connection (imported from sql developer 1.1.5):
Error connecting
oracle/dms/console/DMSConsole
Stack Trace:
java.lang.NoClassDefFoundError: oracle/dms/console/DMSConsole
...Not sure how to make sense of all this. Also, the Oracle_home is already set to a folder; should this be modified in the local session, whenever sqldeveloper runs?
TCC 14.03.59 Windows 7 [Version 6.1.7601]
Copyright 2013 JP Software Inc. All Rights Reserved
Registered to xxxxxx - 1 System License
alias /r alias.lst
rem set /r envir.lst
[C:\Program Files (x86)\JPSoft\TCMD14]cd c:\app\ChildeDE\product\11.2.0\client_2\sqldeveloper03\sqldeveloper\sqldeveloper\bin\
[C:\app\ChildeDE\product\11.2.0\client_2\sqldeveloper03\sqldeveloper\sqldeveloper\bin]set oracle_home
c:\app\ChildeDE\product\11.2.0
[C:\app\ChildeDE\product\11.2.0\client_2\sqldeveloper03\sqldeveloper\sqldeveloper\bin]sqldeveloper
Registered TimesTen
2013-02-08 07:46:36
Full thread dump Java HotSpot(TM) Client VM (20.10-b01 mixed mode):
"Keep-Alive-Timer" daemon prio=8 tid=0x3eada800 nid=0x1454 waiting on condition [0x436cf000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at sun.net.www.http.KeepAliveCache.run(KeepAliveCache.java:149)
at java.lang.Thread.run(Thread.java:662)
"IconOverlayTracker Timer" prio=6 tid=0x3eadb000 nid=0xb60 in Object.wait() [0x437cf000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x13c660d0> (a java.util.TaskQueue)
at java.lang.Object.wait(Object.java:485)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0x13c660d0> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"WaitCursor-Timer" prio=6 tid=0x3ead9800 nid=0xc2c in Object.wait() [0x42a6f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x139dfa98> (a java.util.TaskQueue)
at java.lang.Object.wait(Object.java:485)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0x139dfa98> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"Timer queue for AWT thread" daemon prio=6 tid=0x3ead9000 nid=0x13cc in Object.wait() [0x4296f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x13285dc8> (a java.lang.Object)
at java.lang.Object.wait(Object.java:485)
at ice.util.awt.TimedAWTExecutor.nextElem(TimedAWTExecutor.java:108)
- locked <0x13285dc8> (a java.lang.Object)
at ice.util.awt.TimedAWTExecutor.runScheduler(TimedAWTExecutor.java:130)
at ice.util.awt.TimedAWTExecutor$1.run(TimedAWTExecutor.java:19)
"BaseTreeExplorer.NodeOpeningExecutor" prio=6 tid=0x3ead8c00 nid=0xffc waiting on condition [0x4220f000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x132988e8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:156)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1987)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:399)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:662)
"pool-2-thread-1" prio=6 tid=0x3ead8400 nid=0x11e4 waiting on condition [0x420cf000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x13298a20> (a java.util.concurrent.SynchronousQueue$TransferStack)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:156)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:422)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:323)
at java.util.concurrent.SynchronousQueue.take(SynchronousQueue.java:857)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:662)
"Scheduler" daemon prio=6 tid=0x3ead7c00 nid=0x4b4 in Object.wait() [0x41f8f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x13298b40> (a oracle.dbtools.raptor.backgroundTask.TaskLinkedList)
at java.lang.Object.wait(Object.java:485)
at oracle.dbtools.raptor.backgroundTask.TaskLinkedList.takeNextTask(TaskLinkedList.java:47)
- locked <0x13298b40> (a oracle.dbtools.raptor.backgroundTask.TaskLinkedList)
at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$SchedulerThread.run(RaptorTaskManager.java:444)
"Thread-9" daemon prio=6 tid=0x3ead7800 nid=0x74 in Object.wait() [0x4134f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x1305bc78> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
- locked <0x1305bc78> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
at org.tmatesoft.svn.core.javahl.SVNClientImplTracker.run(SVNClientImplTracker.java:65)
at java.lang.Thread.run(Thread.java:662)
"TimerQueue" daemon prio=6 tid=0x3ead7000 nid=0x131c in Object.wait() [0x41a4f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x12ff6f80> (a javax.swing.TimerQueue)
at javax.swing.TimerQueue.run(TimerQueue.java:232)
- locked <0x12ff6f80> (a javax.swing.TimerQueue)
at java.lang.Thread.run(Thread.java:662)
"IconOverlayTracker Daemon" prio=6 tid=0x3ead6c00 nid=0x17e0 waiting on condition [0x415cf000]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x12f90b18> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:196)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2025)
at java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:424)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:945)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:662)
"Thread-7" daemon prio=6 tid=0x3ead6400 nid=0x1158 runnable [0x4148f000]
java.lang.Thread.State: RUNNABLE
at sun.print.Win32PrintServiceLookup.notifyPrinterChange(Native Method)
at sun.print.Win32PrintServiceLookup.access$100(Win32PrintServiceLookup.java:32)
at sun.print.Win32PrintServiceLookup$PrinterChangeListener.run(Win32PrintServiceLookup.java:302)
"ChangeSetService" prio=2 tid=0x3fc06400 nid=0x1034 in Object.wait() [0x4124f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x128656f0> (a oracle.jdevimpl.vcs.changeset.ChangeSetService)
at java.lang.Object.wait(Object.java:485)
at oracle.jdevimpl.vcs.changeset.ChangeSetService.awaitEvents(ChangeSetService.java:178)
- locked <0x128656f0> (a oracle.jdevimpl.vcs.changeset.ChangeSetService)
at oracle.jdevimpl.vcs.changeset.ChangeSetService.eventLoop(ChangeSetService.java:199)
at oracle.jdevimpl.vcs.changeset.ChangeSetService.access$200(ChangeSetService.java:56)
at oracle.jdevimpl.vcs.changeset.ChangeSetService$2.run(ChangeSetService.java:138)
at java.lang.Thread.run(Thread.java:662)
"Image Fetcher 2" daemon prio=8 tid=0x400d1c00 nid=0xe08 in Object.wait() [0x40eff000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x11f80708> (a java.util.Vector)
at sun.awt.image.ImageFetcher.nextImage(ImageFetcher.java:114)
- locked <0x11f80708> (a java.util.Vector)
at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:167)
at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
"TimedCache-Timer" daemon prio=6 tid=0x3d82fc00 nid=0x224 in Object.wait() [0x3ee8f000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x11f804c8> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Timer.java:509)
- locked <0x11f804c8> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"JarIndex Timer" daemon prio=6 tid=0x3d809000 nid=0xe80 in Object.wait() [0x3ec4f000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x11f80580> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Timer.java:509)
- locked <0x11f80580> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"AWT-EventQueue-0" prio=6 tid=0x3d7fb000 nid=0x1208 in Object.wait() [0x3e68e000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x11f80638> (a java.awt.EventQueue)
at java.lang.Object.wait(Object.java:485)
at java.awt.EventQueue.getNextEvent(EventQueue.java:509)
- locked <0x11f80638> (a java.awt.EventQueue)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:236)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
at java.awt.Dialog$1.run(Dialog.java:1044)
at java.awt.Dialog$3.run(Dialog.java:1096)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1094)
at java.awt.Component.show(Component.java:1591)
at java.awt.Component.setVisible(Component.java:1543)
at java.awt.Window.setVisible(Window.java:843)
at java.awt.Dialog.setVisible(Dialog.java:984)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
at oracle.javatools.dialogs.ExceptionDialog.reallyShowExceptionDialog(ExceptionDialog.java:294)
at oracle.javatools.dialogs.ExceptionDialog.showExceptionDialog(ExceptionDialog.java:229)
at oracle.dbtools.raptor.navigator.TypeContainerFilter$ExceptionDialogRunnable.run(TypeContainerFilter.java:241)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:666)
at java.awt.EventQueue.access$400(EventQueue.java:81)
at java.awt.EventQueue$2.run(EventQueue.java:627)
at java.awt.EventQueue$2.run(EventQueue.java:625)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:636)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
"Image Fetcher 3" daemon prio=8 tid=0x3d7fa000 nid=0x7c0 in Object.wait() [0x3e54f000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x11f80708> (a java.util.Vector)
at sun.awt.image.ImageFetcher.nextImage(ImageFetcher.java:114)
- locked <0x11f80708> (a java.util.Vector)
at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:167)
at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
"AWT-Windows" daemon prio=6 tid=0x3d7d8400 nid=0x7a8 runnable [0x3e40f000]
java.lang.Thread.State: RUNNABLE
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(WToolkit.java:293)
at java.lang.Thread.run(Thread.java:662)
"AWT-Shutdown" prio=6 tid=0x3d7d7c00 nid=0x1380 in Object.wait() [0x3e2cf000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x11f80818> (a java.lang.Object)
at java.lang.Object.wait(Object.java:485)
at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:265)
- locked <0x11f80818> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:662)
"Java2D Disposer" daemon prio=10 tid=0x3d7d1800 nid=0x1218 in Object.wait() [0x3e18f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x11f808b0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
- locked <0x11f808b0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
at sun.java2d.Disposer.run(Disposer.java:127)
at java.lang.Thread.run(Thread.java:662)
"Low Memory Detector" daemon prio=6 tid=0x02514000 nid=0xc94 runnable [0x00000000]
java.lang.Thread.State: RUNNABLE
"C1 CompilerThread0" daemon prio=10 tid=0x02512400 nid=0x106c waiting on condition [0x00000000]
java.lang.Thread.State: RUNNABLE
"Attach Listener" daemon prio=10 tid=0x02511000 nid=0x11e0 runnable [0x00000000]
java.lang.Thread.State: RUNNABLE
"Signal Dispatcher" daemon prio=10 tid=0x0250e000 nid=0x13bc waiting on condition [0x00000000]
java.lang.Thread.State: RUNNABLE
"Finalizer" daemon prio=8 tid=0x024dd000 nid=0x13b8 in Object.wait() [0x3d06f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x11f80b08> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
- locked <0x11f80b08> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
"Reference Handler" daemon prio=10 tid=0x024db800 nid=0x17a0 in Object.wait() [0x3cf6f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x11f80b98> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:485)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
- locked <0x11f80b98> (a java.lang.ref.Reference$Lock)
"main" prio=6 tid=0x0254bc00 nid=0x17e4 waiting on condition [0x00000000]
java.lang.Thread.State: RUNNABLE
"VM Thread" prio=10 tid=0x024d7000 nid=0x1570 runnable
"VM Periodic Task Thread" prio=10 tid=0x0252b400 nid=0x9e4 waiting on condition
JNI global references: 3529
Heap
def new generation total 39424K, used 15384K [0x04a30000, 0x074f0000, 0x11f80000)
eden space 35072K, 43% used [0x04a30000, 0x059360e0, 0x06c70000)
from space 4352K, 0% used [0x06c70000, 0x06c70000, 0x070b0000)
to space 4352K, 0% used [0x070b0000, 0x070b0000, 0x074f0000)
tenured generation total 87424K, used 33812K [0x11f80000, 0x174e0000, 0x2ca30000)
the space 87424K, 38% used [0x11f80000, 0x14085328, 0x14085400, 0x174e0000)
compacting perm gen total 63232K, used 63214K [0x2ca30000, 0x307f0000, 0x3ca30000)
the space 63232K, 99% used [0x2ca30000, 0x307ebab8, 0x307ebc00, 0x307f0000)
No shared spaces configured. -
Getting error message when connecting with DI
Hi all
i'm getting error code -8006 and error message: Resource Error. when i try to connect to the company db using the method connect() of the object Company.
does anyone knows what causes the problem and if so how to fix it?
appreciate the help
YoavHi, Yoav.
I think it's the better to start with the SAP Notes search. The first that matches your error is <a href="https://websmp105.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=872933&_NLANG=E">here</a>.
hth -
Error: 1021001 Failed to Establish Connection With SQL Database Server
Hello,
Someone you already MEETS it the following error during an essbase retrieve DLR.
My client oracle essbase on my server is 64bit, Essbase 11.1.2.2 x64
I run the odbc located in% windir% \ system32 \ odbcad32.exe
"Error: 1021001 Failed to ESTABLISH Connection With SQL Database Server. See log for more information"
Here is the log:
Received Command [SQLListDsn] from user [admin]
[2:50:33 p.m. Fri 28 September 2012] Local / CAS_TEST / / / 8168/Info (1042059)
Connected from [10.100.50.2]
[2:50:33 p.m. Fri 28 September 2012] Local/CAS_TEST/CAS_TEST/admin/8168/Info (1013091)
Received Command [SQLRetrieve] from user [admin]
[2:50:33 p.m. Fri 28 September 2012] Local/CAS_TEST/CAS_TEST/admin/8168/Info (1021004)
Connection String is generated
[2:50:33 p.m. Fri 28 September 2012] Local/CAS_TEST/CAS_TEST/admin/8168/Info (1021041)
Connection String is [DSN = TEST_ORACLE; UID = ...; PWD = ...]
[2:50:33 p.m. Fri 28 September 2012] Local/CAS_TEST/CAS_TEST/admin/8168/Info (1021006)
SELECT Statement [SELECT from dual;] is generated
[2:50:33 p.m. Fri 28 September 2012] Local/CAS_TEST/CAS_TEST/admin/8168/Info (1021013)
ODBC Layer Error: [IM004] ==> [[Microsoft] [ODBC Driver Manager] Driver's SQLAllocHandle we failed SQL_HANDLE_ENV]
[2:50:33 p.m. Fri 28 September 2012] Local/CAS_TEST/CAS_TEST/admin/8168/Info (1021014)
ODBC Layer Error: Native Error code [0]
[2:50:33 p.m. Fri 28 September 2012] Local/CAS_TEST/CAS_TEST/admin/8168/Error (1021001)
Failed to ESTABLISH Connection With SQL Database Server. See log for more information
[2:50:33 p.m. Fri 28 September 2012] Local/CAS_TEST/CAS_TEST/admin/8168/Warning (1080014)
Transaction [0x780001 (0x50659d19.0xc9e78)] aborted due to status [1021001].
When I try to go through OCI service name:
dbServerName: port / service_name
I have the following error message:
Solutions2: List of members 1423.CAS_TEST.CAS_TEST September 28, 2012 2:50:15 PM CEST Succeeded
Read SQL record September 28, 2012 2:50:35 PM CEST Failed
thank you in advance
Edited by: 851398 on 28 sept. 2012 06:31In essbase logs there is nothing special, same for windows log.
Everything I like is log in log view eas
[Fri Sep 28 17:52:11 2012]Local/CAS_TEST///4020/Info(1013205)
Received Command [Get Database Info]
[Fri Sep 28 17:52:11 2012]Local/CAS_TEST///4020/Info(1013205)
Received Command [Get Database State]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7580/Info(1013210)
User [admin] set active on database [CAS_TEST]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST///6720/Info(1042059)
Connected from [10.100.50.2]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/6720/Info(1013091)
Received Command [GetAttributeNameSpecs] from user [admin]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7304/Info(1042059)
Connected from [10.100.50.2]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/7304/Info(1013091)
Received Command [GetOtlInfo] from user [admin]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7572/Info(1042059)
Connected from [10.100.50.2]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/7572/Info(1013091)
Received Command [OtlQueryMbrs] from user [admin]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST///8116/Info(1042059)
Connected from [10.100.50.2]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/8116/Info(1013091)
Received Command [OtlQueryMbrs] from user [admin]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7384/Info(1013210)
User [admin] set active on database [CAS_TEST]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST///6592/Info(1042059)
Connected from [10.100.50.2]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/6592/Info(1013091)
Received Command [GetAttributeNameSpecs] from user [admin]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7972/Info(1042059)
Connected from [10.100.50.2]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/7972/Info(1013091)
Received Command [GetOtlInfo] from user [admin]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST///216/Info(1042059)
Connected from [10.100.50.2]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/216/Info(1013091)
Received Command [OtlQueryMbrs] from user [admin]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST///3104/Info(1042059)
Connected from [10.100.50.2]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/3104/Info(1013091)
Received Command [GetAttributeNameSpecs] from user [admin]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST///3472/Info(1042059)
Connected from [10.100.50.2]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/3472/Info(1013091)
Received Command [GetOtlInfo] from user [admin]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST///8112/Info(1042059)
Connected from [10.100.50.2]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/8112/Info(1013091)
Received Command [OtlQueryMbrs] from user [admin]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST///4020/Info(1013205)
Received Command [Get Database Info]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST///3840/Info(1042059)
Connected from [10.100.50.2]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/3840/Info(1013091)
Received Command [GetAttributeNameSpecs] from user [admin]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7760/Info(1042059)
Connected from [10.100.50.2]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/7760/Info(1013091)
Received Command [GetOtlInfo] from user [admin]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7300/Info(1042059)
Connected from [10.100.50.2]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/7300/Info(1013091)
Received Command [OtlQueryMbrs] from user [admin]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7904/Info(1042059)
Connected from [10.100.50.2]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/7904/Info(1013091)
Received Command [OtlQuerySmartLists] from user [admin]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST///3612/Info(1042059)
Connected from [10.100.50.2]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/3612/Info(1013091)
Received Command [GetAttributeNameSpecs] from user [admin]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST///6732/Info(1042059)
Connected from [10.100.50.2]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/6732/Info(1013091)
Received Command [GetOtlInfo] from user [admin]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7576/Info(1042059)
Connected from [10.100.50.2]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/7576/Info(1013091)
Received Command [OtlQueryMbrs] from user [admin]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST///7268/Info(1042059)
Connected from [10.100.50.2]
[Fri Sep 28 17:52:21 2012]Local/CAS_TEST/CAS_TEST/admin/7268/Info(1013091)
Received Command [OtlQueryMbrs] from user [admin]
[Fri Sep 28 17:52:27 2012]Local/CAS_TEST///7556/Info(1013210)
User [admin] set active on database [CAS_TEST]
[Fri Sep 28 17:52:29 2012]Local/CAS_TEST///8168/Info(1042059)
Connected from [10.100.50.2]
[Fri Sep 28 17:52:29 2012]Local/CAS_TEST/CAS_TEST/admin/8168/Info(1013091)
Received Command [SQLListDsn] from user [admin]
[Fri Sep 28 17:52:55 2012]Local/CAS_TEST///7564/Info(1042059)
Connected from [10.100.50.2]
[Fri Sep 28 17:52:55 2012]Local/CAS_TEST/CAS_TEST/admin/7564/Info(1013091)
Received Command [SQLRetrieve] from user [admin]
[Fri Sep 28 17:52:55 2012]Local/CAS_TEST/CAS_TEST/admin/7564/Info(1021004)
Connection String is generated
[Fri Sep 28 17:52:55 2012]Local/CAS_TEST/CAS_TEST/admin/7564/Info(1021041)
Connection String is [DSN=TEST_ORACLE;UID=...;PWD=...;]
[Fri Sep 28 17:52:55 2012]Local/CAS_TEST/CAS_TEST/admin/7564/Info(1021006)
SELECT Statement [SELECT * from dual ] is generated
[Fri Sep 28 17:52:55 2012]Local/CAS_TEST/CAS_TEST/admin/7564/Info(1021013)
ODBC Layer Error: [IM004] ==> [[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed]
[Fri Sep 28 17:52:55 2012]Local/CAS_TEST/CAS_TEST/admin/7564/Info(1021014)
ODBC Layer Error: Native Error code [0]
[Fri Sep 28 17:52:55 2012]Local/CAS_TEST/CAS_TEST/admin/7564/Error(1021001)
Failed to Establish Connection With SQL Database Server. See log for more information
[Fri Sep 28 17:52:55 2012]Local/CAS_TEST/CAS_TEST/admin/7564/Warning(1080014)
Transaction [ 0xb50001( 0x5065c7d7.0x31ce0 ) ] aborted due to status [1021001].
Have you an idea about the Merant driver to essbase?
Thank -
Essbase Studio Error(1021001): Failed to Establish Connection With SQL Data
Hi.
I have trying to deploy a cube with Essbase Studio but I get the error: "*Error(1021001): Failed to Establish Connection With SQL Database Server*"
My environment is Linux 5, Oracle 11g and EPM 11.1.1.2. Oracle database and Essbase was installed with diferent users. In the .bash_profile of hypadmin user (that install Essbase) I have set the following variables
ORACLE_BASE=/u01/app/oracledb/product/11.1.0
ORACLE_HOME=$ORACLE_BASE/db_1
LD_LIBRARY_PATH=/usr/X11R6/lib:$ORACLE_HOME/lib:$LD_LIBRARY_PATH
ORACLE_HOSTNAME=devbi.sigfe2
PATH=$ORACLE_HOME/bin:$ORACLE_HOME/jdk/bin:$ORACLE_HOME/bin:/sbin:$ORACLE_HOME/opmn/bin:$PATH
ORACLE_SID=orcl
JAVA_HOME=/u01/app/installfiles/jdk1.5.0_19
In my pc (windows xp) I can open Essbase Studio console, do the connection to Oracle database, get tables and create minischema, mesures and hierarchies (I can see the preview of hierarchies). Also I can create cubes with EAS and can connect with MAXSHELL to essbase.
When I try to deploy the cube from Essbaes Studio y get the error "Error(1021001): Failed to Establish Connection With SQL Database Server".
The Essbase Studio Log File say:
+12:40:16 07/24/09 (admin-1) INFO Start creating outline in database "5.4.0.41:1423.POC_ESS.POC_ESS1"...+
+12:40:16 07/24/09 (admin-1) FINA Sign on Essbase by CSS token "5.4.0.41:1423" successfully...+
+12:40:16 07/24/09 (admin-1) INFO Start building dimension "DM_CIUDADES" ...+
+12:40:16 07/24/09 (admin-1) MÁS FINA Start creating rule file ...+
+12:40:16 07/24/09 (admin-1) INFO SQL statement has been created and put into rule file "/home/hypadmin/hyperion/products/Essbase/EssbaseStudio/Server/./ess_japihome/data/DM_CIU.rul"+
+12:40:16 07/24/09 (admin-1) INFO The query is "SELECT (CONCAT('reg_',CAST(cp_105."ID_REGIONPADRE" AS VARCHAR2(1000)))) as "REGION_PADRE", (CONCAT('reg_',CAST(cp_105."ID_REGION" AS VARCHAR2(1000)))) as "REGION_HIJO", cp_105."DE_REGION" as "REGION_HIJO.Default" FROM "POC"."DM_REGIONES_ESS3" cp_105 ORDER BY cp_105."DE_NIVEL" ASC, cp_105."ID_REGIONPADRE" ASC, cp_105."ID_REGION" ASC"+
+12:40:16 07/24/09 (admin-1) INFO Rule file has been created and saved as "/home/hypadmin/hyperion/products/Essbase/EssbaseStudio/Server/./ess_japihome/data/DM_CIU.rul"+
+12:40:16 07/24/09 (admin-1) FINA Essbase starts to add members to DM_CIUDADES dimensioin based on the rules file.+
+12:40:16 07/24/09 (admin-1) ADVERTENCIA (1021001): Error al establecer conexión con el servidor de bases de datos SQL. Consulte el registro para obtener más información.+
+12:40:16 07/24/09 (admin-1) ADVERTENCIA essbaseDriver.FailedToBuildDimensionException+
+12:40:16 07/24/09 (admin-1) GRAVE Unexpected exception in EssbaseExport prevented cube from being deployed+
-------------- Exception --------------
com.hyperion.cp.datasources.export.essbase.EssbaseDriverException: Failed to deploy Essbase cube
Thanks in advance to all that have any idea to help me to solve this issue.
A.S.Hi,
If you type database SID in lowercase, try to reenter iot in uppercase. Strange, but I and my colleagues encounter this behaviour many times. -
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider,
error: 40 - Could not open a connection to SQL Server)An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named
Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Hello,
Make sure your SQL Server service is started.
Make sure TCP\IP and names pipes protocol is enabled
Make sure you have made an exception in firewall for SQL Server connection
Make sure SQL Server browser service is enabled
Make sure you connect with correct name hostname\instance name for named instance,MSSQLSERVER for default instance and Hotname\SQLEXPRESS for express edition.
Please make sure you use port no when connecting to SQL server listeing on different port (hostname\instance ,portno)
http://blogs.msdn.com/sql_protocols/archive/2006/09/30/SQL-Server-2005-Remote-Connectivity-Issue-TroubleShooting.aspx
Hope this helps
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
Entity bean connection with SQL Server Error! urgent
Hi,
I am working with J2EE tutorial and when i tried SavingsAccount Entity bean to connect with SQL Server 2000(other than default Cloudscape)and I'm also having SQL Server 2K JDBC Driver installed. I also made entries in Server Configuration menu of J2EE deployment tool for this MS JDBC Driver for SQL Server 2K,I will enclose my dbName and connection method in the entity bean , but i am getting error like this.
my data base name in SQL Server 2K is 'rajeshrNew'.
private String dbName="java:comp/env/jdbc/rajeshrNew"; //dbName
private void makeConnection() throws NamingException, SQLException {
InitialContext ic = new InitialContext();
DataSource ds = (DataSource) ic.lookup(dbName);
con = ds.getConnection();
and errors receiving are:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: nested exception is: javax.ejb.EJBException: Unable to connect to database. No suitable driver; nested exception is:
javax.ejb.EJBException: Unable to connect to database. No suitable driver
java.rmi.RemoteException: nested exception is: javax.ejb.EJBException: Unable to connect to database. No suitable driver; nested exception is:
javax.ejb.EJBException: Unable to connect to database. No suitable driver
javax.ejb.EJBException: Unable to connect to database. No suitable driver <<no stack trace available>>
Please help me to resolve this problem!!
Regards
Rajesh Ryes i do create System DSN with rajeshrNew and my default.properties file look like this..
# maximum size of message driven bean instance
# pool per mdb type
messagebean.pool.size=3
# maximum size of a "bulk" message bean delivery
messagebean.max.serversessionmsgs=1
# message-bean container resource cleanup interval
messagebean.cleanup.interval=600
passivation.threshold.memory=128000000
idle.resource.threshold=600
log.directory=logs
log.output.file=output.log
log.error.file=error.log
log.event.file=event.log
distributed.transaction.recovery=false
transaction.timeout=0
transaction.nonXA.optimization=true
sessionbean.timeout=0
# validating parser values
# validating.perser is used when archive file are loaded by
# any of the J2EE Reference Implementation tools.
# deployment.validating.parser is used when deploying an
# archive on the J2EE AppServer.
validating.parser=false
deployment.validating.parser=true
now u tell me what i have to change..
with regards
Rajesh -
Hi there!
I am very new in Essbase and I am receiving the error message quoted below while trying to load data in a Cube. Weird thing is that we have checked all connections already and they are working correctly, however this process is still failing.
If someone can give us an idea to troubleshoot it, that would be really appreciated.
Thanks very much in advance for any help and regards!
MAXL> deploy data from model 'Production_GL_Cube_SchemaModel' in cube schema '\Production_GL\Cube_Schemas\Production_GL_Cube_Schema' login AdminUserAccount identified by MyPassword on host 'ServerName.MyCompany.com' to application 'ORA_HFM' database 'GL' overwrite values using connection 'ServerName' keep all errors on error ignore dataload write 'E:\Logs\DataLoad_Error_2013.04.19.16.23.00.txt';
BPM Connect Status: Success
Failed to deploy Essbase cube. Caused by: Failed to load data into database: GL. Caused by: Cannot get async process
state. Essbase Error(1021001): Failed to Establish Connection With SQL Database Server. See log for more information
BPM maxl deployment ...failure.Hi Celvin,
Thanks for your reply and my apologies for not coming back before on this issue.
For the benefit of other readers, after hours struggling with the issue, we focused our attention in the following portion of the ORA_HFM.log file:
[Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/54996/Info(1013157)
Received Command [Import] from user [Service_Acct@Native Directory] using [GL.rul] with data file [SQL]
[Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Info(1021041)
Connection String is [DRIVER={DataDirect 6.1 Oracle Wire Protocol};Host=MyEssbaseServer01.MyCompany.com;Port=1521;SID=PRODUCTION;UID=...;PWD=...;ArraySize=1000000;]
[Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Info(1021006)
SELECT Statement [SELECT cp_127."ACCT" AS "Accounts_CHILD",
cp_127."PERIOD_MEMBER" AS "Period_CHILD",
cp_127."PERIOD_YEAR" AS "Years_CHILD",
'INPUT' AS "View_CHILD",
cp_127."ENTITY" AS "Entity_CHILD",
cp_127."PRODUCT_LINE" AS "Custom1_Product_CHILD",
cp_127."Function" AS "Custom4_Function_CHILD",
cp_127."B_U" AS "Business_Unit_ORACLEBUSINESS",
cp_127."ORACLEFUNCTION" AS "Oracle_Function_CHILD",
cp_127."LEGALENTITY" AS "Oracle_Entity_CHILD",
'P' || cp_127."PRODUCTLINE" AS "Oracle_Product_CHILD",
'A'[Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Info(1021043)
Connection has been established
[Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Info(1021044)
Starting to execute query
[Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Info(1021013)
ODBC Layer Error: [S1000] ==> [[DataDirect][ODBC Oracle Wire Protocol driver][Oracle]ORA-04063: view "REP_ESSBASE.VW_GL_BALANCES" has errors]
[Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Info(1021014)
ODBC Layer Error: Native Error code [4063]
[Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Error(1021001)
Failed to Establish Connection With SQL Database Server. See log for more information
[Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Error(1003050)
Data Load Transaction Aborted With Error [1021001]
Then we concentrated in the following error message: *ODBC Layer Error: [S1000] ==> [[DataDirect][ODBC Oracle Wire Protocol driver][Oracle]ORA-04063: view "REP_ESSBASE.VW_GL_BALANCES" has errors]*
So, we checked the database and noticed the schema and their views were damaged and -due to this- they lost all their properties (like data types, for example). So, we had to recompile all of them in order to avoid any loss of data. This was done in TOAD, as per the following info: https://support.quest.com/SolutionDetail.aspx?id=SOL66821
Finally, once all the views on this schema were rebuilt and fixed, we were able to deploy the Cube again.
Hope this help in the future. Cheers!! -
An error occured when connecting java with Ms Access
Hello Everybody
I am a new developer in java and want to connect java with Microsoft Access
i am using JCreator LE
My code is to insert 3 records for 3 members and then save them in DB and retrieve the information
Here is the code
import java.sql.*;
public class Project3 {
public static void main(String[] args) {
try {
System.out.println("Beginning Connection");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String accessFileName = "Information";
String connURL = "jdbc:odbc:;DRIVER=Microsoft Access Driver (*.mdb);DBQ="+accessFileName+".mdb;PWD=";
Connection con = DriverManager.getConnection( connURL ,"","");
Statement stmt = con.createStatement();
System.out.println("Connection done successfully");
stmt.execute("Create table Member(Name String,ID Integer)");
stmt.execute("insert into Member values ('Joe','1234')");
stmt.execute(" select * from Member");
ResultSet rs=stmt.getResultSet();
if (rs != null)
while (rs.next()){
System.out.println("Name: "+rs.getString("Name")+ "ID: " + rs.getString("ID"));
stmt.close();
con.close();
catch (Exception e) {
System.out.println("An error Occurred in Connecting with the DB " );
}and the error is
Beginning Connection
Connection done successfully
An error Occurred in Connecting with the DB
it didn't insert information in the DBWell, thank u i have traced the error and fx it
but
how to modify the code and keep the user entering 3 values and search for the entered values??
Here is the correct code
import java.sql.*;
public class Project3 {
public static void main(String[] args) {
try {
System.out.println("Beginning Connection");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String accessFileName = "jdbc:odbc:Project";
String connURL = "jdbc:odbc:;DRIVER=Microsoft Access Driver (*.mdb);DBQ="+accessFileName+".mdb;PWD=";
Connection con = DriverManager.getConnection( accessFileName);
Statement stmt = con.createStatement();
System.out.println("Connection done successfully");
stmt.execute("Create table Member(Name String,ID Integer)");
stmt.execute("insert into Member values ('Joe','1234')");
stmt.execute(" select * from Member");
ResultSet rs=stmt.getResultSet();
if (rs != null)
while (rs.next()){
System.out.println("Name: "+rs.getString("Name")+ "ID: " + rs.getString("ID"));
stmt.close();
con.close();
catch (Exception err) {err.printStackTrace();}
} -
Downloaded latest IOS 7.0.2 and it crashed my iphone 4. Now Ive got nothing and it wont restore when connected with Itunes cos Error Message 4005 comes up. Cant find it listed anywhere. Help
Hi!
It looks like there might be some security settings or software on your laptop that's preventing the restore process from working.
Check out this article in Apple's support. It shows you the steps you can take to try to get around error 1611.
Like diesel vdub said, a DFU-mode restore might give you success where a regular restore might not, so maybe you can try that.
What you need to do is put your phone into DFU mode, which is a low-level mode that helps the restore process get a little more done, or it can help iTunes get around certain roadblocks (hopefully like the one you're experiencing!). Your computer will install special DFU-iPhone drivers for it, and then iTunes will see it as a phone that needs restoring.
To get your phone into DFU mode:
Plug your phone into your laptop.
Turn the phone off.
Press and hold the power/lock button. Keep it held in, even after the display turns on and you see something on the screen. As soon as you see something on the screen, start holding the home button as well as the power button, so that they're being pressed together.
Keep both buttons pressed down for 10 seconds.
After 10 seconds, release the power button, but keep holding home until the laptop sees a new USB device. Once you see that, you're in DFU mode, and you can let go of buttons. Your iPhone screen will be blank during it all, even though it's actually on, in DFU mode.
Now your restore should work!
If your phone shows the Apple logo or anything else while you're trying to get it into DFU mode, then something went wrong. Try the steps again. If it suddenly starts up normally again, try reducing the time to a bit less than 10 seconds--try reducing it by about a second at a time. It should work! -
Kind day, colleague.
It was required to organize a statement chain for TimeSheet of employees, as we realized. Everything is good, but at linear managers in PSW opportunity to execute Approve when viewing TimeSheet of the employee remained, and in attempt to approve TimeSheet there
is a mistake.
500 Internal Server Error
"An error occurred when communicating with the server. Check connectivity with your administrator to determine whether further action is necessary. "
Accept, is carried out as it is necessary.
It is a bug or we not correctly realized approval chain?issue is related to the user booking time against a task that was past the finish/end date listed in the Project Schedule.
To resolve the user needs to submit their time on a valid task that is still within the current reporting timeframe, or have the Project Manager
update the task in questions so that the finish/end dates are at or beyond the submission period and then republish the project. After that, the user should be able to go in and submit their timesheet with success.
http://patrickdrews.com/2012/09/project-server-2010-timesheet-submission-produces-an-error-occurred-while-communicating-with-the-server/
kirtesh -
Dear community members;
I am using Oracle 10g DB. Now I want to connect with SQL Server 2005. Is there any possiblity for connectivity. Because we have to pick some data from sqlserver on online transaction entry time.
Waiting for usefull response.
Thanks
Shahab Ahmed KhanI am using oracle 11gR1 on windows 2003.
This is my initaccessdb.ora(Path HS/ADMIN)
HS_FDS_CONNECT_INFO = ACCESSDB
HS_FDS_TRACE_LEVEL = OFF
Listner File
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = APPSERVER)(PORT = 1521))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=PLSExtProc)
(ORACLE_HOME=E:\app\Administrator\product\11.1.0\db_1)
(PROGRAM=extproc)
(SID_DESC =
(SID_NAME = accessdb)
(ORACLE_HOME = E:\app\Administrator\product\11.1.0\db_1)
(PROGRAM = ACCESSDB)
(ENVS=LD_LIBRARY_PATH=D:\)
TNSNAME.ORA
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.0.14)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME= ORCL)
ACCESSDB =
(DESCRIPTION=
(ADDRESS =(PROTOCOL = TCP)(HOST=172.16.0.14)(PORT=1521))
(CONNECT_DATA =
(SERVICE_NAME=ACCESSDB))
(HS = OK)
I successfully completed all steps as mentioned in your sending links documents but when i test my dblink query it gives the error message
SQL> conn sys as sysdba
Enter password:
Connected.
SQL> conn ahmed
Enter password:
Connected.
SQL> drop database link test;
Database link dropped.
SQL> create database link test using 'ACCESSDB';
Database link created.
SQL> SELECT * FROM EMPLOYEE@TEST;
SELECT * FROM EMPLOYEE@TEST
ERROR at line 1:
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from TEST
Note: Please tell me that should i install ODBC driver ("Microsoft Access Driver *.mdb).If this should be installed then i have done correctly.
Thanks -
Dispatcher stopped and not able to connect with sql server
Hi ,
In one of test system disp+work is started and then within no time its stopped.
I am able to connect with sql server 2005 database but while starting sap dispatcher is stopping.
Here is the log of dev_wo
trc file: "dev_w0", trc level: 1, release: "700"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, MJ
B
B Thu Jan 05 07:24:02 2012
B create_con (con_name=R/3)
B Loading DB library 'C:\usr\sap\DE1\SYS\exe\uc\NTI386\dbmssslib.dll' ...
B Library 'C:\usr\sap\DE1\SYS\exe\uc\NTI386\dbmssslib.dll' loaded
B Version of 'C:\usr\sap\DE1\SYS\exe\uc\NTI386\dbmssslib.dll' is "700.08", patchlevel (0.72)
B New connection 0 created
M sysno 11
M sid DE1
M systemid 560 (PC with Windows NT)
M relno 7000
M patchlevel 0
M patchno 75
M intno 20050900
M make: multithreaded, Unicode, optimized
M pid 988
M
M kernel runs with dp version 217000(ext=109000) (@(#) DPLIB-INT-VERSION-217000-UC)
M length of sys_adm_ext is 572 bytes
M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 988) [dpxxdisp.c 1299]
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) 23936 (1408)
M DpShMCreate: sizeof(tm_adm) 3994272 (19872)
M DpShMCreate: sizeof(wp_ca_adm) 24000 (80)
M DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
M DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
M DpShMCreate: sizeof(comm_adm) 528064 (1048)
M DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
M DpShMCreate: sizeof(file_adm) 0 (72)
M DpShMCreate: sizeof(vmc_adm) 0 (1440)
M DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)
M DpShMCreate: sizeof(gw_adm) 48
M DpShMCreate: SHM_DP_ADM_KEY (addr: 07F90040, size: 4659000)
M DpShMCreate: allocated sys_adm at 07F90040
M DpShMCreate: allocated wp_adm at 07F91E40
M DpShMCreate: allocated tm_adm_list at 07F97BC0
M DpShMCreate: allocated tm_adm at 07F97BF0
M DpShMCreate: allocated wp_ca_adm at 08366E90
M DpShMCreate: allocated appc_ca_adm at 0836CC50
M DpShMCreate: allocated comm_adm at 0836EB90
M DpShMCreate: system runs without file table
M DpShMCreate: allocated vmc_adm_list at 083EFA50
M DpShMCreate: allocated gw_adm at 083EFA90
M DpShMCreate: system runs without vmc_adm
M DpShMCreate: allocated ca_info at 083EFAC0
M DpShMCreate: allocated wall_adm at 083EFAC8
X EmInit: MmSetImplementation( 2 ).
X MM global diagnostic options set: 0
X <ES> client 0 initializing ....
X Using implementation flat
M <EsNT> Memory Reset disabled as NT default
X ES initialized.
M
M Thu Jan 05 07:24:03 2012
M ThInit: running on host sugarland
M
M Thu Jan 05 07:24:04 2012
M calling db_connect ...
C Warning: Env(MSSQL_SERVER) [SUGARLAND\DE1] <> Prof(dbs/mss/server) [SUGARLAND]. Profile value will be used.
C Thread ID:708
C Thank You for using the SLOLEDB-interface
C Using dynamic link library 'C:\usr\sap\DE1\SYS\exe\uc\NTI386\dbmssslib.dll'
C dbmssslib.dll patch info
C patchlevel 0
C patchno 72
C patchcomment MSSQL: Thread check in DbSlDisconnect (969143)
C np:(local) connection used on SUGARLAND
C CopyLocalParameters: dbuser is 'de1'
C Using Provider SQLNCLI
C OpenOledbConnection: MARS property was set successfully.
C
C Thu Jan 05 07:24:19 2012
C OpenOledbConnection: line 23391. hr: 0x8000ffff Login timeout expired
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Login timeout expired
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C Procname: [OpenOledbConnection - no proc]
C Using Provider SQLNCLI
C OpenOledbConnection: MARS property was set successfully.
C
C Thu Jan 05 07:24:34 2012
C OpenOledbConnection: line 23391. hr: 0x8000ffff Login timeout expired
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Login timeout expired
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C Procname: [OpenOledbConnection - no proc]
C Using Provider SQLNCLI
C OpenOledbConnection: MARS property was set successfully.
C
C Thu Jan 05 07:24:49 2012
C OpenOledbConnection: line 23391. hr: 0x8000ffff Login timeout expired
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Login timeout expired
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: 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 Using Provider SQLNCLI
C OpenOledbConnection: MARS property was set successfully.
C
C Thu Jan 05 07:25:05 2012
C OpenOledbConnection: line 23391. hr: 0x8000ffff Login timeout expired
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Login timeout expired
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C Procname: [OpenOledbConnection - no proc]
C Using Provider SQLNCLI
C OpenOledbConnection: MARS property was set successfully.
C
C Thu Jan 05 07:25:21 2012
C OpenOledbConnection: line 23391. hr: 0x8000ffff Login timeout expired
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Login timeout expired
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C Procname: [OpenOledbConnection - no proc]
C Using Provider SQLNCLI
C OpenOledbConnection: MARS property was set successfully.
C
C Thu Jan 05 07:25:37 2012
C OpenOledbConnection: line 23391. hr: 0x8000ffff Login timeout expired
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Login timeout expired
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: 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 0 performing CON [dbsh#2 @ 1204] [dbsh 1204 ]
B ***LOG BY0=> <message text not available> [dbsh#2 @ 1204] [dbsh 1204 ]
B ***LOG BY2=> sql error 0 performing CON [dblink#3 @ 431] [dblink 0431 ]
B ***LOG BY0=> <message text not available> [dblink#3 @ 431] [dblink 0431 ]
M ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c 1411]
M in_ThErrHandle: 1
M *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 10156]
M
M Info for wp 0
M
M stat = 4
M reqtype = 1
M act_reqtype = -1
M rq_info = 0
M tid = -1
M mode = 255
M len = -1
M rq_id = 65535
M rq_source = 255
M last_tid = 0
M last_mode = 0
M semaphore = 0
M act_cs_count = 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 vm = V-1
M
M *****************************************************************************
M *
M * LOCATION SAP-Server sugarland_DE1_11 on host sugarland (wp 0)
M * ERROR ThInit: db_connect
M *
M * TIME Thu Jan 05 07:25:37 2012
M * RELEASE 700
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 13
M * MODULE thxxhead.c
M * LINE 10354
M * COUNTER 1
M *
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 720]
M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 260]
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 988) [dpnttool.c 327]
Please help me on this
Thanks
SrikanthHi Amit,
I restarted the system but dispatcher still in same stage.
Here is the log for dev_w0
========================================
Fri Jan 06 03:41:06 2012
C OpenOledbConnection: line 23391. hr: 0x8000ffff Login timeout expired
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Login timeout expired
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: 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 0 performing CON [dbsh#2 @ 1204] [dbsh 1204 ]
B ***LOG BY0=> <message text not available> [dbsh#2 @ 1204] [dbsh 1204 ]
B ***LOG BY2=> sql error 0 performing CON [dblink#3 @ 431] [dblink 0431 ]
B ***LOG BY0=> <message text not available> [dblink#3 @ 431] [dblink 0431 ]
M ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c 1411]
M in_ThErrHandle: 1
M *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 10156]
M
M Info for wp 0
M
M stat = 4
M reqtype = 1
M act_reqtype = -1
M rq_info = 0
M tid = -1
M mode = 255
M len = -1
M rq_id = 65535
M rq_source = 255
M last_tid = 0
M last_mode = 0
M semaphore = 0
M act_cs_count = 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 vm = V-1
M
M *****************************************************************************
M *
M * LOCATION SAP-Server sugarland_DE1_11 on host sugarland (wp 0)
M * ERROR ThInit: db_connect
M *
M * TIME Fri Jan 06 03:41:06 2012
M * RELEASE 700
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 13
M * MODULE thxxhead.c
M * LINE 10354
M * COUNTER 1
M *
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 720]
M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 260]
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 3632) [dpnttool.c 327] -
Failed to Establish Connection with SQL Database Server (EAS)
Hi,
We have recently installed version 11.1.2.1 of essbase. Everything is working just peachy. One of my users tried to build a load rule using an Oracle ODBC data connection and gets the error:
Failed to Establish Connection with SQL Database Server. See log for more information.
When I look in the log I see this:
[Tue Feb 28 09:14:43 2012]Local/Sample/Basic/mressler@EnCanaAD/4240/Info(1013091)
Received Command [SQLListDsn] from user [mressler@EnCanaAD]
[Tue Feb 28 09:14:43 2012]Local/Sample/Basic/mressler@EnCanaAD/4240/Info(1021020)
Cannot read SQL driver name for [Backup Exec Catalogs] from [ODBC.INI]
[Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Info(1013091)
Received Command [SQLRetrieve] from user [mressler@EnCanaAD]
[Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Info(1021020)
Cannot read SQL driver name for [Backup Exec Catalogs] from [ODBC.INI]
[Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Info(1021004)
Connection String is generated
[Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Info(1021041)
Connection String is [DSN=Test;UID=...;PWD=...;]
[Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Info(1021006)
SELECT Statement [SELECT '1' from dual] is generated
[Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Info(1021013)
ODBC Layer Error: [IM004] ==> [[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed]
[Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Info(1021014)
ODBC Layer Error: Native Error code [0]
[Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Error(1021001)
Failed to Establish Connection With SQL Database Server. See log for more information
[Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Warning(1080014)
Transaction [ 0x140002( 0x4f4cfd87.0x7b890 ) ] aborted due to status [1021001].
I have tested that the ODBC connection can connect to the database. The sql query has been dumbed down to select '1' from dual. I have not included the word "select" in the query.
Anyone seen this before? We are in the process of uninstalling the Oracle client completely and re-installing it to see if this solves the issue. We only installed the 64 bit version of the Oracle client. I am running on Windows Enterprise 2008 R2 - 64 bit. EAS, Essbase, EIS are all 64 bit installs. I believe Studio is the only one that is 32bit. However we are not currently using this product.
Thanks,
MikeHi Mike,
With Oracle Support's help, we got 3 of the 5 servers working now. We were using the Datadirect drivers but were configuring them wrong! You have to use the Standard Connection portion in the setup, specifying the Host, Port Number (1521) and the SID. We were using the TNSNames Connection which worked in the past, but apparently does not now.
So I am down to 2 servers not working. They are both Windows 2008 R2 Enterprise 64 bit, running Oracle EPM Essbase 11.1.2.1. When I Open SQL in EAS it prompts for database (Essbase Server, App, DB) and when I hit ok it pops up with "Network error: Cannot Locate Connect Information For []". We did not do any of the suggestions in the document you linked to get the other 3 servers working. When you hit ok on that error, you then get another error stating, "There are no Data Sources defined. 'SQL data sources' option will be disabled". We do have datasources defined on the server.
Any ideas?
Thanks,
Mike
Edited by: Mike on Mar 1, 2012 8:38 AM
Maybe you are looking for
-
Is anyone else experiencing the following crashes? [1] on Windows xp , pentium 4/ 1.6GHz /768mb when App starts (never get to see the applicationInterface) Unrecoverable Error Flash Mediaencoder.exe v(1.0.0.397) experienced the exception 0xc0000005 E
-
[solved] awesome WM - how to check if current tag is empty?
Been trying to obtain this behaviour with Awesome:- Start off with one tag. When an app is started, push it to the next tag and change tag to that tag. I've got that part going using this:- { rule = { type = "normal" }, except_any = { class = { "Keep
-
Sometimes when composing a E-mail i have to switch to another program and I use the minus button to put mail in the background. when I click on the mail icon, mail opens but the former e-mail I was composing disappears to somewhere. There is no draft
-
Hello everyone, I have the problem that I do not know how to install an older version of Flash ActiveX, since trying to install version 9, or even 10.0 .45, the error that comes out is not a recent version, and does not allow you to continue with the
-
Problem: 9i with RedHat Enterprise 4 EM64T
Hi ppl, I was trying to install Oracle 9.2.0.4 on RedHat Enterprise 4 EM64T but i got this error: Error in invoking target install_isqlplus of makefile $ORACLE_HOME/sqlplus/lib/ins_sqlplus.mk My system is fully updated with RHN. I tried to modify the