4.2 Upgrade Error from 4.1 SP3

Posted by Community Admin on 03-Aug-2018 15:56

4.2 Upgrade Error from 4.1 SP3

All Replies

Posted by Community Admin on 11-Aug-2011 00:00

Just downloaded the 4.2 release, upgraded one of our dev 4.1 SP3 releases, and received this error:

The type ListsResources has multiple constructors of length 1. Unable to disambiguate.

Would this be something to do with the database itself, or something that went wrong in the upgrade process?

More info:
[InvalidOperationException: The type ListsResources has multiple constructors of length 1. Unable to disambiguate.]
   Telerik.Microsoft.Practices.ObjectBuilder2.ConstructorSelectorPolicyBase`1.FindLongestConstructor(Type typeToConstruct) +397
   Telerik.Microsoft.Practices.ObjectBuilder2.ConstructorSelectorPolicyBase`1.SelectConstructor(IBuilderContext context, IPolicyList resolverPolicyDestination) +146
   Telerik.Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.PreBuildUp(IBuilderContext context) +471
   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.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides) +440
  
[ResolutionFailedException: Resolution of the dependency failed, type = "Telerik.Sitefinity.Modules.Lists.ListsResources", name = "ListsResources".
Exception occurred while: while resolving.
Exception is: InvalidOperationException - The type ListsResources has multiple constructors of length 1. Unable to disambiguate.
-----------------------------------------------
At the time of the exception, the container was:
  
  Resolving Telerik.Sitefinity.Modules.Lists.ListsResources,ListsResources
]
   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.Publishing.PublishingModule.RegisterAdditionalDefinitions() +1396
   Telerik.Sitefinity.Publishing.PublishingModule.Initialize(ModuleSettings settings) +148
   Telerik.Sitefinity.Services.SystemManager.InitializeModule(ModuleSettings settings, InstallContext installContext, Boolean start) +314
   Telerik.Sitefinity.Services.SystemManager.Initialize() +1231
   Telerik.Sitefinity.Abstractions.Bootstrapper.RegisterRoutes(RouteCollection routes) +293
   Telerik.Sitefinity.Abstractions.Bootstrapper.Bootstrap() +386
   Telerik.Sitefinity.Web.SitefinityHttpModule.Init(HttpApplication context) +114
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +575
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +352
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +407
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +375
  
[HttpException (0x80004005): Resolution of the dependency failed, type = "Telerik.Sitefinity.Modules.Lists.ListsResources", name = "ListsResources".
Exception occurred while: while resolving.
Exception is: InvalidOperationException - The type ListsResources has multiple constructors of length 1. Unable to disambiguate.
-----------------------------------------------
At the time of the exception, the container was:
  
  Resolving Telerik.Sitefinity.Modules.Lists.ListsResources,ListsResources
]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11612256
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +141
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4842149
  
  

Thanks!

Posted by Community Admin on 16-Aug-2011 00:00

Hi Brad,

Could you send us your database and your config files so we could reproduce the problem locally and find the best solution for your issue?

Regards,
Lubomir Velkov
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 22-Sep-2011 00:00

I am having the same exact issue. Was there ever a solution found for this?

Posted by Community Admin on 26-Sep-2011 00:00

Hello Kris,

Could you check you SystemConfig.config file and see if the upgrade went normally? The Lists module should have version 4.2.1650 if the upgrade went ok.

Regards,
Lubomir Velkov
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

This thread is closed