+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / TaxonomyManager Error

TaxonomyManager Error

11 posts, 0 answered
  1. Lev Rosenblit
    Lev Rosenblit avatar
    37 posts
    Registered:
    14 May 2008
    23 May 2010
    Link to this post
    Hello,
    I added custom master pages, and created pages and sections.
    everything worked fine.
    today, i created another master page, and had another master be a nested master, after rebuild i get a TaxonomyManager not found error, and after a refresh i get the following:

    Server Error in '/' Application.

    The type SByte* does not have an accessible constructor.

    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.InvalidOperationException: The type SByte* does not have an accessible constructor.

    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:

    [InvalidOperationException: The type SByte* does not have an accessible constructor.]
       Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForNullExistingObject(IBuilderContext context) +142
       BuildUp_System.SByte*(IBuilderContext ) +121
       Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(IBuilderContext context) +12
       Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) +191
       Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +93
    
    [BuildFailedException: The current build operation (build key Build Key[System.SByte*, null]) failed: The type SByte* does not have an accessible constructor. (Strategy type BuildPlanStrategy, index 5)]
       Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +255
       Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Unity.ObjectBuilder.NamedTypeDependencyResolverPolicy.Resolve(IBuilderContext context) +107
       BuildUp_System.String(IBuilderContext ) +231
    
    [InvalidOperationException: The parameter value could not be resolved when attempting to call constructor System.String(System.SByte* value, System.Int32 startIndex, System.Int32 length, System.Text.Encoding enc).]
       Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForResolutionFailed(Exception inner, String parameterName, String constructorSignature, IBuilderContext context) +140
       BuildUp_System.String(IBuilderContext ) +765
       Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(IBuilderContext context) +12
       Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) +191
       Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +93
    
    [BuildFailedException: The current build operation (build key Build Key[System.String, null]) failed: The parameter value could not be resolved when attempting to call constructor System.String(System.SByte* value, System.Int32 startIndex, System.Int32 length, System.Text.Encoding enc). (Strategy type BuildPlanStrategy, index 5)]
       Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +255
       Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Unity.ObjectBuilder.NamedTypeDependencyResolverPolicy.Resolve(IBuilderContext context) +107
       BuildUp_Telerik.Sitefinity.Taxonomies.TaxonomyManager(IBuilderContext ) +158
    
    [InvalidOperationException: The parameter providerName could not be resolved when attempting to call constructor Telerik.Sitefinity.Taxonomies.TaxonomyManager(System.String providerName, System.String transactionName).]
       Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForResolutionFailed(Exception inner, String parameterName, String constructorSignature, IBuilderContext context) +140
       BuildUp_Telerik.Sitefinity.Taxonomies.TaxonomyManager(IBuilderContext ) +352
       Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(IBuilderContext context) +12
       Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) +191
       Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +93
    
    [BuildFailedException: The current build operation (build key Build Key[Telerik.Sitefinity.Taxonomies.TaxonomyManager, OpenAccessDataProvider]) failed: The parameter providerName could not be resolved when attempting to call constructor Telerik.Sitefinity.Taxonomies.TaxonomyManager(System.String providerName, System.String transactionName). (Strategy type BuildPlanStrategy, index 5)]
       Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +255
       Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.Builder.BuildUp(IReadWriteLocator locator, ILifetimeContainer lifetime, IPolicyList policies, IStrategyChain strategies, Object buildKey, Object existing) +68
       Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name) +148
    
    [ResolutionFailedException: Resolution of the dependency failed, type = "Telerik.Sitefinity.Taxonomies.TaxonomyManager", name = "OpenAccessDataProvider". Exception message is: The current build operation (build key Build Key[Telerik.Sitefinity.Taxonomies.TaxonomyManager, OpenAccessDataProvider]) failed: The parameter providerName could not be resolved when attempting to call constructor Telerik.Sitefinity.Taxonomies.TaxonomyManager(System.String providerName, System.String transactionName). (Strategy type BuildPlanStrategy, index 5)]
       Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name) +186
       Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Unity.UnityContainer.DoBuildUp(Type t, String name) +11
       Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Unity.UnityContainer.Resolve(Type t, String name) +9
       Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Unity.UnityContainerBase.Resolve(String name) +68
       Telerik.Sitefinity.Abstractions.ObjectFactory.Resolve(String name) +64
       Telerik.Sitefinity.Data.ManagerBase`1.GetManager(String providerName, String transactionName) +195
       Telerik.Sitefinity.Data.ManagerBase`1.GetManager() +37
       Telerik.Sitefinity.Taxonomies.TaxonomyManager.GetManager() +9
       Telerik.Sitefinity.Modules.DefinitionsHelper.CreateTaxonomyLink(Guid id, String commandName, WidgetBarSectionElement sidebar) +55
       Telerik.Sitefinity.Modules.DefinitionsHelper.CreateTaxonomyLinks(WidgetBarSectionElement sidebar) +58
       Telerik.Sitefinity.Modules.GenericContent.ContentDefinitions.DefineContentBackendContentView(ConfigElement parent) +972
       Telerik.Sitefinity.Web.UI.ContentUI.Config.ContentViewConfig.OnPropertiesLoaded() +60
       Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.LoadSection(ConfigSection section, ConfigPolicyHandler policyHandler, String policyName) +75
       Telerik.Sitefinity.Configuration.ConfigSection.Initialize(ConfigProvider provider, ConfigPolicyHandler policyHandler, String policyName, Boolean singlePolicy) +155
       Telerik.Sitefinity.Configuration.ConfigSection.Initialize(ConfigProvider provider) +13
       Telerik.Sitefinity.Configuration.Config.Get() +137
       Telerik.Sitefinity.Modules.Blogs.BlogsModule.Initialize(ModuleSettings settings) +50
       Telerik.Sitefinity.Services.SystemManager.InitializeModule(ModuleSettings settings, Boolean start) +84
       Telerik.Sitefinity.Services.SystemManager.Initialize() +604
       Telerik.Sitefinity.Abstractions.Bootstrapper.RegisterRoutes(RouteCollection routes) +638
       Telerik.Sitefinity.Abstractions.Bootstrapper.Bootstrap() +83
       Telerik.Sitefinity.Web.SitefinityHttpModule.Init(HttpApplication context) +24
       System.Web.Routing.UrlRoutingModule.System.Web.IHttpModule.Init(HttpApplication application) +36
       System.Web.HttpApplication.InitModulesCommon() +132
       System.Web.HttpApplication.InitModules() +98
       System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +754
       System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +337
       System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +225
       System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +402
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927              
    what went wrong?

    Thanks,
    Lev Rosenblit
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    24 May 2010
    Link to this post
    Hi Lev Rosenblit,

    Thank you for using our services.

    I have tried to recreate the issue you were facing using nested master pages taken from this tutorial: [How Do I:] Create Nested Master Page in Visual Studio 2008. However I was not able to reproduce this issue locally. I have previously seen such an issue when I converted my project to target .NET 4.0 framework. .NET 4.0 is not yet supported by Sitefinity 4.0 CTP. We are going to have .NET 4.0 project with the release of the beta version.

    Greetings,
    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.
  3. Lev Rosenblit
    Lev Rosenblit avatar
    37 posts
    Registered:
    14 May 2008
    24 May 2010
    Link to this post
    The sitefinity web application is under .NET3.5.
    I use VS2010.

    It worked fine before, i didnt change anything major, just added a nested master page.

    When i run it, i get the following error:

    Server Error in '/' Application.

    Invalid page taxonomy configured. No taxonomy with the name of "Pages" for provider "".

    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.Configuration.ConfigurationErrorsException: Invalid page taxonomy configured. No taxonomy with the name of "Pages" for provider "".

    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:

    [ConfigurationErrorsException: Invalid page taxonomy configured. No taxonomy with the name of "Pages" for provider "".]
       Telerik.Sitefinity.Web.SiteMapBase.Initialize(String name, NameValueCollection attributes) +1543
       Telerik.Sitefinity.Web.SiteMapBase.GetSiteMapProvider(String rootName) +290
       Telerik.Sitefinity.Web.BackendSiteMap.GetCurrentProvider() +31
       Telerik.Sitefinity.Web.BackendSiteMap.FindSiteMapNode(Guid id, Boolean ifAccessible) +12
       Telerik.Sitefinity.Modules.DefinitionsHelper.GetBaseUrl(Guid pageId) +24
       Telerik.Sitefinity.Modules.GenericContent.ContentDefinitions.DefineContentBackendContentView(ConfigElement parent) +3175
       Telerik.Sitefinity.Web.UI.ContentUI.Config.ContentViewConfig.OnPropertiesLoaded() +60
       Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.LoadSection(ConfigSection section, ConfigPolicyHandler policyHandler, String policyName) +75
       Telerik.Sitefinity.Configuration.ConfigSection.Initialize(ConfigProvider provider, ConfigPolicyHandler policyHandler, String policyName, Boolean singlePolicy) +155
       Telerik.Sitefinity.Configuration.ConfigSection.Initialize(ConfigProvider provider) +13
       Telerik.Sitefinity.Configuration.Config.Get() +137
       Telerik.Sitefinity.Modules.Blogs.BlogsModule.Initialize(ModuleSettings settings) +50
       Telerik.Sitefinity.Services.SystemManager.InitializeModule(ModuleSettings settings, Boolean start) +84
       Telerik.Sitefinity.Services.SystemManager.Initialize() +604
       Telerik.Sitefinity.Abstractions.Bootstrapper.RegisterRoutes(RouteCollection routes) +660
       Telerik.Sitefinity.Abstractions.Bootstrapper.Bootstrap() +84
       Telerik.Sitefinity.Web.SitefinityHttpModule.Init(HttpApplication context) +25
       System.Web.Routing.UrlRoutingModule.System.Web.IHttpModule.Init(HttpApplication application) +7
       System.Web.HttpApplication.InitModulesCommon() +67
       System.Web.HttpApplication.InitModules() +46
       System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +618
       System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +251
       System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +129
       System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +291
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927


    and after a refresh i get the error i posted originally.


    Lev Rosenblit
  4. Lev Rosenblit
    Lev Rosenblit avatar
    37 posts
    Registered:
    14 May 2008
    24 May 2010
    Link to this post
    After searching for the reason i gave up and started from scratch, created a new project and added my custom pages.

    I think the error was somehow connected to the fact that sitefinity's openaccess version is 2010.1.310.2 and the one i have from telerik is 2010.1.312.2, so after recreating the project and referencing the DLL's from the empty project in sitefinity 4.0 CTP folder, after rebuild the error didnt return, but it is still a strange error.


    Lev Rosenblit

  5. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    25 May 2010
    Link to this post
    Hello Lev Rosenblit,

    The first error says that there is no taxonomy for Pages added. I have hit this error if there has been some problem with the database and it has not been initialized properly. The way to fix this was to delete the config files in ~/App_Data/Sitefinity/Configuration/ and access my website with ~/Sitfinity/Startup to initialize the project. The original error is coming from OpenAccess we will investigate if there is some problem with it not getting the proper version of OpenAccess. I have installed a different version of OpenAccess than the one used withing Sitefinity 4.0 CTP. However when I run the project it always gets the assemblies the CMS was built with. It never goes to get the newer ones unless I tell it to upgrade them.

    We are going to spend some more time investigating and see what could be done to prevent issues like this. When you create a project you should not go to the project and tell the web application to look for the assemblies that it was built with, instead of getting them from your installed version.

    Sincerely yours,
    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.
  6. Lev Rosenblit
    Lev Rosenblit avatar
    37 posts
    Registered:
    14 May 2008
    27 May 2010
    Link to this post
    Hello,
    I got the TaxonomyManager error followed by the SByte* error again.

    The solution you suggested is incorrect. If you delete all the configuration files and run startup, you have to delete from sf_role, sf_users, sf_manager_info, and reset authorization because you get an authorization error, and a whole other mess of errors and problems.

    So, i tracked down the error: its the ProjectConfig.Config file.
    every time i use the configuration manager in sitefinity to change the project configuration (this creates this config file) this error appears.

    The solution:
    just delete ProjectConfig.Config (no startup needed) and everything works fine again.

    Lev Rosenblit
  7. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    28 May 2010
    Link to this post
    Hello Lev Rosenblit,

    Thank you for the additional information.

    Could you also please let us know exactly what kind of modifications you are performing in the Configurations section to reproduce the issue? Also you said that you had a different OpenAccess version on your computer, is the version of OpenAccess in the faulty project upgraded? Or this reproduces with the one we ship the product with.

    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.
  8. Lev Rosenblit
    Lev Rosenblit avatar
    37 posts
    Registered:
    14 May 2008
    31 May 2010
    Link to this post
    Hello,
    I just changed the project name.

    Lev Rosenblit
  9. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    01 Jun 2010
    Link to this post
    Hello Lev Rosenblit,

    Thank you for the clarification.

    We have managed to reproduce the issue, and will make sure we fix it. Other than that the configuration editor should work without problems. If you encounter any other problems exploring the CTP version, please feel free to contact us.

    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.
  10. ColdCold
    ColdCold avatar
    9 posts
    Registered:
    14 Mar 2010
    20 Jul 2010
    Link to this post
    I'm running into the same errors.  None of the above suggestions helped.  Is there a work-around for this problem, until the beta is released?

    thnx.

  11. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    20 Jul 2010
    Link to this post
    Hi ColdCold,

    There will be a BETA release withing a month were the issue will be fixed.

    Greetings,
    Ivan Dimitrov
    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
11 posts, 0 answered