[Mono-aspnet-list] ASP.Net Web Service/mod_mono: Type Load Exception

LiteWait tim.nelson at activant.com
Fri Dec 10 09:27:38 EST 2010


I am getting a Type Load Exception: 

"System.TypeLoadException: A type load exception has occurred.
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke
(object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] "

In code where I do something like:

 List<KeyValuePair<string, string>> list = new List<KeyValuePair<string,
string>>();
 list.Add(new KeyValuePair<string, string>("key", "value"));

I can gmcs/mono similar code and I don't get the exception.

I think this is a result of mod_mono not point at the latest runtime.

Can someone give me some guidance here?  Thanks!
-- 
View this message in context: http://mono.1490590.n4.nabble.com/ASP-Net-Web-Service-mod-mono-Type-Load-Exception-tp3082063p3082063.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list