Object of type 'Telerik.Web.UI.HourlyRecurrenceRule' cannot be converted to type 'Telerik.Web.UI.RecurrenceRule'.

3 posts, 1 answers
  1. Roatin Marth
    Roatin Marth avatar
    65 posts
    Member since:
    Nov 2007

    Posted 11 Feb 2010 Link to this post

    Has anyone seen this error before?
    Why would I be seeing a recurrence rule conversion error on a staging environment where I don't on my local development environment?
    This shouldn't happen because a specific recurrence is still a recurrence.

    The error looks like this followed by a stack trace. I hope someone might be able to spot something and offer some help.
    This is happening for all recurrence types... hmmmmmmmmmmmmm.

    System.ArgumentException: Object of type 'Telerik.Web.UI.HourlyRecurrenceRule' cannot be converted to type 'Telerik.Web.UI.RecurrenceRule'.    
    at System.RuntimeType.CheckValue(Object value, Binder binder, CultureInfo culture, BindingFlags invokeAttr)    
    at System.Reflection.RtFieldInfo.InternalSetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture, Boolean doVisibilityCheck, Boolean doCheckConsistency)    
    at System.Reflection.RtFieldInfo.InternalSetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture, Boolean doVisibilityCheck)    
    at System.Runtime.Serialization.FormatterServices.SerializationSetValue(MemberInfo fi, Object target, Object value)    
    at System.Runtime.Serialization.ObjectManager.CompleteObject(ObjectHolder holder, Boolean bObjectFullyComplete)    
    at System.Runtime.Serialization.ObjectManager.DoNewlyRegisteredObjectFixups(ObjectHolder holder)    
    at System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder)    
    at System.Runtime.Serialization.ObjectManager.DoFixups()    
    at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)    
    at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)    
    at System.EnterpriseServices.ComponentSerializer.UnmarshalFromBuffer(Byte[] b, Object tp)    
    at System.EnterpriseServices.ComponentServices.ConvertToMessage(String s, Object tp)    
    at System.EnterpriseServices.ServicedComponent.RemoteDispatchHelper(String s, Boolean& failed)    
    at System.EnterpriseServices.ServicedComponent.System.EnterpriseServices.IRemoteDispatch.RemoteDispatchAutoDone(String s)    
    at System.EnterpriseServices.IRemoteDispatch.RemoteDispatchAutoDone(String s)   at System.EnterpriseServices.RemoteServicedComponentProxy.Invoke(IMessage reqMsg)    
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)    
    at Application.ControlScheduler.ControlScheduleFacade.UpdateControlSchedule(ControlSchedule schedule, String userName)    
    at Web.Control.ScheduleProvider.Update(RadScheduler owner, Appointment appointmentToUpdate)    
    at Telerik.Web.UI.Scheduling.AppointmentController.UpdateAppointmentThroughProvider(Appointment appointmentToUpdate)    
    at Telerik.Web.UI.Scheduling.AppointmentController.UpdateAppointment(Appointment originalAppointment, Appointment modifiedAppointment)    
    at Telerik.Web.UI.WebServiceAppointmentController.UpdateAppointment[T](ISchedulerInfo schedulerInfo, T appointmentData)    
    at Telerik.Web.UI.WebServiceAppointmentController.UpdateAppointment(ISchedulerInfo schedulerInfo, AppointmentData appointmentData)    
    at Web.Control.SchedulerWebService.UpdateAppointment(SchedulerInfo schedulerInfo, AppointmentData appointmentData) 

  2. Peter
    Peter avatar
    6637 posts

    Posted 16 Feb 2010 Link to this post

    Hi Roatin,

    Can you send us a live url of this error?

    Best wishes,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. DevCraft R3 2016 release webinar banner
  4. Answer
    towpse avatar
    224 posts
    Member since:
    Mar 2008

    Posted 15 Aug 2011 Link to this post

    make sure that wherever you're using the telerik UI stuff that it's the same version.
    i once had to reference that dll in a separate project from my web project and if i forgot to update both references i would get this error.
Back to Top