A very similar error was posted here and termed a regression, http://lists.ximian.com/pipermail/mono-devel-list/2005-August/013571.html
I get something very similar below, but I didn't get it in Mono 1.1.8, and perhaps a few release after that. Is it a regression, or has the more recent version pickier? I don't make Soap calls, but the systems Soap calls are getting called because I am Remoting, none of the calls in he trace are my code, so its really hard for me to track this down, any suggestions? -tl Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Runtime.Serialization.Formatters.Soap.SoapTypeMapper ---> System.ArgumentException: Key duplication when adding: nonPositiveInteger http://www.w3.org/2001/XMLSchema in <0x001d4> System.Collections.Hashtable:PutImpl (System.Object key, System.Object value, Boolean overwrite) in <0x00015> System.Collections.Hashtable:Add (System.Object key, System.Object value) in <0x00064> System.Runtime.Serialization.Formatters.Soap.SoapTypeMapper:RegisterType (System.Type type, System.String name, System.String namspace, Boolean reverseMap) in <0x0005d> System.Runtime.Serialization.Formatters.Soap.SoapTypeMapper:RegisterType (System.Type type) in <0x002fd> System.Runtime.Serialization.Formatters.Soap.SoapTypeMapper:InitMappingTables () in <0x0011b> System.Runtime.Serialization.Formatters.Soap.SoapTypeMapper:.cctor ()--- End of inner exception stack trace --- in <0x00000> <unknown method> in <0x00065> System.Runtime.Serialization.Formatters.Soap.SoapWriter:Serialize (System.Object objGraph, System.Runtime.Remoting.Messaging.Header[] headers, FormatterTypeStyle typeFormat, FormatterAssemblyStyle assemblyFormat) in <0x000c4> System.Runtime.Serialization.Formatters.Soap.SoapFormatter:Serialize (System.IO.Stream serializationStream, System.Object graph, System.Runtime.Remoting.Messaging.Header[] headers) in <0x0012e> System.Runtime.Remoting.Channels.SoapClientFormatterSink:SerializeMessage (IMessage msg, System.IO.Stream requestStream, ITransportHeaders requestHeaders, System.Runtime.Remoting.Channels.SoapMessageFormatter soapMsgFormatter) in <0x00041> System.Runtime.Remoting.Channels.SoapClientFormatterSink:SyncProcessMessage (IMessage msg) in <0x002e8> System.Runtime.Remoting.Proxies.RemotingProxy:Invoke (IMessage request) in <0x002d3> System.Runtime.Remoting.Proxies.RealProxy:PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, System.Exception exc, System.Object[] out_args) _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
