Windows 11 ARM - Visual studio IIS Express crash

Discussion in 'Parallels Desktop for Apple Silicon (M1) Mac' started by hjdhfjff, Oct 18, 2022.

  1. hjdhfjff

    hjdhfjff Bit Poster

    Messages:
    1
    I have a Windows 11 Pro(Version 22H2) 64bit ARM VM created with Parallels (Version 18.0.1 (53056))
    I installed net core 5 and 6 for ARM (SDK and hosting bundle)
    I created a new net core web application but when I start debug IIS Express didn't start and event viewer error is:

    The Module DLL 'C:\Program Files\IIS\Asp.Net Core Module\V2\aspnetcorev2.dll' could not be loaded due to a configuration problem. The current configuration only supports loading images built for a AMD64 processor architecture

    I tried to change app URL port number, delete .vs folder and IIS debug instead of IIS Express

    Always the same error

    In the past I installed Windows 11 ARM Insider Preview and IIS Express (with the same VS project now I have the problem)
     
  2. jimb24

    jimb24

    Messages:
    2
    Same here, I have exactly the same issue, "iis express" tried to run .net 4.8.1 project, VS always complain with Unable to launch IIS Express Web Server.
    Try to run "iisexpress.exe /trace:error" always said error loading global modules. at the end using full local IIS which is not ideal.
     
  3. jimb24

    jimb24

    Messages:
    2
    PS C:\Program Files\IIS Express> .\iisexpress.exe /trace:error
    Starting IIS Express ...
    Initializing the W3 Server Started CTC = 20912656
    W3 Server initializing WinSock. CTC = 20912656
    W3 Server WinSock initialized. CTC = 20912656
    W3 Server ThreadPool initialized (ipm has signalled). CTC = 20912656
    Failed processing with hr = 8007007e
    Error loading global modules. hr = 8007007e
    Terminating W3_SERVER object
    Start listenerChannel http:0
    Initializing the W3 Server Started CTC = 20913796
    W3 Server initializing WinSock. CTC = 20913796
    W3 Server WinSock initialized. CTC = 20913796
    W3 Server ThreadPool initialized (ipm has signalled). CTC = 20913796
    Failed processing with hr = 8007007e
    Error loading global modules. hr = 8007007e
    Terminating W3_SERVER object
    InitComplete event signalled
    Process Model Shutdown called
    Waiting for all LISTENER_CHANNELS to stop
    Unable to start iisexpress.

    The specified module could not be found.
    For more information about the error, run iisexpress.exe with the tracing switch enabled (/trace:error).
     

Share This Page