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

AB20232015 20 Reputation points
2023-10-15T07:45:54.28+00:00

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.

Afbeelding1

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

Accepted answer
  1. Irvine, Ian 80 Reputation points
    2023-10-26T15:35:09.9466667+00:00

    Hello

    I had the exact same issue

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

    https://developercommunity.visualstudio.com/t/SLLauncher-lightswitch-desktop-applicati/10490392?sort=active&topics=uservoice+supporters+0

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

    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 30,116 Reputation points Microsoft Vendor
    2023-10-16T09:03:05.15+00:00

    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.   

    Sincerely,

    Anna


    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.

     

     


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.