Pending Review
Last Updated: 18 Mar 2019 15:26 by ADMIN
Created on: 11 Mar 2019 21:22
Category: UI for ASP.NET MVC
Type: Bug Report
I get an error when trying to upgrade my web app to the latest version of telerik.

When using the Telerik upgrade wizard I get a error while upgrading my web app:


An error occurred while running the wizard.

Error executing custom action Telerik.KendoUI.Mvc.VSX.Actions.MultiProjectUpdateReferencesAction: System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.VSX.Internal.ProjectManagement.ProjectAssemblyReferenceBase.Equals(AssemblyWrap assemblyReference)
   at Telerik.VSX.ProjectConfiguration.ProjectReferenceManager.EnsureDifferentExistingReferenceRemoved(AssemblyWrap assemblyReference)
   at Telerik.VSX.ProjectConfiguration.ProjectReferenceManager.AddAssemblyReference(AssemblyWrap assemblyReference)
   at Telerik.VSX.ProjectConfigurators.ApplicationReferenceManager.AddReferences()
   at Telerik.VSX.ProjectConfigurators.ApplicationReferenceManager.UpdateReferences()
   at Telerik.VSX.Actions.UpdateReferencesAction.UpdateReferences(IProjectWrapUIComponents projectWrap)
   at Telerik.VSX.Actions.UpdateReferencesAction.Execute(WizardContext wizardContext, IPropertyDataDictionary arguments, IProjectWrap project)
   at Telerik.VSX.Actions.ProjectActionBase.Telerik.VSX.Actions.IProjectAction.Execute(IWizardContext wizardContext, IPropertyDataDictionary arguments, IProjectWrap projectWrap)
   at Telerik.VSX.Actions.MultiProjectActionBase`1.Execute(WizardContext wizardContext, IPropertyDataDictionary arguments)
   at Telerik.VSX.Actions.MultiProjectUpdateReferencesActionBase`1.Execute(WizardContext wizardContext, IPropertyDataDictionary arguments)
   at Telerik.VSX.WizardEngine.Actions.ActionBase.Telerik.WizardFramework.IAction.Execute(IWizardContext wizardContext, IPropertyDataDictionary arguments)
   at Telerik.VSX.WizardEngine.ActionManager.ExecActions()
1 comment
Nikolay Mishev
Posted on: 18 Mar 2019 15:26
Hi Hannes,

The exception suggests that there is an issue upgrading one of the assemblies referenced in the project. Unfortunately, there is not much information altogether, so as a basic troubleshooting I would suggest the following:
  1. Remove all Telerik references from the project(Including Kendo.Mvc)
  2. Perform "Clean Solution" operation
  3. Use the Convert Wizard to try and add the needed assemblies again
  4. Run the Upgrade Wizard

If the above steps do not help can I ask you to send us the problematic project or a sample project with the same behavior so we can further investigate the issue.

Nikolay Mishev
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.