[Mono-list] mono runtime error
Bob
mono at balsover.com
Mon Oct 17 14:00:39 EDT 2005
I have downloaded and installed the latest Fedora 3 binaries from the Mono
website. This machine has a gig of ram and no real CPU load so I don't think
that it could be a resource issue.
Does anyone know why I receive the following error when I attempt to load and
run this program? This is a simple windows form application with only one
command button, nothing more. It was compiled using Visual Studio 2003 using
standard MS assemblies. What am I doing wrong that this application will not
run. I was under the impression that it should work on mono without being
recompiled, was I wrong?
-Bob
Unhandled Exception: System.TypeLoadException: Cannot load type
'System.Globalization.DateTimeFormatFlags'
in <0x00000> <unknown method>
in (wrapper managed-to-native) System.Type:internal_from_name (string,bool,bool)
in <0x00021> System.Type:GetType (System.String typeName, Boolean throwOnError)
in <0x0008b>
System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadType
(System.IO.BinaryReader reader, TypeTag code)
in <0x001dd>
System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadTypeMetadata
(System.IO.BinaryReader reader, Boolean isRuntimeObject, Boolean hasTypeInfo)
in <0x00040>
System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadObjectInstance
(System.IO.BinaryReader reader, Boolean isRuntimeObject, Boolean hasTypeInfo,
System.Int64 objectId, System.Object value,
System.Runtime.Serialization.SerializationInfo info)
in <0x00097>
System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadObject
(BinaryElement element, System.IO.BinaryReader reader, System.Int64 objectId,
System.Object value, System.Runtime.Serialization.SerializationInfo info)
in <0x00072>
System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadNextObject
(System.IO.BinaryReader reader)
in <0x000b4>
System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadObjectGraph
(System.IO.BinaryReader reader, Boolean readHeaders, System.Object result,
System.Runtime.Remoting.Messaging.Header[] headers)
in <0x0011f>
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Deserialize
(System.IO.Stream serializationStream,
System.Runtime.Remoting.Messaging.HeaderHandler handler)
in <0x00012>
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Deserialize
(System.IO.Stream serializationStream)
in <0x00035> System.Resources.ResourceReader:ReadNonPredefinedValue (System.Type
exp_type)
in <0x00321> System.Resources.ResourceReader:ReadValueVer1 (System.Type type)
in <0x00167> System.Resources.ResourceReader:ResourceValue (Int32 index)
in <0x00028> System.Resources.ResourceReader+ResourceEnumerator:get_Value ()
in <0x0008c> System.Resources.ResourceSet:ReadResources ()
in <0x00049> System.Resources.ResourceSet:GetObject (System.String name, Boolean
ignoreCase)
in <0x0007f> System.Resources.ResourceManager:GetObject (System.String name,
System.Globalization.CultureInfo culture)
in <0x00010> System.Resources.ResourceManager:GetObject (System.String name)
in <0x001bc> LinuxTest.Form1:InitializeComponent ()
in <0x00020> LinuxTest.Form1:.ctor ()
in (wrapper remoting-invoke-with-check) LinuxTest.Form1:.ctor ()
in <0x00018> LinuxTest.Form1:Main ()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20051017/f9aa3631/attachment-0001.html
More information about the Mono-list
mailing list