This is a migrated thread and some comments may be shown as answers.

[NullReferenceException: Object reference not set to an instance of an object.]

1 Answer 254 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
mohan143
Top achievements
Rank 1
mohan143 asked on 04 Jan 2008, 09:01 AM
hi goodafternoon to telrik team

this is mohan

after modified my solution as you suggested that changen EnableAjax = false
then again i will get new error as the follwing 

[NullReferenceException: Object reference not set to an instance of an object.]
   Telerik.Web.UI.Appointment.System.Runtime.Serialization.ISerializable.GetObjectData(SerializationInfo info, StreamingContext context) +154
   System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter) +281
   System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter) +50
   System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck) +438
   System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck) +131


url link : http://www.gyangames.com/GolfManager/ManagerScreens/Scheduler.aspx?ManagerUserID=3&ManagerName=mohan&UserType=Manager#

thanks for your cooperation

mohansyna-g team

   System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph) +12
   System.Web.UI.ObjectStateFormatter.SerializeValue(SerializerBinaryWriter writer, Object value) +2849

[ArgumentException: Error serializing value 'Telerik.Web.UI.Appointment' of type 'Telerik.Web.UI.Appointment.']
   System.Web.UI.ObjectStateFormatter.SerializeValue(SerializerBinaryWriter writer, Object value) +3056
   System.Web.UI.ObjectStateFormatter.Serialize(Stream outputStream, Object stateGraph) +126
   System.Web.UI.ObjectStateFormatter.Serialize(Object stateGraph) +52
   System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Serialize(Object state) +4
   System.Web.UI.Util.SerializeWithAssert(IStateFormatter formatter, Object stateGraph) +37
   System.Web.UI.HiddenFieldPageStatePersister.Save() +106
   System.Web.UI.Page.SavePageStateToPersistenceMedium(Object state) +82
   System.Web.UI.Page.SaveAllState() +552
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1676
 

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 04 Jan 2008, 09:09 AM
Hello,

This error resembles a problem which should have been fixed in the current official release of RadControls "Prometheus". Are using that same version? The full version of the Telerik.Web.UI assembly should be "2007.3.1218.20".

Regards,
Albert
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Scheduler
Asked by
mohan143
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or