Visual Studio crash after switsch aspx-Page in design view RRS feed

  • Question

  • User-1124897295 posted


    VS 2019 (or earlier)


    WebForms with MasterPage
    bootstrap etc. Standard.Configuration


    after the download of the latest version from TFS I can't switch the aspx-WebForm to Design Mode.
    It show me a few seconds a Form in Design Mode without MAster Page settings (withour css etc), then come hourglass and then will be Visual Studio closed.

    Which workaround I found: I should each time after download a latest version  first of all to edit the aspx-WebForm (cut content, save, and paste content and save).
    After that I can switch between SourceCode and DesignView Mode without problem.


    • how can I fix this problem, to work with VS and switch between modes without top extra Edit an aspx file?


    The Problem I had also with VS2017. All Patches and Fixes are installed.


    Monday, September 21, 2020 8:41 AM

All replies

  • User1535942433 posted

    Hi vve,

    Accroding to your description,as far as I think,something in the Solution File (the .sln file) of the Web project is now screwed, so you got to delete that.

    In my case I save them in the default location, so in the “C:\Users\MyName\Source\repos” folder. Just delete the whole sub-folder that VS created there for your Web App - the “.sln” file will be gone too.Open your Web project again, and everything works.

    Best regards,

    Yijing Sun

    Tuesday, September 22, 2020 3:29 AM
  • User-1124897295 posted

    I think thats not a cause of problem, because it's not happened with other aspx Pages. 

    Moreover, its not happened in other projects in this solution.

    There is only one aspx.page, in one projekt that has this problem. They has a simple master page, bootstrap, custom css and a content in content place holder Maincontent.

    The content is lage and have a several gridViews and capsuled controls inside of gridviews.

    But as I said, if I  edit or checkut aspx page before i switch between modes, that works nice.

    Otherweise came "Masterpage will loading.. " and then crash of VS.

    I think, that is a bug of VS, which cannot work with a large content.

    If I delete subfolder, as You write, I will have a big problems to get solution working again. 

    Thursday, October 1, 2020 2:09 PM
  • User1535942433 posted

    Hi vve,

    If you're not sure what's causing your crashes or they seem random, then you can capture dumps locally each time Visual Studio crashes and attach those to separate feedback items.You could debug your project on the different computer.

    More details,you could refer to below article:


    Best regards,

    Yijing Sun

    Monday, October 5, 2020 7:08 AM