Hi, I am encountering the following error when i try to connect the ultralite 12 database using sybase central(6.1.0.6420)

"could not connect to database"

"data source name not found and no default driver specified"

I have also tried register the ulodbc12.dll as suggested but no success.

regards vhm

asked 26 Jun '13, 23:14

vhm's gravatar image

vhm
210131320
accept rate: 0%

What bitness is Sybase Central? Is the odbc driver bitness the same?

(27 Jun '13, 07:38) Chris Keating

yes it is same

(28 Jun '13, 03:10) vhm

I can only reproduce this problem if the driver is not in fact installed.

If Sybase Central is 32 bit, please check that there is an entry "UltraLite 12" on 32 OS, in the registry node. For 64 bit OS, the node would be HKEY_LOCAL_MACHINESOFTWAREODBCODBCINST.INI.

To register the 32 bit driver, execute the following:

C:WindowsSysWOW64regsvr32.exe %sqlany12%bin32ulodbc12.dll

If Sybase Central is 64 bit, check for that folder in HKEY_LOCAL_MACHINESOFTWAREODBCODBCINST.INI

To register the 64 bit driver, execute the following: C:Windowssystem32regsvr32.exe %sqlany12%bin64ulodbc12.dll

(28 Jun '13, 13:40) Chris Keating
Be the first one to answer this question!
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:

×132

question asked: 26 Jun '13, 23:14

question was seen: 1,104 times

last updated: 28 Jun '13, 13:40