[mono-vb] A .net vb program is crashing without vb

jfreak53 jfreak53 at hotmail.com
Sat Jun 21 11:32:11 EDT 2008


I am running ubuntu 8.04 hardy edition on an amd 64 laptop.  I'm trying to
run a program that was made for the school that I work at to enter grades,
this program is run from the server.  I can find the file alright and it
starts running but these are the errors that I get, then it exits and does
nothing.

This is running the program with wine:

preloader: Warning: failed to reserve range 00000000-60000000
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space,
please report
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space,
please report
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space,
please report
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space,
please report
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space,
please report
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space,
please report
fixme:win:EnumDisplayDevicesW ((null),0,0x7f32e310,0x00000000), stub!
fixme:win:SetLayeredWindowAttributes ((nil),0x00000000,255,2): stub!
fixme:win:GetLayeredWindowAttributes
((nil),0x7f32f930,0x7f32f913,0x7f32f914): stub!
fixme:win:SetLayeredWindowAttributes (0x1002e,0x00000000,0,2): stub!

** (MSSchool.exe:24): WARNING **: string marshalling conversion 34 not
implemented

Unhandled Exception: System.NotImplementedException: string marshalling
conversion 34 not implemented
at MSSchool.frmLogin.frmLogin_Load (object,System.EventArgs) <0x00175>
at System.Windows.Forms.Form.OnLoad (System.EventArgs) <0x00059>
at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs) <0x0005d>
at System.Windows.Forms.Form.OnCreateControl () <0x00044>
at System.Windows.Forms.Control.CreateControl () <0x000fb>
at System.Windows.Forms.Control.SetVisibleCore (bool) <0x00063>
at System.Windows.Forms.Form.SetVisibleCore (bool) <0x00148>
at System.Windows.Forms.Control.set_Visible (bool) <0x00023>
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control.set_Visible (bool) <0x0004b>
at System.Windows.Forms.Application.RunLoop
(bool,System.Windows.Forms.ApplicationContext) <0x001bc>
at System.Windows.Forms.Form.ShowDialog (System.Windows.Forms.IWin32Window)
<0x002a1>
at System.Windows.Forms.Form.ShowDialog () <0x0000c>
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form.ShowDialog
() <0x00036>
at MSSchool.frmMain.frmMain_Activated (object,System.EventArgs) <0x00059>
at System.Windows.Forms.Form.OnActivated (System.EventArgs) <0x00050>
at System.Windows.Forms.Form.set_IsActive (bool) <0x00053>
at System.Windows.Forms.Form.WmActivate (System.Windows.Forms.Message&)
<0x000ae>
at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message&)
<0x00115>
at ControlWindowTarget.OnMessage (System.Windows.Forms.Message&) <0x00014>
at ControlNativeWindow.WndProc (System.Windows.Forms.Message&) <0x00022>
at System.Windows.Forms.NativeWindow.WndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x0015c>
at System.Windows.Forms.XplatUIWin32.InternalWndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x00046>
at (wrapper native-to-managed)
System.Windows.Forms.XplatUIWin32.InternalWndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x00065>
at (wrapper managed-to-native)
System.Windows.Forms.XplatUIWin32.Win32ShowWindow
(intptr,System.Windows.Forms.XplatUIWin32/WindowPlacementFlags) <0x00004>
at System.Windows.Forms.XplatUIWin32.SetVisible (intptr,bool,bool) <0x001ce>
at System.Windows.Forms.XplatUI.SetVisible (intptr,bool,bool) <0x0001f>
at System.Windows.Forms.Control.SetVisibleCore (bool) <0x0012f>
at System.Windows.Forms.Form.SetVisibleCore (bool) <0x00148>
at System.Windows.Forms.Control.set_Visible (bool) <0x00023>
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control.set_Visible (bool) <0x0004b>
at System.Windows.Forms.Application.RunLoop
(bool,System.Windows.Forms.ApplicationContext) <0x001bc>
at System.Windows.Forms.Application.Run
(System.Windows.Forms.ApplicationContext) <0x0004c>
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form)
<0x00025>
at
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun
() <0x00040>
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run
(string[]) <0x0000b>
at MSSchool.My.MyApplication.Main (string[]) <0x00041>

and this is the error I get when I run it straight with mono:

** (msschool.exe:6431): WARNING **: The following assembly referenced from
/mnt/msschool.exe could not be loaded:
     Assembly:   Microsoft.VisualBasic    (assemblyref_index=1)
     Version:    8.0.0.0
     Public Key: b03f5f7f11d50a3a
The assembly was not found in the Global Assembly Cache, a path listed in
the MONO_PATH environment variable, or in the location of the executing
assembly (/mnt/).


** (msschool.exe:6431): WARNING **: Could not load file or assembly
'Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
The entry point method could not be loaded
-- 
View this message in context: http://www.nabble.com/A-.net-vb-program-is-crashing-without-vb-tp18045589p18045589.html
Sent from the Mono - VB mailing list archive at Nabble.com.



More information about the Mono-vb mailing list