[Mono-list] recent error (serialization)

Carl Olsen carl at carl-olsen.com
Fri Sep 16 09:32:24 EDT 2005


That's worth a shot.  I'll try it.

-----Original Message-----
From: Bernhard Herzog [mailto:schwimmlehrer at gmail.com] 
Sent: Friday, September 16, 2005 1:38 AM
To: carl at carl-olsen.com; mono-list at lists.ximian.com
Subject: Re: [Mono-list] recent error (serialization)

I am getting a similar error when there is a syntax error in the global.asax

file. I have already filed a bug report some days ago:
http://bugzilla.ximian.com/show_bug.cgi?id=76090
http://bugzilla.ximian.com/showattachment.cgi?attach_id=15737

If you are having the same problem, you could try commenting out parts of 
your global.asax until it works to find the problem.

Bernhard

----- Original Message ----- 
From: "Carl Olsen" <carl at carl-olsen.com>
To: <mono-list at lists.ximian.com>
Sent: Thursday, September 15, 2005 1:25 PM
Subject: [Mono-list] recent error (serialization)


> I'm using System.Xml.Serialization for all my config files.
>
> using System;
> using System.IO;
> using System.Text;
> using System.Web;
> using System.Web.Caching;
> using System.Xml.Serialization;
> using System.Xml;
> using System.Configuration;
>
> When I run xsp --root /usr/lib/xsp/test everything works just fine, but 
> when
> I try it on my application (which has been running perfectly under Mono
> 1.1.8), it gives me the following error:
>
> Server6:~ # xsp --root /home/carl/public_html
> xsp
> Listening on port: 8080
> Listening on address: 0.0.0.0
> Root directory: /home/carl/public_html
> Hit Return to stop the server.
> System.Runtime.Serialization.SerializationException: Type
> System.Web.Compilation.CompilationException is not marked as Serializable.
>
> Server stack trace:
> in <0x000d4>
>
System.Runtime.Serialization.Formatters.Binary.BinaryCommon:CheckSerializabl
> e (System.Type type, ISurrogateSelector selector, StreamingContext 
> context)
> in <0x00145>
> System.Runtime.Serialization.Formatters.Binary.ObjectWriter:GetObjectData
> (System.Object obj,
> System.Runtime.Serialization.Formatters.Binary.TypeMetadata metadata,
> System.Object data)
> in <0x00044>
> System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteObject
> (System.IO.BinaryWriter writer, Int64 id, System.Object obj)
> in <0x00108>
>
System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteObjectInsta
> nce (System.IO.BinaryWriter writer, System.Object obj, Boolean
> isValueObject)
> in <0x0002d>
>
System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteQueuedObjec
> ts (System.IO.BinaryWriter writer)
> in <0x00037>
>
System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteObjectGraph
> (System.IO.BinaryWriter writer, System.Object obj,
> System.Runtime.Remoting.Messaging.Header[] headers)
> in <0x00200>
> System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Serialize
> (System.IO.Stream serializationStream, System.Object graph,
> System.Runtime.Remoting.Messaging.Header[] headers)
> in <0x00015>
> System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Serialize
> (System.IO.Stream serializationStream, System.Object graph)
> in <0x00068> 
> System.Runtime.Remoting.RemotingServices:SerializeExceptionData
> (System.Exception ex)
>
> Exception rethrown at [0]:
>
> in (wrapper xdomain-invoke) 
> Mono.WebServer.XSPApplicationHost:ProcessRequest
>
(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono
> .WebServer.SslInformations)
> in (wrapper remoting-invoke-with-check)
> Mono.WebServer.XSPApplicationHost:ProcessRequest
>
(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono
> .WebServer.SslInformations)
> in <0x0062c> Mono.WebServer.XSPWorker:Run (System.Object state)
>
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list 






More information about the Mono-list mailing list