Problem with Visual Studio 2013 apps after installing Windows 11 update 2023-KB5031323

AB20232015 20 Reputation points

After installing Windows 11 update 2023-KB5031323, the applications I developed with Visual Studio 2013 Ultimate (Lightswitch, Visual Basic) fail to load.

Two cases arise:

  • the screen displays 'Loading' but nothing further happens
  • there is an error message window (see attached)

When I start the applications as an Aministrator they do not load on the first attempt, but they do at the second ...

Any ideas? Thanks.


Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,683 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,383 questions
{count} votes

Accepted answer
  1. Irvine, Ian 80 Reputation points


    I had the exact same issue

    The solution is a simple change to the apps web.config files that I found at this URL

          <add key="aspnet:FileNameUtilUseLegacyInvalidChars" value="true" />

    Unfortunately you will likely have the app locally installed within %localappdata%\Apps somewhere. We just searched for web.config within that directory and deleted the locally installed folders then re-installed. Could of course also edit each users local web.config file.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 26,566 Reputation points Microsoft Vendor

    Hi @AB20232015, 

    Welcome to Microsoft Q&A! 

    You can close all running VS instances and try to delete the hidden .vs, bin and obj folders in the project folder. 

    Besides, the VS2013 is too old. I would like to recommend you migrate your project to a newer version of VS, such as VS2022. You can refer to: Project migration and upgrade reference for Visual Studio to do a migration.

    By the way, currently in Microsoft Q&A we only support English, please edit the error message into English so that we can investigate it further. Thanks for your understanding.   



    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.