http://bugs.winehq.org/show_bug.cgi?id=22915
Summary: proprietary little hour registration program cannot connect to ms sql server (worked with 1.1.20) Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: mark.dufour@gmail.com
Created an attachment (id=28355) --> (http://bugs.winehq.org/attachment.cgi?id=28355) +relay log
at work we use this awful little hour registration program, that connects to a MS SQL server. as wine progressed, in the end I only needed to install MDAC28.EXE to get it to work quite well. but then something horrible happened and it stopped working, with a popup box saying something like 'cannot connect to MS server'.. I tried several versions of wine, and apparently somewhere around 1.1.21 it stopped working.
unfortunately, the program is proprietary, but I'd love to provide logs and such, if I can get some direction. I'll attach a +relay log here, in the hope it may be useful.
http://bugs.winehq.org/show_bug.cgi?id=22915
--- Comment #1 from Andrew Nguyen arethusa26@gmail.com 2010-05-28 11:14:45 --- Please attach plain terminal output of a run with wine-1.2-rc1.
http://bugs.winehq.org/show_bug.cgi?id=22915
--- Comment #2 from srepmub mark.dufour@gmail.com 2010-05-28 11:18:46 --- Created an attachment (id=28356) --> (http://bugs.winehq.org/attachment.cgi?id=28356) terminal output 1.2rc-1
like so?
http://bugs.winehq.org/show_bug.cgi?id=22915
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
--- Comment #3 from Austin English austinenglish@gmail.com 2010-05-28 11:27:55 ---
srepmub@akemi:/mnt/i/APPL/BIG BEN$ wine bbinvoer
Are you running this from a windows partition?
If it worked in 1.1.20 and doesn't now, please run a regression test: http://wiki.winehq.org/RegressionTesting
http://bugs.winehq.org/show_bug.cgi?id=22915
--- Comment #4 from Andrew Nguyen arethusa26@gmail.com 2010-05-28 11:32:23 --- (In reply to comment #2)
Created an attachment (id=28356)
--> (http://bugs.winehq.org/attachment.cgi?id=28356) [details]
terminal output 1.2rc-1
like so?
Make sure you're using native oledb32.dll, although I suspect you might want to reinstall the MDAC redist with the native override.
http://bugs.winehq.org/show_bug.cgi?id=22915
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.1.21 Summary|proprietary little hour |proprietary little hour |registration program cannot |registration program cannot |connect to ms sql server |connect to ms sql server |(worked with 1.1.20) |
http://bugs.winehq.org/show_bug.cgi?id=22915
--- Comment #5 from srepmub mark.dufour@gmail.com 2010-05-28 14:41:15 --- thank you for the quick response and suggestions. this was running off a windows network share. I will try to do a regression test when at work again next week, and look into using native oledb32.dll.
http://bugs.winehq.org/show_bug.cgi?id=22915
--- Comment #6 from Vitaliy Margolen vitaliy@kievinfo.com 2010-05-28 16:54:16 --- Most likely reason Wine's oledb32 was made preferred over native.
http://bugs.winehq.org/show_bug.cgi?id=22915
--- Comment #7 from srepmub mark.dufour@gmail.com 2010-05-31 03:24:31 --- setting oledb32.dll to native, then installing mdac 2.8 makes the app work again. thanks! the datepicker also doesn't seem to disappear anymore..
I'm not sure if a regression test is useful if the cause was that the builtin version was made preferred, but I will try anyway.
http://bugs.winehq.org/show_bug.cgi?id=22915
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #8 from Andrew Nguyen arethusa26@gmail.com 2010-05-31 03:25:34 --- Marking this invalid then.
http://bugs.winehq.org/show_bug.cgi?id=22915
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Andrew Nguyen arethusa26@gmail.com 2010-05-31 03:25:56 --- Closing the bug.
http://bugs.winehq.org/show_bug.cgi?id=22915
--- Comment #10 from srepmub mark.dufour@gmail.com 2010-05-31 03:31:21 --- pardon my ignorance, but isn't it a bug if the builtin version doesn't work..?
http://bugs.winehq.org/show_bug.cgi?id=22915
--- Comment #11 from Juan Lang juan_lang@yahoo.com 2010-05-31 10:52:38 --- (In reply to comment #10)
pardon my ignorance, but isn't it a bug if the builtin version doesn't work..?
Er, well, yes ;) Some areas of Wine are so incomplete, and easy workarounds available, we don't leave bugs open against them, because they'd stay open for years (decades?) for no good reason. I think that's the rationale here, anyway. And which areas those are.. hah, well, that varies with time. MFC is certainly on that list.
It was probably the introduction of the dll that introduced the bug. That is, I'd bet your regression appeared with commit bcfce0592bd44b483ca36cfed9a5c719b2c8bba6.
If you _don't_ set the oledb32 override, and install mdac, and it doesn't work, then the bug may well be in winetricks: perhaps it should set the override.
http://bugs.winehq.org/show_bug.cgi?id=22915
--- Comment #12 from Austin English austinenglish@gmail.com 2010-05-31 12:14:36 --- I still think there should be a bug for it...perhaps a new one, since this one has a lot of unrelated information.
http://bugs.winehq.org/show_bug.cgi?id=22915
--- Comment #13 from srepmub mark.dufour@gmail.com 2010-06-01 04:06:27 --- okay, I will do a regression test or confirm the given commit, and open a new bug then.