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

Sergey Lobko-Lobanovsky serge.lobanovsky at gmail.com
Fri Dec 10 10:36:58 EST 2010


How did you install mod_mono?

On Fri, Dec 10, 2010 at 4:27 PM, LiteWait <tim.nelson at activant.com> wrote:

>
> 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.
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20101210/6da46a98/attachment.html 


More information about the Mono-aspnet-list mailing list