Making a HTTP call back to the server and the page failed with a 500 error

Discussion in 'ASP.NET 2.0' started by MikeBusby, Jul 10, 2007.

  1. 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)
     
  2. Please let us know what web application you are using to perform this call back.
     
  3. 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
     
  4. We are using (ASP.NET 2.0) visual studio .net 2005, and ASP AJAX Ext. 2.0. Does that help?
     

Share This Page