VRS under opensuse 12.2

Are you having trouble getting Virtual Radar Server installed and running? If so then this is the place to ask about it.
Post Reply
aalested
Posts: 14
Joined: Fri Feb 22, 2013 10:48 am

VRS under opensuse 12.2

Post by aalested » Tue Mar 05, 2013 5:12 pm

Hi.

Just installed VRS, and it has issue. What can I do with it ?

Here's what I'm receiving:

linux-gw11:/home/lajka2/VirtualRadarServer # mono VirtualRadar.exe
Missing method EnableVisualStyles in assembly /home/lajka2/VirtualRadarServer/VirtualRadar.exe, type System.Windows.Forms.Application

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
File name: 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
File name: 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

inux-gw11:/home/lajka2/VirtualRadarServer # ls -l
total 2796
-rw-rw-rw- 1 lajka2 users 8192 Feb 27 02:34 InterfaceFactory.dll
-rw-rw-rw- 1 lajka2 users 7168 Sep 12 2011 Interop.NATUPNPLib.dll
-rw-rw-rw- 1 lajka2 users 103832 Sep 12 2011 Microsoft.FlightSimulator.SimConnect.dll
-rw-rw-rw- 1 lajka2 users 101376 Mar 3 13:42 VirtualRadar.Database.dll
-rwxrwxrwx 1 lajka2 users 83456 Mar 4 01:17 VirtualRadar.exe
-rw-rw-rw- 1 lajka2 users 275968 Mar 3 01:18 VirtualRadar.Interface.dll
-rw-rw-rw- 1 lajka2 users 6656 Mar 3 01:19 VirtualRadar.Interop.dll
-rw-rw-rw- 1 lajka2 users 288256 Mar 3 15:31 VirtualRadar.Library.dll
-rw-rw-rw- 1 lajka2 users 141824 Feb 28 16:06 VirtualRadar.Localisation.dll
-rw-rw-rw- 1 lajka2 users 382976 Feb 27 19:36 VirtualRadar.Resources.dll
-rw-rw-rw- 1 lajka2 users 8704 Jan 22 14:02 VirtualRadar.SQLiteWrapper.dll
-rw-rw-rw- 1 lajka2 users 30720 Mar 3 01:20 VirtualRadar.WebServer.dll
-rw-rw-rw- 1 lajka2 users 888320 Mar 3 02:05 VirtualRadar.WebSite.dll
-rw-rw-rw- 1 lajka2 users 510464 Mar 3 01:20 VirtualRadar.WinForms.dll



What can I do ?.

Erik

gariac
Posts: 31
Joined: Sun Jan 13, 2013 6:25 am

Re: VRS under opensuse 12.2

Post by gariac » Mon Apr 01, 2013 9:22 am

I've run VRS under suse 12.2, though I'm on 12.3 now. It works with some minor complaint or two that doesn't seem significant. I'm on my windows box at the moment, so I don't recall what the complaint is. Anyway, have you insured your mono is up to date. Why not just upgrade to 12.3 and see what happens.

I will warn you that 12.3 installs grub2 and so booting sometimes acts weird. I suspect this was done for UEFI, but they should have left an option not to change to grub2 for older systems.

agw
Posts: 2241
Joined: Fri Feb 17, 2012 3:20 am

Re: VRS under opensuse 12.2

Post by agw » Mon Apr 01, 2013 3:40 pm

As gariac says it sounds like either the Mono you have installed doesn't include System.Windows.Forms or something that System.Windows.Forms depends upon is missing. I think you can generally figure out what's not loading by running mono with the --trace option but be warned that the option generates a lot of output (unless your application fails very early on).

I would start by making sure that you have libgdiplus installed on the machine as System.Windows.Forms relies on it and it seems to be the one that's most commonly missing.

Post Reply