Error during project upgrade

7 posts, 1 answers
  1. Felice
    Felice avatar
    198 posts
    Member since:
    Aug 2013

    Posted 06 Sep 2013 Link to this post

    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
  2. Dyanko
    Admin
    Dyanko avatar
    122 posts

    Posted 10 Sep 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Felice
    Felice avatar
    198 posts
    Member since:
    Aug 2013

    Posted 11 Sep 2013 Link to this post

    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
  5. Dyanko
    Admin
    Dyanko avatar
    122 posts

    Posted 11 Sep 2013 Link to this post

    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.
  6. Felice
    Felice avatar
    198 posts
    Member since:
    Aug 2013

    Posted 11 Sep 2013 Link to this post

    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
  7. Answer
    Momchil
    Admin
    Momchil avatar
    58 posts

    Posted 12 Sep 2013 Link to this post

    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.

  8. Felice
    Felice avatar
    198 posts
    Member since:
    Aug 2013

    Posted 13 Sep 2013 Link to this post

    Hi,
    thanks a lot for your support.This time it worked according to your procedure.

    Kind regards
    Felice
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017