I am getting a 500 error when making a HTTP call back to the server. The error log is displayed below. Any ideas? Application information: Application domain: /LM/w3svc/339841/root-1-128284835251445940 Trust level: Full Application Virtual Path: / Application Path: E:\web\rmreportsco\htdocs\ Machine name: WEB143 Process information: Process ID: 16748 Process name: w3wp.exe Account name: WEB143\aspnet_339841 Exception information: Exception type: SerializationException Exception message: Type 'Rmg.ClientReportTop' in Assembly 'App_Code.4b1q91zk, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable. Request information: Request URL: http://www.rmreports.co.uk/ClientReport.aspx Request path: /ClientReport.aspx User host address: 63.110.186.14 User: Is authenticated: False Authentication Type: Thread account name: WEB143\aspnet_339841 Thread information: Thread ID: 1 Thread account name: WEB143\aspnet_339841 Is impersonating: False Stack trace: at System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type) at System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context) at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo() at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter) at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter) at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck) at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck) at System.Web.Util.AltSerialization.WriteValueToStream(Object value, BinaryWriter writer)
As the error states,the object you are trying to use ''Rmg.ClientReportTop' ' is not marked as serializable. What exactly is 'Rmg.ClientReportTop' that you are tyring to use. Vikram DiscountASP.NET www.DiscountASP.NET