logo
search
Others

How to Fix IIS Express Not Working in Visual Studio 2022 on Windows 11

Maira MehtabMaira Mehtab Sep 22, 2026 869 views

Question details

The user needs to resolve an issue where IIS Express fails to run properly within Visual Studio 2022.

Product
Visual Studio 2022
Device & OS
Windows 11 (ARM via Parallels on macOS)
Scenario
Debugging or running a web project in Visual Studio 2022 on an ARM-based Windows 11 virtual machine.
Observed behavior
IIS Express generates permission and installation errors, likely caused by configuration files, folder access restrictions, or an architecture mismatch between the ARM OS and the x86/x64 application directories.
Before you start

Verify that your Windows 11 virtual machine on Parallels is fully updated and that you have administrator privileges for your active user profile.

Solution 1Recommended

Run Visual Studio 2022 as Administrator

Elevating Visual Studio permissions can resolve immediate access restrictions preventing IIS Express from reading or writing to configuration folders.

Often, IIS Express needs permission to bind to certain ports or modify the applicationhost.config file. Running the IDE with administrator rights ensures no baseline OS restrictions block these actions.

1
Locate Visual Studio

Click the Start menu on your Windows 11 virtual machine and search for Visual Studio 2022.

2
Run as Administrator

Right-click the Visual Studio 2022 icon and select 'Run as administrator' from the context menu.

3
Test the Application

Open your web project and press F5 to start debugging. Check if IIS Express successfully launches.

Permission Verified: If this solves the problem, ensure that your user account has full read and write access to the '%USERPROFILE%\Documents\IISExpress\config' directory for standard runs.
Free Microsoft Office alternative

Boost Your Productivity with WPS Office

While you troubleshoot developer tools like Visual Studio, rely on WPS Office to handle your project documentation, spreadsheets, and presentations. It's a comprehensive, lightweight suite that runs beautifully alongside any developer setup.

  1. 1. Download the Installer: Visit the WPS Office website and download the free installer for your operating system.
  2. 2. Install the Suite: Run the lightweight setup file to install the complete office suite in minutes.
  3. 3. Manage Project Files: Easily open and edit your existing .docx, .xlsx, and .pptx development plans natively.
100% format compatibility with Microsoft Word, Excel, and PowerPoint filesIncredibly lightweight, ensuring it doesn't slow down your virtual machine or primary OSFree to use with a familiar interface that requires zero learning curveBuilt-in PDF editing tools for reading and managing technical documentation
microsoft office alternative - wps office

Frequently Asked Questions

Why does IIS Express fail on Windows 11 using Parallels?

Windows 11 on Parallels runs on an ARM architecture instead of traditional x86/x64. Visual Studio might struggle to locate the correct IIS Express executable across the multiple 'Program Files' directories created for architecture emulation, leading to startup errors.

Where is the IIS Express configuration file located?

The primary configuration folder for IIS Express is typically located in your Documents directory under '\IISExpress\config'. Project-specific settings are stored in the hidden '.vs\config\applicationhost.config' file inside your Visual Studio solution folder.

How do I switch IIS Express to 64-bit in Visual Studio 2022?

You can toggle the architecture by going to Tools > Options > Projects and Solutions > Web Projects, and checking the box that says 'Use the 64-bit version of IIS Express for web sites and projects'.