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)
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.
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).
I'm having the exact same issue, also with a .NET Framework 4.8.1 app built in Visual Studio 2022 ARM on Windows 11 ARM. My app builds, but trying to view it locally in the browser results in a 503 and the app pool crashes with the same error as above: "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 used Microsoft's Error Lookup Tool to get more details about the exact error, and it reported the following (screenshot attached as well): .NET Framework 4.8.1 is supposed to fully support ARM, so I don't know why this doesn't work. If anyone can figure out a fix, I will seriously write you a check! This one issue is preventing me from using my M1 MacBook Pro for work since I need to be able to build and run .NET Framework 4 apps.
I have the same issue but it seems to be related to microsoft not parallels ... Did you found a workaround ?
Oh man! Any chance you can provide step-by-step directions how to set that up? I'm not familiar with Docker at all.