Hi all,

When running de sample app included in the 12.5beta I get an error message:

SQLSTATE = IM003 Cannot load driver due to system error 193. (C:\Program Files\SQL Anywhere 12\Bin64\dbodbc12.dll).

The beta is installed on Windows 7 Ultimate 64bit (dutch).

Any idea what is wrong here ?.

Regards Ruud de Heij

asked 13 Jun '11, 05:23

Ruud's gravatar image

Ruud
6112
accept rate: 0%

edited 20 Dec '12, 15:25

Mark%20Culp's gravatar image

Mark Culp
24.9k10141297


system error 193 is:

ERROR_BAD_EXE_FORMAT 193 (0xC1) %1 is not a valid Win32 application

I'd guess that power builder is a 32 bit app, and it is trying to load the 64 bit ODBC driver.

Is there a C:\Program Files\SQL Anywhere 12\Bin32\dbodbc12.dll installed?

If so, I'd guess you need to ensure your data source name is configured for the 32 bit ODBC driver. I'm not particularly familiar with how to do that, but see this question. When I searched for 32 odbc 64 on this forum there were other matches that could also be helpful.

permanent link

answered 13 Jun '11, 09:31

Ian%20McHardy's gravatar image

Ian McHardy
3.4k23557
accept rate: 40%

Hi Ian,

Thanks. There was no dbodbc12.dll in the Bin32 directory. After adding the 32 ODBC drivers the application works fine.

(13 Jun '11, 17:30) Ruud

Re-run the Powerbuilder 12.5 Installer. It asks you to uninstall, do not do so. When you get to the SQL Anywhere installer, click modify, and check any flags that say 32-bit. When the SQL Anywhere installer finishes, click cancel when the installer asks you to continue to Infomaker/Powerbuilder.

permanent link

answered 20 Dec '12, 12:49

vittorio88's gravatar image

vittorio88
162
accept rate: 0%

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:

×145
×95
×38

question asked: 13 Jun '11, 05:23

question was seen: 9,113 times

last updated: 20 Dec '12, 15:25