Unable to start IIS Express after updating Windows 11 update 24H2 - VS 2022 Professional (64 bit)

Ramesh Sivaperumal 0 Reputation points
2025-01-27T08:55:31.6566667+00:00

Hi Team,

I am facing issue with IIS Express after updating to Windows 24H2, starting a web application in Visual Studio with .NET Framework 4.8 or 4.8.1 shows the error:

Error Message:

"Unable to start program Files\IIS Express\iisexpress.exe.

The process has been terminated.

Refresh the process list before attempting another attach."

I’ve tried however it didn’t fix the issue:

  1. Repair IIS Express installation
  2. Uninstall and reinstall IIS Express
  3. Delete some folders (.vs - bin - obj) and rebuild the solution
  4. Repair Visual Studio Installation from Visual Studio Installer
  5. Uninstall and reinstall Visual Studio from Visual Studio Installer

But it is working, if reverted the windows update

VS: Professional 2022 Version 17.12.4
OS update: Windows 11, Version 24H2
Framework Update:
Cumulative Update for .NET Framework 3.5 and 4.8.1 for Windows 11, version 22H2 and Windows 11, version 23H2
------------------------------------------------------------------------------

** Seems the issue is with 32- and 64-bit version related, because

if I unselect VS IDE below option

Use the 64-bit version of IIS Express for web sites and projects, unable to start IIS express error is gone **

Windows for business Windows Client for IT Pros User experience Other
Developer technologies Visual Studio Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2025-01-28T03:59:40.6233333+00:00

    Hi @Ramesh Sivaperumal

    Welcome to Microsoft Q&A! 

    You can try to right-click on project node in the Solution Explorer > Properties > Build > check the box for "Prefer 32-bit". 

    If it doesn’t work, I suspect it is a compatibility issue between IIS Express and Windows 11 version 24H2. I found you have reported it in Developer Community.

    Unable to start IIS Express on Visual Studio 2022 professional after updating Windows 11 - Developer Community 

    Please be patient and wait for a response from the product team. 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.

     

    0 comments No comments

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.