We have a WebForms application with Telerik AJAX components which we have successfully upgraded using the wizard for years. Starting with product version 2025.4.1210 and persisting in the latest version, 2025.4.1321, the upgrade wizard fails with the following error message.
The Telerik extension to VS is up to date, and it doesn't seem to help to run this in VS 2022.
An error occurred while running the wizard.
Error executing custom action Telerik.Web.UI.VSX.Actions.MultiProjectUpdateReferencesAction: System.InvalidOperationException: There is an error in XML document (3, 2). ---> System.Xml.XmlException: Name cannot begin with the '<' character, hexadecimal value 0x3C. Line 3, position 2.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseQName(Boolean isQName, Int32 startOffset, Int32& colonPos)
at System.Xml.XmlTextReaderImpl.ParseElement()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlReader.ReadStartElement()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSolutionDistributionDefinition.Read2_SolutionDistributionDefinition(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSolutionDistributionDefinition.Read3_Distribution()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)
at Telerik.VSX.Helpers.Serializer`1.Deserialize(String filePath)
at Telerik.VSX.SolutionManagement.SolutionDistributionOperator.<>c__DisplayClass11_0.<DeserializeSolutionDistributionDefinition>b__0()
at Telerik.VSX.SolutionManagement.SolutionDistributionOperator.HandleUnauthorizedAccessException(Action action)
at Telerik.VSX.SolutionManagement.SolutionDistributionOperator.DeserializeSolutionDistributionDefinition(String distributionFilePath)
at Telerik.VSX.SolutionManagement.SolutionDistributionOperator.<>c__DisplayClass10_0.<CreateSolutionDistribution>b__0()
at Telerik.VSX.SolutionManagement.SolutionDistributionOperator.HandleUnauthorizedAccessException(Action action)
at Telerik.VSX.SolutionManagement.SolutionDistributionOperator.CreateSolutionDistribution(String distributionFilePath, DistributionInfo distributionInfo)
at Telerik.VSX.SolutionManagement.SolutionDistributionsContext.LoadSolutionDistributionDefinitions(DistributionInfo distributionInfo)
at Telerik.VSX.Actions.MultiProjectUpdateReferencesActionBase`1.CreateSolutionDistributionsContext(WizardContext context)
at Telerik.VSX.Actions.MultiProjectUpdateReferencesActionBase`1.Execute(WizardContext wizardContext, IPropertyDataDictionary arguments)
at Telerik.VSX.WizardEngine.ActionManager.ExecActions()While trying to update to latest version of Telerik ASP.Net Ajax, we are getting following exception:
An error occurred while running the wizard.
Error executing custom action Telerik.Web.UI.VSX.Actions.MultiProjectUpdateReferencesAction: System.Runtime.InteropServices.COMException (0x80004005): This reference cannot be removed from the project because it is always referenced by the compiler.
at VSLangProj.Reference.Remove()
at Telerik.VSX.Internal.VisualStudio.VisualStudioThreadHelper.<>c__DisplayClass0_0.<<RunInMainThread>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()
at Telerik.VSX.Internal.VisualStudio.VisualStudioThreadHelper.RunInMainThread(Action action)
at Telerik.VSX.ProjectConfigurators.ApplicationReferenceManager.RemoveReferences()
at Telerik.VSX.ProjectConfigurators.ApplicationReferenceManager.UpdateReferences()
at Telerik.VSX.Actions.UpdateReferencesAction.UpdateReferences(IProjectWrapUIComponents 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.ActionManager.ExecActions()
I would request to have the upgrade wizard handle it and show a graceful message instead of throwing the exception as it is doing right now.
When creating and upgrading Telerik UI for AJAX projects to version 2025.1.211 using "InstallFolder" distribution Telerik UI for ASP.NET AJAX references are not added to the project.
When you have a Visual Studio solution with 1 or more Telerik AJAX projects and one or more non-web projects, the upgrade wizard does not list any projects.
Steps to reproduce the behavior:
1. Create a new Telerik AJAX project with target framework 4.7.2 or 4.8
2. Add a new class library project with target framework 4.7.2 to the solution.
3. Select the solution file.
4. Launch the Upgrade wizard from the Telerik main menu.
Expected behavior
The Upgrade wizard should list projects
The menu commands for Telerik projects sometimes are not visible. The reason why is that the visibility state of the commands is evaluated asynchronously. Depending on the time it takes to evaluate the command state, sometimes the commands are not available when they are queried for the first time.
NOTE: It can be observed in all Telerik products.
Due to wrong project type detection, most of the menu and context menu commands are not available for web application projects.
The following commands are missing:
- Configure project
- Add [DPL] references
- Add Telerik Scenario...
- More Scenarios...
- the commands for individual scenarios
- the project context menu
The following commands are available but are not expected to be available:
- Create New Telerik Project
After upgrading my Telerik Ajax version from 2020.3.915.45 to the latest 2021.2.511.45 version, I am now receiving this error, in my solution. The error occurred right after I tried to upgrade Telerik from inside Visual Studio. BTW, I do not have this file: web.config.transform I am also getting a similar error when I go to this:
Configure Telerik section in Visual Studio (see screenshot).
Hi
I got this dialog pop up when it was trying to upgrade my solution which had a few web sites in it.
It seemed to get lost. I dont know what the VS dialog with 'Description' is all about.
Not sure what triggers it to say it needed an update and yet there is nothing to update.
Its possible that there is a backup folder that it created from a previous upgrade and it is looking at an old DLL in that project.
Anyway, sure you will sort it out :)
Thanks
Doug