64Bit IIS7 will not run a 32-bit DLL, even with 32-bit support

I have a C # web application that uses a 32 bit dll. Every time I try to access a service, I get

"Could not load file or assembly 'RegCheck' or one of its dependencies. An attempt was made to load a program with an incorrect format. "

I turned on the IIS pool to enable 32-bit, reset everything, tried again, but still the same error.

Most of the problems I found were resolved by changing 32bit enabled = true. Any ideas?

+3
source share
1 answer

Try to access it through a console application without installed development tools (for example, a live environment or a development server on which VS2008 is not installed) and try again (RE: comment sent by Heinzi).

, - .NET( ).

, , ISAPI DLL, 32- , - #. - - - , DLL.

, DLL .NET, regsrv32, -.

, .

, DLL, , X86 -.

+1

Source: https://habr.com/ru/post/1757121/


All Articles