dotnet 3.0 app crash on startup

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
clark71822
Newbie
Newbie
Posts: 4
Joined: Sun Jul 11, 2010 1:45 am

dotnet 3.0 app crash on startup

Post by clark71822 »

Hello. I installed a program called ConnectUO (http://www.connectuo.com) which allows Ultima Online players to connect to free servers. When run, a splash screen is supposed to show up and checks for new version before loading the main window, but crashes as it tries to load the splash screen.
I'm running:
Ubuntu 10.04 Lucid Lynx 64 bit
Wine 1.2 rc7
Winetricks 20100618

Installed dotnet20 and dotnet30 via winetricks on clean wine install, which claimed to have been successful. Added corefonts, fontfix, fakeie6, mfc40 and mfc42, directx10, directx9, and richtx32 (just to try and see if any of those helped any which apparently doesn't seem to work).
Only registry edits I did was enable logging via HKLM/Software/Microsoft/Fusion EnableLog 1 as DWORD.
Not sure what else to try at this point so if anyone can give me some ideas that would be great. Below is a link to the terminal output when attempting to run program. Thanks.

http://pastebin.com/RAN7kzT2
qwertymn
Level 4
Level 4
Posts: 236
Joined: Thu Mar 27, 2008 3:42 am

Post by qwertymn »

System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. Exception from HRESULT: 0x80070002
looks like it needs dotnet 3.5. Did you try if it runs under mono?
James McKenzie

dotnet 3.0 app crash on startup

Post by James McKenzie »

qwertymn wrote:
System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. Exception from HRESULT: 0x80070002
looks like it needs dotnet 3.5. Did you try if it runs under mono?

Start with a clean wineprefix:

Code: Select all


winetricks mono26

No other fixes should be needed at this point. Also, directx9 is
deprecated and should not be used unless the AppDb specifically states so.


James McKenzie
clark71822
Newbie
Newbie
Posts: 4
Joined: Sun Jul 11, 2010 1:45 am

Post by clark71822 »

I installed mono 2.6.4 on a clean prefix, then used forcemono verb in winetricks then tried to install ConnectUO. Setup wouldn't let me install because it said I didn't have .net 3.0 installed. I installed .net 3.0 and 2.0 and tried to install 3.5 (which gave an error towards the end of the install similar to one mentioned in AppDB). So I pretty much copied everything in the windows\assembly and windows\microsoft .net folders from my Win 7 partition over to the wine prefix and tried installing and running ConnectUO again. Install succeeded, however this time it throws a different error message. Below is the link to the terminal output. Could it be that I'm missing other files for .net?

http://pastebin.com/Y4r9TJDc
clark71822
Newbie
Newbie
Posts: 4
Joined: Sun Jul 11, 2010 1:45 am

Post by clark71822 »

I forgot to mention that it throws the error when I tried to run it, not install it. It's been a long day for me lol.
qwertymn
Level 4
Level 4
Posts: 236
Joined: Thu Mar 27, 2008 3:42 am

Post by qwertymn »

So I pretty much copied everything in the windows\assembly and windows\microsoft .net folders from my Win 7 partition over to the wine prefix and tried installing and running ConnectUO again. Install succeeded, however this time it throws a different error message.
Out of curiosity i tried the same method, (except i copied it from an XP instead of Win7 partition). For me, it doesn't crash, and the GUI comes up fine. Don't know if the rest works, as it seems you have to have a UO game installation to test things
clark71822
Newbie
Newbie
Posts: 4
Joined: Sun Jul 11, 2010 1:45 am

Post by clark71822 »

That's what I had thought at first, but after installing Ultima Online and Razor, ConnectUO still crashes with the same error. What kind of setup are you running qwertymn?
qwertymn
Level 4
Level 4
Posts: 236
Joined: Thu Mar 27, 2008 3:42 am

Post by qwertymn »

That's what I had thought at first, but after installing Ultima Online and Razor, ConnectUO still crashes with the same error. What kind of setup are you running qwertymn?
I'm not sure what you mean exactly with "setup"? I used most recent wine (wine-1.1-rc7) and after 'winetricks dotnet30', i copied over the entire windows\assembly and windows\microsoft .net folders from my winXP to .wine/drive_c/windows
Locked