An error I can't seem to get past ...
-
- Level 1
- Posts: 9
- Joined: Sun Apr 13, 2008 7:47 pm
An error I can't seem to get past ...
I have installed a helpdesk client on my office PC under wine. I get the following error during running:
---------------------
The following components are either not present on this machine or have an incorrect version number:
Microsoft ADO DB (Minimal required version: 2.1)
Please try to correct this problem before starting the application.
----------------------
The application installed without any error. From the above error, it appears that its fairly old app and does not require any fancy XP/Vista library. However, I am stuck with the above and have one of the two options (both undesirable):
1. Use the web client -- which is very scanty in features and nigh unusable.
2. Boot into windows partition
Regards.
---------------------
The following components are either not present on this machine or have an incorrect version number:
Microsoft ADO DB (Minimal required version: 2.1)
Please try to correct this problem before starting the application.
----------------------
The application installed without any error. From the above error, it appears that its fairly old app and does not require any fancy XP/Vista library. However, I am stuck with the above and have one of the two options (both undesirable):
1. Use the web client -- which is very scanty in features and nigh unusable.
2. Boot into windows partition
Regards.
An error I can't seem to get past ...
On Sun, Apr 13, 2008 at 5:52 PM, kanwar.plaha <[email protected]> wrote:
wget http://kegel.com/wine/winetricks
sh winetricks mdac27
and let us know if it helps.
Try this:The following components are either not present on this machine or have an incorrect version number:
Microsoft ADO DB (Minimal required version: 2.1)
wget http://kegel.com/wine/winetricks
sh winetricks mdac27
and let us know if it helps.
-
- Level 1
- Posts: 9
- Joined: Sun Apr 13, 2008 7:47 pm
Thanks!
That worked like a charm and I can start the application -- almost. Just before I get the full application opened, I get the following error:
com.ms.com.ComFailException: Invalid index value passed in
When I click 'Ok', the application closes. There is no addition error message in the shell from where I started the app.
Regards,
Kanwar
That worked like a charm and I can start the application -- almost. Just before I get the full application opened, I get the following error:
com.ms.com.ComFailException: Invalid index value passed in
When I click 'Ok', the application closes. There is no addition error message in the shell from where I started the app.
Regards,
Kanwar
-
- Level 1
- Posts: 9
- Joined: Sun Apr 13, 2008 7:47 pm
An error I can't seem to get past ...
On Sun, Apr 13, 2008 at 6:48 PM, kanwar.plaha <[email protected]> wrote:
sh winetricks dcom98
(That's risky, but it might be worth it for your app.)
Let us know if it helps.
If it does help, we have a bug.
- Dan
That sounds like a problem with wine's COM. Try this:Just before I get the full application opened, I get the following error:
com.ms.com.ComFailException: Invalid index value passed in
sh winetricks dcom98
(That's risky, but it might be worth it for your app.)
Let us know if it helps.
If it does help, we have a bug.
- Dan
-
- Level 1
- Posts: 9
- Joined: Sun Apr 13, 2008 7:47 pm
An error I can't seem to get past ...
On Sun, Apr 13, 2008 at 8:03 PM, kanwar.plaha <[email protected]> wrote:
Uninstall dcom98 now (either by wiping ~/.wine and starting over,
or by running regedit and removing the library overrides for
ole32, oleaut32, and rpcrt4). That should get you back to the
'almost working' state. Now the hard part starts:
figuring out what's broken in wine.
You might be able to get a log that explains it, but
it's pretty hard, and usually a programmer has to
run the app in question. Can you give a copy to a
Wine developer?
So don't use dcom98, it's kind of broken these days.No that did not help. In fact, the app does not even start up now
Well, yes, but it's not obvious what bug yet.So is this a bug?
Uninstall dcom98 now (either by wiping ~/.wine and starting over,
or by running regedit and removing the library overrides for
ole32, oleaut32, and rpcrt4). That should get you back to the
'almost working' state. Now the hard part starts:
figuring out what's broken in wine.
You might be able to get a log that explains it, but
it's pretty hard, and usually a programmer has to
run the app in question. Can you give a copy to a
Wine developer?
-
- Level 1
- Posts: 9
- Joined: Sun Apr 13, 2008 7:47 pm
I removed dcom98 and ran the app again. Only once I got the following error after the ComFailException one ...
java.lang.NullPointerException
at java/io/File.<init>
at com/hp/ifc/util/AppLog.setLogFile
...
Don't know if this will help.
As for giving the application, I don't know about that (yet). Besides, the error occurs after I enter my username/password and the server to login to. Would it be possible to debug/trace the program without the login details? BTW, I don't reach the point of failure if I give incorrect login details.
java.lang.NullPointerException
at java/io/File.<init>
at com/hp/ifc/util/AppLog.setLogFile
...
Don't know if this will help.
As for giving the application, I don't know about that (yet). Besides, the error occurs after I enter my username/password and the server to login to. Would it be possible to debug/trace the program without the login details? BTW, I don't reach the point of failure if I give incorrect login details.
An error I can't seem to get past ...
On Sun, Apr 13, 2008 at 10:31 PM, kanwar.plaha
<[email protected]> wrote:
you won't be able to give a copy to a wine developer.
Unless you feel like acting like a wine developer, and
figuring out how to track down the problem yourself
(with a little help from us), you might want to cry uncle.
Or maybe hire somebody to fix wine.
Sorry!
- Dan
<[email protected]> wrote:
That's interesting.I removed dcom98 and ran the app again. Only once I got the following error after the ComFailException one ...
java.lang.NullPointerException
at java/io/File.<init>
at com/hp/ifc/util/AppLog.setLogFile
...
Nope, if you have to log in to a server to hit the problem,As for giving the application, I don't know about that (yet). Besides, the error occurs after I enter my username/password and the server to login to. Would it be possible to debug/trace the program without the login details? BTW, I don't reach the point of failure if I give incorrect login details.
you won't be able to give a copy to a wine developer.
Unless you feel like acting like a wine developer, and
figuring out how to track down the problem yourself
(with a little help from us), you might want to cry uncle.
Or maybe hire somebody to fix wine.
Sorry!
- Dan
-
- Level 1
- Posts: 9
- Joined: Sun Apr 13, 2008 7:47 pm
An error I can't seem to get past ...
On Mon, Apr 14, 2008 at 4:50 AM, kanwar.plaha <[email protected]> wrote:
WINEDEBUG=+text,+seh,+ole,+relay wine yourapp.exe > log.txt 2>&1
Then look for the error message in log.txt, and look backwards for
something suspicious.
No tools, just turn on logging. e.g.How do I go about tracing/debugging the program? What tools will I need to have access to?
WINEDEBUG=+text,+seh,+ole,+relay wine yourapp.exe > log.txt 2>&1
Then look for the error message in log.txt, and look backwards for
something suspicious.
-
- Level 1
- Posts: 9
- Joined: Sun Apr 13, 2008 7:47 pm
-
- Level 1
- Posts: 9
- Joined: Sun Apr 13, 2008 7:47 pm
Got it working!
Thanks for your pointer of checking the logfile. I found some error about OLE and tried web search.
A forum said installing riched20.dll and oleaut32.dll from native windows installation should work, although it did not refer to the exact error message I was getting.
After copying those two files and setting them to native in winecfg, I can see the service desk client started up. Whether it works flawlessly as a application remains to be seen.
Cheers.
Thanks for your pointer of checking the logfile. I found some error about OLE and tried web search.
A forum said installing riched20.dll and oleaut32.dll from native windows installation should work, although it did not refer to the exact error message I was getting.
After copying those two files and setting them to native in winecfg, I can see the service desk client started up. Whether it works flawlessly as a application remains to be seen.
Cheers.
An error I can't seem to get past ...
On Thu, Apr 17, 2008 at 8:37 PM, kanwar.plaha <[email protected]> wrote:
(One easy way to install those two DLLs is to use my script which grabs them
straight from microsoft.com and sets the override for you, e.g.
wget http://kegel.com/wine/winetricks
sh winetricks riched20 dcom98
However dcom98 is getting kind of long in the tooth, it's not a clear
win anymore.)
Please create an entry for your app at http://appdb.winehq.org and share your
experiences there.
Thanks,
Dan
Excellent!Got it working!
Thanks for your pointer of checking the logfile. I found some error about OLE and tried web search.
A forum said installing riched20.dll and oleaut32.dll from native windows installation should work, although it did not refer to the exact error message I was getting.
After copying those two files and setting them to native in winecfg, I can see the service desk client started up. Whether it works flawlessly as a application remains to be seen.
(One easy way to install those two DLLs is to use my script which grabs them
straight from microsoft.com and sets the override for you, e.g.
wget http://kegel.com/wine/winetricks
sh winetricks riched20 dcom98
However dcom98 is getting kind of long in the tooth, it's not a clear
win anymore.)
Please create an entry for your app at http://appdb.winehq.org and share your
experiences there.
Thanks,
Dan
-
- Level 1
- Posts: 9
- Joined: Sun Apr 13, 2008 7:47 pm
Re: An error I can't seem to get past ...
I had installed dcom98 in a previous run and it messed up my wine installation. Some other software that were running fine stopped doing so as well.Dan Kegel wrote:On Thu, Apr 17, 2008 at 8:37 PM, kanwar.plaha <[email protected]> wrote:
Excellent!
(One easy way to install those two DLLs is to use my script which grabs them
straight from microsoft.com and sets the override for you, e.g.
wget http://kegel.com/wine/winetricks
sh winetricks riched20 dcom98
However dcom98 is getting kind of long in the tooth, it's not a clear
win anymore.)
It already exists. I have added my comments there as well.Please create an entry for your app at http://appdb.winehq.org and share your
experiences there.
Thanks,
Dan
http://appdb.winehq.org/appview.php?iVersionId=3459
Cheers and thanks for your help.