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?

Link to full crash log

                          +-----------------+
                          |   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)

asked 07 Jan '14, 06:40

samrae's gravatar image

samrae
2114618
accept rate: 50%

edited 07 Jan '14, 09:09

Mikel%20Rychliski's gravatar image

Mikel Rychliski
2.1k1641

1

Is C:\Program Files\SQL Anywhere 11\Bin32 on your system path? You can check by running echo %PATH% at the command prompt.

(07 Jan '14, 08:27) Mikel Rychliski
Replies hidden

Yeah, bin64 is there too

(08 Jan '14, 04:57) samrae
1

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 folder

(08 Jan '14, 08:17) Mikel Rychliski

yeah, 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.

(08 Jan '14, 09:17) samrae

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.

permanent link

answered 23 Jan '14, 06:54

samrae's gravatar image

samrae
2114618
accept rate: 50%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×101
×85
×67
×64
×37

question asked: 07 Jan '14, 06:40

question was seen: 1,327 times

last updated: 23 Jan '14, 06:54