More in this section

Forums / Bugs & Issues / Error: Type 'Telerik.Sitefinity.Newsletters.Model.DynamicTypeBase' could not be found.

Error: Type 'Telerik.Sitefinity.Newsletters.Model.DynamicTypeBase' could not be found.

2 posts, 0 answered
  1. Steven Cohn
    Steven Cohn avatar
    4 posts
    Registered:
    13 May 2010
    02 Feb 2011
    Link to this post
    I have an RC (as soon as I can access it, I will upgrade to the release version) website which has suddenly gone bad - no clue why - here is the error i get when trying to enter the site either via a normal page, or the admin page:
    Can anybody help me????

    Server Error in '/' Application.

    Type 'Telerik.Sitefinity.Newsletters.Model.DynamicTypeBase' could not be found.

    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.TypeLoadException: Type 'Telerik.Sitefinity.Newsletters.Model.DynamicTypeBase' could not be found.

    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: 

    [TypeLoadException: Type 'Telerik.Sitefinity.Newsletters.Model.DynamicTypeBase' could not be found.]
       Telerik.OpenAccess.RT.TypeResolver.AssociateTypeName(String dotnetname, Boolean complain) +122
       Telerik.OpenAccess.RT.TypeResolver.ResolveTypeName(String dotnetname, Boolean complain) +87
       Telerik.OpenAccess.RT.ArtificialTypeGenerator.ResolveTypeNames(Description x) +55
       System.Array.ForEach(T[] array, Action`1 action) +47
       Telerik.OpenAccess.RT.ArtificialTypeGenerator.CreateTypes(ModuleBuilder modBuilder) +374
       Telerik.OpenAccess.RT.ArtificialTypeGenerator.Build() +281
       Telerik.OpenAccess.RT.ArtificialBase.StopGeneratingTypes() +56
       OpenAccessRuntime.metadata.MetaDataBuilder.CreateArtificialTypes(PackageMetaData[] packageMetaDataParam) +830
       OpenAccessRuntime.metadata.MetaDataBuilder.buildMetaData(DataObjectsRoot[] roots, Boolean ignoreNoClasses) +874
       OpenAccessRuntime.Relational.RelationalMetaDataBuilder.buildMetaData(DataObjectsRoot[] roots, Boolean ignoreNoClasses) +756
       OpenAccessRuntime.Relational.RelationalStorageManagerFactory..ctor(StorageManagerFactoryBuilder b) +758
       OpenAccessRuntime.storagemanager.StorageManagerFactoryBuilder.createSmfForURL() +82
    
    [OpenAccessException: System.TypeLoadException: Type 'Telerik.Sitefinity.Newsletters.Model.DynamicTypeBase' could not be found.
       at Telerik.OpenAccess.RT.TypeResolver.AssociateTypeName(String dotnetname, Boolean complain)
       at Telerik.OpenAccess.RT.TypeResolver.ResolveTypeName(String dotnetname, Boolean complain)
       at Telerik.OpenAccess.RT.ArtificialTypeGenerator.ResolveTypeNames(Description x)
       at System.Array.ForEach[T](T[] array, Action`1 action)
       at Telerik.OpenAccess.RT.ArtificialTypeGenerator.CreateTypes(ModuleBuilder modBuilder)
       at Telerik.OpenAccess.RT.ArtificialTypeGenerator.Build()
       at Telerik.OpenAccess.RT.ArtificialBase.StopGeneratingTypes()
       at OpenAccessRuntime.metadata.MetaDataBuilder.CreateArtificialTypes(PackageMetaData[] packageMetaDataParam)
       at OpenAccessRuntime.metadata.MetaDataBuilder.buildMetaData(DataObjectsRoot[] roots, Boolean ignoreNoClasses)
       at OpenAccessRuntime.Relational.RelationalMetaDataBuilder.buildMetaData(DataObjectsRoot[] roots, Boolean ignoreNoClasses)
       at OpenAccessRuntime.Relational.RelationalStorageManagerFactory..ctor(StorageManagerFactoryBuilder b)
       at OpenAccessRuntime.storagemanager.StorageManagerFactoryBuilder.createSmfForURL()]
       DynamicModule.ns.Wrapped_OpenAccessPageProvider_b8118f542d494d788181e1f7845ed0ab.Initialize(String providerName, NameValueCollection config, Type managerType) +197
       Telerik.Sitefinity.Data.ManagerBase`1.InstantiateProvider(IDataProviderSettings providerSettings, Type providerType, ExceptionPolicyName policy, ManagerBase`1 manager) +1477
       Telerik.Sitefinity.Data.ManagerBase`1.InstantiateProvider(IDataProviderSettings providerSettings, ExceptionPolicyName policy, ManagerBase`1 manager) +63
       Telerik.Sitefinity.Data.ManagerBase`1.SetProvider(String providerName, String transactionName) +161
       Telerik.Sitefinity.Data.ManagerBase`1..ctor(String providerName, String transactionName) +131
       Telerik.Sitefinity.Modules.Pages.PageManager..ctor() +35
       Telerik.Sitefinity.Modules.Pages.PageManager..cctor() +36
    
    [TypeInitializationException: The type initializer for 'Telerik.Sitefinity.Modules.Pages.PageManager' threw an exception.]
       Telerik.Sitefinity.Modules.Pages.PageManager.GetManager(String providerName) +0
       Telerik.Sitefinity.Web.SiteMapBase.Initialize(String name, NameValueCollection attributes) +583
       Telerik.Sitefinity.Web.SiteMapBase.GetSiteMapProvider(String rootName) +248
       Telerik.Sitefinity.Web.SitefinityRoute.GetRouteData(HttpContextBase httpContext) +68
       System.Web.Routing.RouteCollection.GetRouteData(HttpContextBase httpContext) +285
       System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context) +60
       System.Web.Routing.UrlRoutingModule.OnApplicationPostResolveRequestCache(Object sender, EventArgs e) +86
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
    


    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    05 Feb 2011
    Link to this post
    Hello Steven Cohn,

    It looks like you have connected a database of a project created with Sitefinity 4.0 official release to a Sitefinity 4.0 RC website. Can you please try upgrading the website following these instructions and then trying to access it?

    Regards,
    Radoslav Georgiev
    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
2 posts, 0 answered