Unable to run .net 4.8 apps on IIS using Arm processor (M1 Max)

Bodokh 15 Reputation points
2023-02-23T14:34:02.8166667+00:00

I have a macbook pro with M1 max processor running windows 11 pro in Parallels using the most updated version as to writing this message.

When trying to run .net 4.8 app on IIS I get the following error in the event viewer:

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. The data field contains the error number. To learn more about this issue, including how to troubleshooting this kind of processor architecture mismatch error, see http://go.microsoft.com/fwlink/?LinkId=29349.

I have no projects using aspnetcorev2.dll so I don't understand how this error even makes sense.

Any ideas?

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,547 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,280 questions
{count} vote

6 answers

Sort by: Most helpful
  1. A. Carlos Pinheiro 0 Reputation points
    2023-10-01T05:46:50.15+00:00

    Perfeito segui o passo de alterar propriedade enable virtual arm64 para false funcionou perfeitamente , tive que iniciar o pool algumas vezes mas ficou perfeito

    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.