Error when editing Shared Content Blocks - "The type Re

Posted by Community Admin on 04-Aug-2018 08:25

Error when editing Shared Content Blocks - "The type ResourceDataProvider cannot be constructed."

All Replies

Posted by Community Admin on 09-May-2013 00:00

Hi all,

I'm having an issue with Shared Content Blocks. When going into a content block on an existing page, clicking "Edit" and then "View affected pages and templates", the popup box appears but contains the following message and stack trace, any ideas? :(

Server Error in '/Default' Application.The type ResourceDataProvider cannot be constructed. You must configure the container to supply this value.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 ResourceDataProvider cannot be constructed. You must configure the container to supply this value.

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 ResourceDataProvider cannot be constructed. You must configure the container to supply this value.]
Telerik.Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.GuardTypeIsNonPrimitive(IBuilderContext context, SelectedConstructor selectedConstructor) +277
Telerik.Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.PreBuildUp(IBuilderContext context) +485
Telerik.Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +434
Telerik.Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlanCreatorPolicy.CreatePlan(IBuilderContext context, NamedTypeBuildKey buildKey) +400
Telerik.Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) +222
Telerik.Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +434
Telerik.Microsoft.Practices.ObjectBuilder2.BuilderContext.NewBuildUp(NamedTypeBuildKey newBuildKey) +318
BuildUp_Telerik.Sitefinity.Modules.ResponsiveDesign.ResponsiveDesignResources(IBuilderContext ) +216
Telerik.Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) +304
Telerik.Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +434
Telerik.Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides) +440

[ResolutionFailedException: Resolution of the dependency failed, type = "Telerik.Sitefinity.Modules.ResponsiveDesign.ResponsiveDesignResources", name = "ResponsiveDesignResources".
Exception occurred while: while resolving.
Exception is: InvalidOperationException - The type ResourceDataProvider cannot be constructed. You must configure the container to supply this value.
-----------------------------------------------
At the time of the exception, the container was:

Resolving Telerik.Sitefinity.Modules.ResponsiveDesign.ResponsiveDesignResources,ResponsiveDesignResources
Resolving parameter "dataProvider" of constructor Telerik.Sitefinity.Modules.ResponsiveDesign.ResponsiveDesignResources(Telerik.Sitefinity.Localization.Data.ResourceDataProvider dataProvider)
Resolving Telerik.Sitefinity.Localization.Data.ResourceDataProvider,(none)
]
Telerik.Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides) +546
Telerik.Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, String name, IEnumerable`1 resolverOverrides) +20
Telerik.Microsoft.Practices.Unity.UnityContainerExtensions.Resolve(IUnityContainer container, String name, ResolverOverride[] overrides) +91
Telerik.Sitefinity.Modules.GenericContent.Web.UI.PagesAndTemplatesDialog.SetPagesCountLiteral() +176
Telerik.Sitefinity.Modules.GenericContent.Web.UI.ContentPagesDialog.InitializeControls(GenericContainer dialogContainer) +491
Telerik.Sitefinity.Web.UI.DialogBase.CreateChildControls() +92
System.Web.UI.Control.EnsureChildControls() +189
System.Web.UI.Control.PreRenderRecursiveInternal() +73
System.Web.UI.Control.PreRenderRecursiveInternal() +240
System.Web.UI.Control.PreRenderRecursiveInternal() +240
System.Web.UI.Control.PreRenderRecursiveInternal() +240
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4090

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18010

Thanks

Chris

Posted by Community Admin on 10-May-2013 00:00

Hi Chris,

The problem is caused by a bug in Sitefinity, which has been logged with critical priority to our system. The reason for the error lay in the fact that in order to open the shared content dialog, Sitefinity looks for a resource file, related to the Responsive design module. Thus, if you have disabled the module or you are using a license, which does not include Responsive design, you will get the error message. We will do our best to resolve the issue as quickly as possible. Here is the PITS link, where you can track the status of the bug:

http://www.telerik.com/support/pits.aspx#/public/sitefinity/14688

Please excuse us for the inconvenience.

Regards,
Stefani Tacheva
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 10-May-2013 00:00

Thank you very much for your reply, I will pass on this information to our customer.

Chris

This thread is closed