ADODB ODBC connection: "Method '~' of object '~' failed"

Questions about Wine on Linux
Post Reply
Merlot
Newbie
Newbie
Posts: 3
Joined: Fri Nov 30, 2018 11:14 am

ADODB ODBC connection: "Method '~' of object '~' failed"

Post by Merlot » Mon Dec 03, 2018 6:01 am

When trying to open a connection in Windows XP using a connection string with a silly ODBC driver, such as this:
DRIVER={carrots};SERVER=127.0.0.1;DATABASE=db;UID=user;PWD=password;PORT=3306;OPTION=3;
it fails with "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified". All good.

But in wine it fails with "Method '~' of object '~' failed".

What's going on there?

Whatever the problem is, it's probably the cause of this issue:
viewtopic.php?f=8&t=31519

Merlot
Newbie
Newbie
Posts: 3
Joined: Fri Nov 30, 2018 11:14 am

Re: ADODB ODBC connection: "Method '~' of object '~' failed"

Post by Merlot » Tue Dec 04, 2018 8:26 am

The symptoms are as if the connection string is being completely ignored when run under wine.

Post Reply