Whenever I try to connect to one the connection profiles in Sybase Central the application throws an error (details below) I'm using Sybase Central v. 6.0.0.4797 Sybase SQL Anywhere 11.0.1.2837 It was working perfectly yesterday and now this! I've reinstalled, Java, Sql Anywhere and the EBF. Still no luck. Any clues? Nothing else has changed on my machine that affected the Sybase Installation, that I can think of, since yesterday. Any tips? +-----------------+ | Stack Trace | +-----------------+ java.lang.UnsatisfiedLinkError: C:Program FilesSQL Anywhere 11Bin32dbjodbc11.dll: Can't find dependent libraries at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(Unknown Source) at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadLibrary(Unknown Source) at ianywhere.ml.jdbcodbc.IDriver.try_load(IDriver.java:450) at ianywhere.ml.jdbcodbc.IDriver.<clinit>(IDriver.java:391) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at com.sybase.asa.logon.JDBCDrivers.loadIAnywhereJDBCODBCDriver(JDBCDrivers.java:129) at com.sybase.asa.logon.JDBCDrivers.connect(JDBCDrivers.java:192) at com.sybase.asa.logon.ASADatabaseSource.connect(ASADatabaseSource.java:2172) at ianywhere.sa.plugin.ConnectionClient.handleOK(ConnectionClient.java:85) at com.sybase.asa.logon.LogonDialogFactory.create(LogonDialogFactory.java:150) at com.sybase.asa.logon.LogonDialogFactory.create(LogonDialogFactory.java:46) at ianywhere.sa.plugin.Connections.connect(Connections.java:88) at ianywhere.sa.plugin.Connections.connect(Connections.java:61) at ianywhere.sa.plugin.SAPlugin.restoreConnection(SAPlugin.java:270) at com.sybase.central.viewer.ScjViewerSupport.restoreConnection(ScjViewerSupport.java:1040) at com.sybase.central.viewer.ConnectThread.run(ConnectThread.java:56) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at com.sybase.util.EventMonitor.dispatchEvent(EventMonitor.java:435) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) |
I ended up having to do an "In-Place" upgrade of the OS to fix this problem. It doesn't look like it was anything to do with Sybase Central. Everything was behaving as if the %PATH% variable wasn't there... sometimes. Anyway, it's fixed. |
Is
C:\Program Files\SQL Anywhere 11\Bin32
on your system path? You can check by runningecho %PATH%
at the command prompt.Yeah, bin64 is there too
Could you try running
cd "%SQLANY11%\Java" && java -cp jodbc.jar ianywhere.ml.jdbcodbc.jdbc3.IBuildNum
to determine the build number of the JDBC java component? Then verify it is identical to the version number on
dbjodbc11.dll
, which is located in your Bin64 folderyeah, same version. They're both 11.0.1.2837 That's a good trick, though. SQL Management Studio throws a similar error when connecting to a Db, all of a sudden. I'm beginning to think this might be a bigger problem with my laptop. I'll check some other things.