32-bit DLL cannot be called on 64-bit Windows IIS. Article It may solve many problems. The general idea is to allow IIS to support 32-bit Program And then use. NET Framework to register IIS.
Enable 32-bit server applications on 64-bit machines
ASP. NET applications that use TX text control. NET Server must be compiled for 32-bit platforms (see this article ). IIS must be configured to execute these 32-bit applications. generally, all applications will be executed in 64-Bit mode.
1. Enable IIS's 32-bit support
Open a command prompt and type in the following command:
Cscript % systemdrive % \ Inetpub \ adminscripts \ adsutil. vbs set w3svc/apppools/enable32bitapponwin64 1
This command enables the 32-Bit mode in IIS.
2. Install the IIS 32-bit extensions
Open a command prompt and type the following command:
% SystemRoot % \ Microsoft. NET \ framework \ v2.0.50727 \ aspnet_regiis.exe-I
This command INSTALLThe 32-bit web extensions for. NET Framework 2.0.
3. Activate. NET Framework 2.0 32-bit in IIS
In the IIS-manager, select the 'asp. Net v2.0.50727 (32bit) 'in the 'Web Service extension' panel and check 'allow' to activate it.
4. Restart the IIS by opening a command prompt:
Iisrestart