Unable to access registry

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Untol
Level 1
Level 1
Posts: 6
Joined: Wed Mar 05, 2008 10:22 am

Unable to access registry

Post by Untol »

I'm attempting to get our Accounting software : Peachtree Premium Accounting to work under Wine in Ubuntu 7.10. The install went smoothly with 0 issues however when i try to run it , it takes about 10s and then exits w/out any errors. So i fired up its database manager since i know it tries to start it first and i get an error message saying Unable to access registry. I've seen that on windows and its because the user does not have permission to access registry keys. Is there a way to fix this on WINE? There are no permission settings that im aware of. If i can get this to work i'm pretty sure it will work. Any help would be appreciated, this is my first experience w/ WINE.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Unable to access registry

Post by vitamin »

Untol wrote:I'm attempting to get our Accounting software : Peachtree Premium Accounting to work under Wine in Ubuntu 7.10. The install went smoothly with 0 issues however when i try to run it , it takes about 10s and then exits w/out any errors. So i fired up its database manager since i know it tries to start it first and i get an error message saying Unable to access registry. I've seen that on windows and its because the user does not have permission to access registry keys. Is there a way to fix this on WINE? There are no permission settings that im aware of. If i can get this to work i'm pretty sure it will work. Any help would be appreciated, this is my first experience w/ WINE.
What software is it? What Wine version? Attach complete terminal output of running that db manager.
Untol
Level 1
Level 1
Posts: 6
Joined: Wed Mar 05, 2008 10:22 am

Post by Untol »

Accounting software : Peachtree Premium Accounting

Wine 0.9.56


As far as attaching the terminal output.

Heres what i input:

jars@jars-desktop:~$ wine /home/jars/.wine/drive_c/Program\ Files/Sage\ Software/Peachtree/peachw.exe

it enters fine. and i just get my prompt right after that line.

When calling the database manager directly i enter:
jars@jars-desktop:~$ wine /home/jars/.wine/drive_c/Program\ Files/Sage\ Software/Peachtree/W32MKDE.EXE

It also seems to go through fine, at least at the terminal window however it opens up the application which basically just shows a log of activity for the manager and all it shows is :

16:36:33 MKDE2060: ERror reading the registry. Error code:2

If there is a way to get more output from wine please tell me, like i said this is my first experience with it, so im not very familiar w/ debugging etc.

edit:
Ok i've done some messing around and got it to finally read the registry, doing so naturally screws up the install specifications regarding max locks etc, so i manually matched them to what i have on a windows machine here. However when i try and start peachtree via command prompt i still get nothing. No errors or anything, it just gives me a prompt again after about 10s. I dont doubt there is a way to see more then what im seeing and im searchign through the wiki right now but any help would be greatly appeciated.
Untol
Level 1
Level 1
Posts: 6
Joined: Wed Mar 05, 2008 10:22 am

Post by Untol »

OK i've gotten alot of this to work, however where i seem to be hitting a wall now is the application seems to be unable to create files. Especially tmp files. Is this a permissions issue? Typically once i create the file myself (even an empty file) the program can progress to the next step. But anytime the program itself attempts to create a file i get a nice "unable to create xxx file" and it will either close or not complete the action.

Any suggestions?
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Unable to access registry

Post by austin987 »

On Wed, Mar 5, 2008 at 11:02 AM, Untol <[email protected]> wrote:
OK i've gotten alot of this to work, however where i seem to be hitting a wall now is the application seems to be unable to create files. Especially tmp files. Is this a permissions issue? Typically once i create the file myself (even an empty file) the program can progress to the next step. But anytime the program itself attempts to create a file i get a nice "unable to create xxx file" and it will either close or not complete the action.

Any suggestions?
Did you ever run wine as root/sudo? Also, try cd'ing to the directory
first, then launch the program with 'wine yourprogram.exe'. Don't use
the UNIX path to call it.
Untol
Level 1
Level 1
Posts: 6
Joined: Wed Mar 05, 2008 10:22 am

Post by Untol »

i installed win using sudo apt-get install wine.

I have made some progress after about 4 hours of wrestling with it. I'd say im to the point right now where i just dont think it will run, without some pretty knowledgeable help. After manually finishing most of the install bc it fails to complete past the reboot stage, i got it to load up(after modifying the registry to match what i currently run on windows, with obvious changes for paths), prompt for username/password, and it loads into its default "home" page. However gecko fails to display that, and 75% of all the menu tasks cause it to crash. I tried out crossover and couldn't even get it to get that far so i guess that is a bonus.

The software uses .net, is it possible to...either isntall that or install something that would imitate it? Im thinking thats at the root of alot of the problems im having.

@austin

I do typically cd to the directory to call it, they both work the same way. I am getting quite a bit of information spit out at me now that it actually loads, lots of fixme:ras errors , and things of that nature.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Unable to access registry

Post by austin987 »

On Wed, Mar 5, 2008 at 1:22 PM, Untol <[email protected]> wrote:
The software uses .net, is it possible to...either isntall that or install something that would imitate it? Im thinking thats at the root of alot of the problems im having.
.NET is just now starting to work somewhat in wine. Check the AppDB
for a few workarounds that may help with it.
@austin

I do typically cd to the directory to call it, they both work the same way. I am getting quite a bit of information spit out at me now that it actually loads, lots of fixme:ras errors , and things of that nature.
No, they don't. Some windows apps depend on having the full path
relayed to them, and if they receive a unix path, will freak out.
Untol
Level 1
Level 1
Posts: 6
Joined: Wed Mar 05, 2008 10:22 am

Post by Untol »

i meant they both were doing the same thing for me. sorry to be unclear.
Untol
Level 1
Level 1
Posts: 6
Joined: Wed Mar 05, 2008 10:22 am

Post by Untol »

ya even after successfully getting .net to install, it still doesn't work. Bummer.
Locked