Scheduler will not run Live

2 posts, 0 answers
  1. Scott
    Scott avatar
    3 posts
    Member since:
    Feb 2012

    Posted 17 Feb 2012 Link to this post

    Hello,

    I have the scheduler in one of my pages. It works great on my machine, I am able to add appointments to it with out a problem. After I publish it the first time I load the page it will usually display correctly. The second time it throws an error. Then the next day it seems fine for a while but eventually throws the error again just for loading the page. I am not sure what the problem is or why it is so temperamental. The base type of the page had to be changed to Telerik.Web.UI.RadAjaxPage because it is hosted on godaddy and runs in medium trust.

    I thank you in advance for any insight you may have.

    Below is the error:

    Server Error in '/' Application.

    Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

    Source Error: 

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace: 

    [ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.]
       System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) +0
       System.Reflection.RuntimeModule.GetTypes() +4
       System.Reflection.Assembly.GetTypes() +78
       System.Data.Metadata.Edm.ObjectItemConventionAssemblyLoader.LoadTypesFromAssembly() +32
       System.Data.Metadata.Edm.ObjectItemAssemblyLoader.Load() +25
       System.Data.Metadata.Edm.AssemblyCache.LoadAssembly(Assembly assembly, Boolean loadReferencedAssemblies, ObjectItemLoadingSessionData loadingData) +160
       System.Data.Metadata.Edm.AssemblyCache.LoadAssembly(Assembly assembly, Boolean loadReferencedAssemblies, KnownAssembliesSet knownAssemblies, EdmItemCollection edmItemCollection, Action`1 logLoadMessage, Object& loaderCookie, Dictionary`2& typesInLoading, List`1& errors) +166
       System.Data.Metadata.Edm.ObjectItemCollection.LoadAssemblyFromCache(ObjectItemCollection objectItemCollection, Assembly assembly, Boolean loadReferencedAssemblies, EdmItemCollection edmItemCollection, Action`1 logLoadMessage) +316
       System.Data.Metadata.Edm.ObjectItemCollection.ExplicitLoadFromAssembly(Assembly assembly, EdmItemCollection edmItemCollection, Action`1 logLoadMessage) +53
       System.Data.Metadata.Edm.MetadataWorkspace.ExplicitLoadFromAssembly(Assembly assembly, ObjectItemCollection collection, Action`1 logLoadMessage) +93
       System.Data.Metadata.Edm.MetadataWorkspace.LoadFromAssembly(Assembly assembly, Action`1 logLoadMessage) +130
       System.Web.UI.WebControls.EntityDataSourceView.ConstructContext() +572
       System.Web.UI.WebControls.EntityDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +77
       System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +21
       Telerik.Web.UI.Scheduling.DataSourceViewSchedulerProvider.GetAppointments(RadScheduler owner) +160
       Telerik.Web.UI.SchedulerProviderBase.GetAppointments(ISchedulerInfo schedulerInfo) +27
       Telerik.Web.UI.RadScheduler.BindAppointments() +113
       Telerik.Web.UI.RadScheduler.PerformSelect() +97
       System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +74
       System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +66
       Telerik.Web.UI.RadScheduler.EnsureDataBound() +12
       Telerik.Web.UI.RadScheduler.CreateChildControls(Boolean bindFromDataSource) +63
       Telerik.Web.UI.RadScheduler.CreateChildControls() +10
       System.Web.UI.Control.EnsureChildControls() +102
       System.Web.UI.Control.PreRenderRecursiveInternal() +42
       System.Web.UI.Control.PreRenderRecursiveInternal() +175
       System.Web.UI.Control.PreRenderRecursiveInternal() +175
       System.Web.UI.Control.PreRenderRecursiveInternal() +175
       System.Web.UI.Control.PreRenderRecursiveInternal() +175
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496
    

  2. Plamen
    Admin
    Plamen avatar
    3079 posts

    Posted 22 Feb 2012 Link to this post

    Hello Scott,

     
    This looks like a known ASP.NET  bug, which is discussed here.

    Hope this will be helpful.

    Regards,

    Plamen Zdravkov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top