[Mono-aspnet-list] JavaScriptSerializer

Nils Schaetti n.schaetti at gmail.com
Thu Nov 12 03:29:43 EST 2009


Hi!

I try to port an ASP.NET from Windows to Mono/Linux. But I have a
problem with JavaScript, Mono says :

Cannot cast from source type to destination type.

Description: HTTP 500. Error processing request.

Stack Trace:

System.InvalidCastException: Cannot cast from source type to destination type.
  at System.Web.Script.Serialization.JavaScriptSerializer..ctor
(System.Web.Script.Serialization.JavaScriptTypeResolver resolver)
[0x00000]
  at System.Web.Script.Serialization.JavaScriptSerializer..ctor () [0x00000]
  at System.Web.Script.Serialization.JavaScriptSerializer..cctor () [0x00000]

I tried to find something on the Internet but I found nothing about
that problem.
Could someone help me?

Thanks


More information about the Mono-aspnet-list mailing list