Upgrade Wizard Crashes

24 posts, 0 answers
  1. IT Buyer
    IT Buyer avatar
    11 posts
    Member since:
    Apr 2007

    Posted 05 Jun 2014 Link to this post

    At my organization, we have attempted to upgrade an asp.net MVC solution in Visual Studio 2013 using the Solution Upgrade Wizard from v2014.1.318.545 to v2014.1.528.545 on two different machines without success. 

    The wizard manages to remove old content and scripts and add 400+ files, but a crash always occurs before it completes the process.  The crash causes the environment to restart, and the upgrade is very obviously incomplete.

    Is this an issue that has been reported by anyone else?  Is there an alternative way to update our project instead of using the upgrade wizard?  Thanks!
  2. Vesko
    Admin
    Vesko avatar
    97 posts

    Posted 06 Jun 2014 Link to this post

    Hello,

    We are sorry for the inconvenience.

    Yes, this is an issue that was reported yesterday. It is caused by a crash of the Visual Studio "Confirm overwrite" dialog. We launch this dialog when we override the Editor templates in your project (in Shared\EditorTemplates folder). The workaround is skipping the upgrade of the templates (there is a screenshot attached) and manually upgrade them (this is just a simple copy operation) if necessary.

    This issue is currently under investigation but we still have no repro. It will be highly appreciated if you provide additional information that will help us identify the problem. The information from About Microsoft Visual Studio dialog, any recent updates that regards .Net Framework and Visual Studio are appropriate.

    Please let us know if that is the case.

    Regards,
    Vesko
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. IT Buyer
    IT Buyer avatar
    11 posts
    Member since:
    Apr 2007

    Posted 06 Jun 2014 Link to this post

    Thank you for the reply.  I can tell you right off that one machine had Visual Studio 2013 Update 2 recently installed.  This machine is running windows 8.1.  The other machine had not applied the update (it was current to Update 1).  This machine is running windows 7.  The crash occurred on both machines.  The only visible dialog was the standard "Visual Studio has encountered a problem and needs to be restarted" dialog that is common when apps crash in Windows.

    I would be happy to send you any other information you need to help solve this problem.
  5. Vesko
    Admin
    Vesko avatar
    97 posts

    Posted 06 Jun 2014 Link to this post

    Hi,

    Does the proposed (skipping the update of the editor templates) is a valid workaround for you?

    Please do not hesitate to let us know if additional assistance is required until we provide an update with fix.

    Regards,
    Vesko
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  6. IT Buyer
    IT Buyer avatar
    11 posts
    Member since:
    Apr 2007

    Posted 06 Jun 2014 Link to this post

    I will be able to attempt the update again later today with the workaround you have posted.  I will report back whether or not it works.  Thanks!
  7. IT Buyer
    IT Buyer avatar
    11 posts
    Member since:
    Apr 2007

    Posted 06 Jun 2014 Link to this post

    Vesko,

    Your suggestion worked.  Thanks!  Where do I find the updated EditorTemplates to manually copy them?  I wasn't sure where to locate them on my machine.
  8. Vesko
    Admin
    Vesko avatar
    97 posts

    Posted 09 Jun 2014 Link to this post

    Hello,

    The editor templates are part of the UI for ASP.NET MVC. It can be distributed in several locations. Here are the most usual locations where the templates can be found:

    [Product_Install_Location]\wrappers\aspnetmvc\EditorTemplates
    %appdata%\Telerik\Updates\[Product_Name]\wrappers\aspnetmvc\EditorTemplates

    The second path is where your hotfix updates are stored by default (the updates that comes through Visual Studio). You can find more about this here:

    http://docs.telerik.com/kendo-ui/getting-started/using-kendo-with/aspnet-mvc/vs-integration/latest-version-retrieval

    http://docs.telerik.com/kendo-ui/getting-started/using-kendo-with/aspnet-mvc/vs-integration/vsextensions-options

    Regards,
    Vesko
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  9. Jeff Trotman
    Jeff Trotman avatar
    4 posts
    Member since:
    Jul 2009

    Posted 10 Sep 2014 Link to this post

    FYI - I got this error tonight upgrading a project from v.2014.2.716.440 to v.2014.2.903.545.

    From Visual Studio Help, About screen:
    VS Prof 2013
    Version 12.0.30723.00 Update 3
    .Net Version 4.5.50938
    ASP.Net MVC VSExtensions 2014.3.820.0

    The workaround did work for me.


  10. Chris
    Chris avatar
    20 posts
    Member since:
    Nov 2013

    Posted 28 Nov 2014 Link to this post

    Hi, is this fixed yet?  My upgrade processes for a while and then stops doing anything, just showing the egg timer.

    Thanks,

    Chris.
  11. Ventsi
    Admin
    Ventsi avatar
    46 posts

    Posted 02 Dec 2014 Link to this post

    Hello Chris,

    It seems that this behavior is different than the discussed in this thread as your Visual Studio hangs but not crashes.

    I would suggest to send us a support ticket for this issue and we will highly appreciate any additional information, such as:
    • What OS do you use?
    • What version and edition of Visual Studio do you use?
    • What version of UI for ASP.NET MVC extensions do you use?
    • What distribution version do your projects refer?
    • What distribution version do you use to upgrade your projects?
    • What settings do you set when running the Upgrade Wizard?

    We look forward to receiving your response.

    Regards,
    Author nickname
    Telerik

     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  12. Chris
    Chris avatar
    20 posts
    Member since:
    Nov 2013

    Posted 07 Dec 2014 Link to this post

    Hi Ventsi,

    What OS do you use? Windows Server 2012

    What version and edition of Visual Studio do you use? 2013 Ultimate

    What version of UI for ASP.NET MVC extensions do you use?

    What distribution version do your projects refer? 2014.1.415.545

    What distribution version do you use to upgrade your projects? 2014.3.1119.545

    What settings do you set when running the Upgrade Wizard? Update where already in use. On the original project I was having this problem, I found that if I dod not ask it to convert the Editor Templates, then it did not hang.  However, on another, it does.


    Thanks,
    Chris

  13. Ventsi
    Admin
    Ventsi avatar
    46 posts

    Posted 09 Dec 2014 Link to this post

    Hello Chris,

    Thank you for the information provided.

    Unfortunately, we were unable to reproduce this issue.

    It seems that some specific differences between your projects may result in the reported behavior. Regarding this, could you please:
    1. Open a support ticket for this issue using your Telerik account
    2. Share any key differences between your projects
    3. Check if the process hangs or just need more time than usual to complete. You can do this by checking the Status Bar at the bottom of your Visual Studio, where you can see all the operations during the upgrade.
    4. Send us the support ticket 

    In addition, I would recommend you to update your Visual Studio extensions and check if the issue still persists. You can do this by following these steps:
    1. Launch Visual Studio
    2. Go to Tools > Extensions and Updates
    3. Click on Updates > Visual Studio Gallery
    4. Update Telerik ASP.NET MVC VSExtensions

    Meanwhile, you can review this article and manually update all Telerik UI for ASP.NET MVC related resources in order to use the latest version in your projects.

    We really appreciate your cooperation and look forward to receiving your response.

    Regards,
    Author nickname
    Telerik

     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  14. Jeff Trotman
    Jeff Trotman avatar
    4 posts
    Member since:
    Jul 2009

    Posted 16 Feb 2015 in reply to Jeff Trotman Link to this post

    FYI - Since my previous post, the workaround had been working until this time. Today, I was trying to upgrade from 2014.2.1008 to 2014.3.1316 (at first, and then downloaded 2014.3.1411). Now even when un-checking the "Upgrade editor templates" checkbox - the upgrade wizard still crashes. It crashes after the 2014.2.1008 script files have been deleted, but before those files have been removed from the project (so they are still listed in Visual Studio in the project hierarchy with an icon on them).
    VS Prof 2013
    Version 12.0.31101.00 Update 4
    .Net Version 4.5.51029
    Telerik ASP.NET MVC VSExtensions   2014.5.1118.0

  15. Ventsi
    Admin
    Ventsi avatar
    46 posts

    Posted 18 Feb 2015 Link to this post

    Hi Jeff,

    Thank you for the provided details.

    Does the error report dialog appear when the Upgrade wizard crashes? If it does - could you please send us the stack trace that it shows?

    If the dialog does not appear - please do the following:
    1. Run Visual Studio with logging by using the /Log switch
    2. Reproduce the reported behavior
    3. In Windows Explorer navigate to %appdata%\Microsoft\VisualStudio\12.0
    4. Find the ActivityLog.xml and send it to us

    We highly appreciate your cooperation. Should you need further assistance do not hesitate to contact us.

    Regards,
    Ventsi
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  16. Joel
    Joel avatar
    2 posts
    Member since:
    Jun 2012

    Posted 14 Apr 2015 in reply to Ventsi Link to this post

    I recently ran into the upgrade crash with v2015.1.408.  Disabling the editor template update worked for me.  VS 2013 update 2, Windows 7.

    We run a pretty restrictive environment, so if I had to guess, I'd say it's caused by some policy designed to lock the machine down.  

  17. Ventsi
    Admin
    Ventsi avatar
    46 posts

    Posted 15 Apr 2015 Link to this post

    Hello Joel,

    Thank you for your cooperation and the information you have provided. We really appreciate it.

    Regards,
    Ventsi
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  18. marbleblue
    marbleblue avatar
    12 posts
    Member since:
    Apr 2008

    Posted 14 Aug 2015 Link to this post

    Happening with the 2015 Q2 upgrade wizard. Win 7 decent dev machine. VS 2015. Trying the solution above.
  19. Ventsi
    Admin
    Ventsi avatar
    46 posts

    Posted 18 Aug 2015 Link to this post

    Hello Kushel,

    Thank you for writing.

    Did the above mentioned solution work in your case?

    Please do not hesitate to contact us in case the upgrade was not successful.

    Regards,
    Ventsi
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  20. marbleblue
    marbleblue avatar
    12 posts
    Member since:
    Apr 2008

    Posted 18 Aug 2015 in reply to Ventsi Link to this post

    Hello, the above didn't work. In the end, we did the upgrade via our most juiced up development machine, including editor templates, and it completed in minutes. I was surprised as the machine is only slightly more powerful than our other ones. We did the backup separately beforehand. Sorry I can't provide you with any better answers.
  21. Ventsi
    Admin
    Ventsi avatar
    46 posts

    Posted 20 Aug 2015 Link to this post

    Hi Kushel,

    I am glad to hear you have successfully upgraded your solution.

    Unfortunately, we are still unable to reproduce this on our side so any information, like the one you shared, is important.

    Your cooperation is highly appreciated.

    Regards,
    Ventsi
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  22. Jon
    Jon avatar
    21 posts
    Member since:
    Dec 2012

    Posted 09 Sep 2015 Link to this post

    I'm also experiencing this issue trying to update two different projects to v2015.2.902. Running VS 2015. At first I thought maybe JustCode Analysis was interfering, but after uninstalling JustCode and trying the update again I was only able to update on of the two projects. VS continues to crash when I try to update the other. From the VS About dialog:

     Microsoft Visual Studio Enterprise 2015
    Version 14.0.23107.0 D14REL
    Microsoft .NET Framework
    Version 4.6.00079

    Installed Version: Enterprise

    Architecture and Modeling Tools   00322-80000-00000-AA898
    Microsoft Architecture and Modeling Tools
        
    UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

    Visual Basic 2015   00322-80000-00000-AA898
    Microsoft Visual Basic 2015

    Visual C# 2015   00322-80000-00000-AA898
    Microsoft Visual C# 2015

    Visual C++ 2015   00322-80000-00000-AA898
    Microsoft Visual C++ 2015

    Visual F# 2015 RC   00322-80000-00000-AA898
    Microsoft Visual F# 2015 RC

    ASP.NET and Web Tools   14.0.20626.0
    ASP.NET and Web Tools

    ASP.NET Web Frameworks and Tools 2013   5.2.30624.0
    For additional information, visit http://www.asp.net/

    CodeMaid   v0.8.1
    CodeMaid is an open source Visual Studio extension to cleanup, dig through and simplify our C#, C++, F#, VB, PHP, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.

    Written by Steve Cadwallader, for more information visit http://www.codemaid.net/

    Common Azure Tools   1.5
    Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

    GenerateUnitTest   1.0
    Generates unit test code for methods in classes under test.

    IsWiX   2.5
    Industrial Strength Windows Installer XML (IsWiX) http://iswix.codeplex.com

    Microsoft Azure Mobile Services Tools   1.4
    Microsoft Azure Mobile Services Tools

    Microsoft Code Digger   0.9
    Microsoft Code Digger

    Microsoft.Pex.VisualStudio   1.0
    Pex

    NuGet Package Manager   3.0.0
    NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

    PreEmptive Analytics Visualizer   1.2
    Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

    SlowCheetah - XML config transforms    1.0
    This package enables you to transform your app.config or any other XML file based on the build configuration. It also adds additional tooling to help you create XML transforms.

    SQL Server Data Tools   14.0.50730.0
    Microsoft SQL Server Data Tools

    Telerik ASP.NET AJAX VSExtensions   2015.3.622.0
    Telerik UI for ASP.NET AJAX VSExtensions

    Telerik ASP.NET MVC VSExtensions   2015.3.622.0
    Telerik UI for ASP.NET MVC VSExtensions

    Telerik WinForms VSExtensions   2015.3.622.0
    Telerik UI for WinForms VSExtensions

    Web Essentials 2015   0.5.170
    Adds many useful features to Visual Studio for web developers.

    Windows Installer XML Toolset   3.10.0.1823
    Windows Installer XML Toolset version 3.10.0.1823
    Copyright (c) Outercurve Foundation. All rights reserved.

  23. Ventsi
    Admin
    Ventsi avatar
    46 posts

    Posted 11 Sep 2015 Link to this post

    Hello Jon,

    I am sorry to hear you have experienced issues upgrading your projects.

    We would like to further investigate this and as the Visual Studio fails - could you please send us the log of the studio when this happens? The following steps will help you do that:
    1. Run Visual Studio with logging by using the /Log switch
    2. Try to upgrade your project and reproduce the reported crash
    3. In Windows Explorer navigate to %appdata%\Microsoft\VisualStudio\14.0
    4. Find the ActivityLog.xml and send it to us

    We are looking forward to receiving your response.

    Regards, Ventsi
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  24. Jon
    Jon avatar
    21 posts
    Member since:
    Dec 2012

    Posted 11 Sep 2015 in reply to Ventsi Link to this post

    After multiple attempts it did finally update. If I run into this issue in the future I will be glad to run it with logging and send you the log. Unfortunately I can't do that this time since I've already gotten it updated.
  25. Ventsi
    Admin
    Ventsi avatar
    46 posts

    Posted 15 Sep 2015 Link to this post

    Hi Jon,

    I am glad to hear the upgrade of your project was successful.

    Please do not hesitate to contact us in case further assistance is needed or you have any information that might help us find the cause for these issues.

    Regards,
    Ventsi
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
UI for ASP.NET MVC is VS 2017 Ready