[SOLVED]Problem with SQL-client

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
oper777
Level 1
Level 1
Posts: 5
Joined: Thu Oct 08, 2009 5:34 am

[SOLVED]Problem with SQL-client

Post by oper777 »

Hello

I'm using some program with wine. This program is SQL-client, working with MS SQL Server.
This program work perfectly in Windows95-XP (not work in Vista&7) and in wine (latest stable in gentoo is wine-1.1.12). To make this program work i have installed Microsoft Data Access Components (MDAC) 2.8.

All nice, all good.

And then i install wine-1.1.30 and it doesn't work. Even when i "rm -r ~/.wine" and reinstall MDAC28. There are messages in terminal:

Code: Select all

err:ole:CoGetClassObject class {c8b522cf-5cf3-11ce-ade5-00aa0044773d} not registered
err:ole:CoGetClassObject no class object {c8b522cf-5cf3-11ce-ade5-00aa0044773d} could be created for context 0x1
err:ole:apartment_getclassobject DllGetClassObject returned error 0x80040154
err:ole:CoGetClassObject no class object {0c7ff16c-38e3-11d0-97ab-00c04fc2ad98} could be created for context 0x1
Program show window with error "MS SQL not found."

In wine-1.1.12 it works silently.

What i have to do?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Problem with SQL-client

Post by vitamin »

[quote="oper777"]And then i install wine-1.1.30 and it doesn't work. Even when i "rm -r ~/.wine" and reinstall MDAC28. There are messages in terminal:

Code: Select all

err:ole:CoGetClassObject class {c8b522cf-5cf3-11ce-ade5-00aa0044773d} not registered
Set OLEDB32.DLL to native and reinstall MDAC28.
oper777
Level 1
Level 1
Posts: 5
Joined: Thu Oct 08, 2009 5:34 am

Post by oper777 »

It doesn't help. The error messages are the same.

So problem is in MDAC installing? May be this is regression of some kind?
oper777
Level 1
Level 1
Posts: 5
Joined: Thu Oct 08, 2009 5:34 am

Post by oper777 »

Sorry, it does work!

Thank you very much!



How i can set tag [SOLVED] to the topic?
Xava
Newbie
Newbie
Posts: 3
Joined: Mon Jun 28, 2010 11:59 am

Post by Xava »

Hello,
i have the same problem

how are you resolved this?

i have installed mdac 2.8 and the error "MS SQL NOT FOUND." is reported when Mdac Data Module is created

in advance,
thanks you very much
oper777
Level 1
Level 1
Posts: 5
Joined: Thu Oct 08, 2009 5:34 am

Post by oper777 »

I made it just like Vitamin said:

In winecfg->libraries i have added ole32 to list with settings (native, builtin).

After that i have reinstalled MDAC28 and that is all.
Xava
Newbie
Newbie
Posts: 3
Joined: Mon Jun 28, 2010 11:59 am

Post by Xava »

Thanks very much, but..
that don't work for me :(


Image
Xava
Newbie
Newbie
Posts: 3
Joined: Mon Jun 28, 2010 11:59 am

Post by Xava »

Sorry!
i use ole32.dll not oledb32.dll

it's work!!!!!

thanks you very muchh!!!
oper777
Level 1
Level 1
Posts: 5
Joined: Thu Oct 08, 2009 5:34 am

Post by oper777 »

Sorry, that is my fault. I have mistyped "ole32" instead "oledb32". Of course it must be "oledb32".
Locked