https://bugs.winehq.org/show_bug.cgi?id=42998
Bug ID: 42998 Summary: OLE error with HeidiSQL trying to access Microsoft Sql Server Product: Wine Version: 2.7 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: wine@zootal.com Distribution: ---
Created attachment 58139 --> https://bugs.winehq.org/attachment.cgi?id=58139 Screen shot of error
HeidiSQL version 9.4.0.5169 Using Slackware 14.2 64 bit.
With Wine 2.6 and 2.7, when trying to access a MS SQL database, you get an OLE error. See attachment for screen shot. This works just fine with Wine 2.5.
Steps to reproduce:
1) Use a clean wine prefix! 2) Run the installer - it will install just fine. 3) Run the app. Try to connect to a MSSQL database. It will complain about mdac not installed, as it should. 4) winetricks mdac_28 - DO THIS WHILE THE APP IS STILL RUNNING, DON'T TERMINATE THE APPLICATION (not sure if this matters, it is just how I did it) 5) Try your MSSQL database access again, note that it works. 6) Terminate application. 7) Run application again, and from this point on it will give you an error, and you will no longer be able to connect.
This appears in the console:
err:ole:CoGetClassObject class {6c736db1-bd94-11d0-8a23-00aa00b58e10} not registered err:ole:CoGetClassObject no class object {6c736db1-bd94-11d0-8a23-00aa00b58e10} could be created for context 0x1 fixme:comsvcs:DllGetClassObject ({ecabb0c0-7f19-11d2-978e-0000f8757e2a},{00000001-0000-0000-c000-000000000046},0x33f37c) stub err:ole:apartment_getclassobject DllGetClassObject returned error 0x80040111 err:ole:CoGetClassObject no class object {ecabb0c0-7f19-11d2-978e-0000f8757e2a} could be created for context 0x1 fixme:comsvcs:DllGetClassObject ({ecabb0c0-7f19-11d2-978e-0000f8757e2a},{00000001-0000-0000-c000-000000000046},0x33f31c) stub err:ole:apartment_getclassobject DllGetClassObject returned error 0x80040111 err:ole:create_server class {ecabb0c0-7f19-11d2-978e-0000f8757e2a} not registered fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported err:ole:CoGetClassObject no class object {ecabb0c0-7f19-11d2-978e-0000f8757e2a} could be created for context 0x17
Again, note that this is Wine 2.6 and 2.7 ONLY, it works fine with Wine 2.5