how to fix vs 2022 IISExpress not start issue in windows 10

Hussin Awad 0 Reputation points
2023-06-30T02:23:00.16+00:00

when i try to run my vs2022 project it show error cannot reach this page due to not start IIS Express, after that i am try to start it with trace:error to show the following:

C:\Program Files\IIS Express>iisexpress.exe /trace:error

Starting IIS Express ...

Initializing the W3 Server Started CTC = 36937000

W3 Server initializing WinSock. CTC = 36937000

W3 Server WinSock initialized. CTC = 36937000

W3 Server ThreadPool initialized (ipm has signalled). CTC = 36937000

Start listenerChannel http:0

Error (rc=80070002) in UlInitialize. Exiting

Error initializing ULATQ. hr = 80070002

Terminating W3_SERVER object

InitComplete event signalled

Process Model Shutdown called

Unable to start iisexpress.

The system cannot find the file specified.

For more information about the error, run iisexpress.exe with the tracing switch enabled (/trace:error).


please help me to fix this issue as i tried to remove and install IIS Express again but same!!!!!

also in same computer i have get stuck with windows update such as :

2023-06 Cumulative Update for Windows 10 Version 22H2 for x64-based Systems (KB5027215)

Failed to install on ‎29/‎06/‎2023 - 0x800f0922

Windows development | Internet Information Services
Windows for business | Windows Client for IT Pros | User experience | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,766 Reputation points
    2023-06-30T13:58:48.2033333+00:00

    Hello

    Thank you for your question and reaching out.

    1. Please try deleting the automatically-created IISExpress folder, which is usually located at %userprofile%/Documents, e.g. C:\Users[you]\Documents\IISExpress.
    2. VS should create it again .
    3. Locate the path of solution and navigate to <path_to_solution_folder>.vs\config\applicationhost.config.
    4. Please check the configuration of <bindings> section have any problem in your site.

    --If the reply is helpful, please Upvote and Accept as answer--

    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.