This is a migrated thread and some comments may be shown as answers.

Error during project upgrade

6 Answers 56 Views
Installer and VS Extensions
This is a migrated thread and some comments may be shown as answers.
Felice
Top achievements
Rank 1
Felice asked on 06 Sep 2013, 06:14 AM
I have installed the latest trial package on VS 2012.
I am trying to upgrade a project from a Telerik 2012 version made on VS 2010 but I get this error at the end of the wizard:

The wizard encountered an error while trying to handle user event.

System.ArgumentException: Formato del percorso non valido.
   in System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength)
   in System.IO.Path.GetDirectoryName(String path)
   in Telerik.VSX.Controls.BackupFolderSelector.GetInitialFolder(WizardContext context)
   in Telerik.VSX.Controls.BackupFolderSelector.InitModel(IPropertyDataDictionary allPropertyValues, WizardContext context)
   in Telerik.VSX.WizardEngine.Controls.WizardControlBase.Init(IPropertyDataDictionary allPropertyValues, WizardContext context)
   in Telerik.VSX.Controls.EnableStateWizardControl`2.Init(IPropertyDataDictionary allPropertyValues, WizardContext context)
   in Telerik.VSX.WizardEngine.Controls.WizardControlBase.Telerik.WizardFramework.ScenarioDriven.IWizardControl.Init(IPropertyDataDictionary allPropertyValues, IWizardContext context)
   in Telerik.VSX.WizardFramework.Pages.DynamicPageController.InitControls()
   in Telerik.VSX.WizardFramework.Pages.DynamicPageController.Init(IWizardPageDef pageDefinition, IWizardContext wizardControlContext, IPropertyDataDictionary allGatheredData)
   in Telerik.WizardFramework.ScenarioDriven.ScenarioWizard.OnBeforeShow(Boolean movingNext)
   in Telerik.WizardFramework.Wizard.PostMove(Boolean movingNext)
   in Telerik.WizardFramework.Wizard.OnMoveNext()
   in Telerik.WizardFramework.Wizard.UI_Next(Object sender, EventArgs e)
   in Telerik.WizardEngine.Helpers.EventHelper.<>c__DisplayClass1.<RaiseEvent>b__0()
   in Telerik.WizardEngine.Helpers.EventHelper.CatchExceptionAndSendReport(Action action)

What am I supposed to do?
I can I solve such problem?
Thanks
Felice

6 Answers, 1 is accepted

Sort by
0
Dyanko
Telerik team
answered on 10 Sep 2013, 04:31 PM
Hello Felice,

Thank you for writing us.

The following error occurs, when the path to the project is too long or there are invalid symbols in it. I would suggest to reduce the project path length and then try to run the Upgrade wizard again.

Please let me know if the issue still occurs.

Regards,
Dyanko
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Felice
Top achievements
Rank 1
answered on 11 Sep 2013, 06:50 AM
Hi Dyanko,
thanks for your reply.
I moved the entire project folder in "C" and renamed the project "Pippo".
I still get exactly the same errors.
Any idea?

Thanks a lot,
Felice
0
Dyanko
Telerik team
answered on 11 Sep 2013, 01:54 PM
Hi Felice,

I am sorry that this was not helpful.

In order to perform a further investigation of the problem and improve our Visual Studio Extensions would you please send us your project and the exact path to the project? Also would you please send us the path of the Backup location field on the last page of the Upgrade wizard (see attachment).

I would suggest to change the path for the backup file and the give it another try.

Looking forward to your response.

Regards,
Dyanko
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Felice
Top achievements
Rank 1
answered on 11 Sep 2013, 04:09 PM
Hi Dyanko,
thanks for your support.
I have uploaded the solution on my dropbox. You can download it for the next 24 hours at this address.
Actually the backup position at the time I am trying to update the solution was in the same solution folder which I placed directly in the root of C drive.

Here is the link: https://dl.dropboxusercontent.com/u/44391031/UpdateProblems/Stadler_1_19.rar


Thanks,
Felice
0
Accepted
Momchil
Telerik team
answered on 12 Sep 2013, 11:28 AM
Hi Felice,

Thank you for the project you sent. It helped us find that this issue is happening because our Upgrade wizard expects that every project has a solution file, which appears to be not necessarily true for the Web Site projects. We will fix this behavior for one of our next releases and you can follow our progress of the issue in our Public Issue Tracker.

For now as a workaround I suggest you adding your project to a solution by following these steps:

  1. From Visual Studio menu open File -> New Web Site
  2. Set target .NET framework, Web Site location and select ASP.NET Empty Web Site item and click OK
  3. Open newly created project's folder by selecting "Open Folder in File Explorer" from its context menu in the Solution Explorer
  4. Copy all contents of your project(all files and folders which are in "Stadler_1_19" folder) in the folder of the newly created project (overwrite the Web.config)
  5. Select your project and start Telerik -> RadControls for ASP.NET Ajax -> Upgrade wizard (if the Upgrade wizard option is disabled and only Convert to Telerik Project is available just close and reopen the Web Site project)
  6. Finish the wizard

I hope this helps.

Regards,
Momchil
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.

0
Felice
Top achievements
Rank 1
answered on 13 Sep 2013, 09:00 AM
Hi,
thanks a lot for your support.This time it worked according to your procedure.

Kind regards
Felice
Tags
Installer and VS Extensions
Asked by
Felice
Top achievements
Rank 1
Answers by
Dyanko
Telerik team
Felice
Top achievements
Rank 1
Momchil
Telerik team
Share this question
or