Is not a valid Win32 application error on IIS

0

I have an Asp.Net Web Api project that uses a 32 bit dll. I can deploy and use the application on IIS my own machine after changing Enable 32 bit Applications property of the application pool to true. Here are the properties of my windows and IIS:

enter image description here

But if I try to publish my project to a demo server using the same settings, I'm getting the following error:

Could not load file or assembly 'ManagerApi.DLL' or one of its dependencies. is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)

Here is the versions of windows and IIS on the demo server:

enter image description here

How can I overcome this error?

Thanks in advance,

asp.net
iis
hosting
32bit-64bit
legacy
asked on Stack Overflow Nov 13, 2015 by anilca • edited Jun 20, 2020 by Community

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0