If you load a 32-bit DLL file in a 64-bit operating system, the following error occurs: Program"Error, this error will cause some functions in our program to be unavailable, such as SMS function solution: Enable IIS, change the value of "Start 32-bit application" in the advanced settings of the specified application pool to "true"
The image of this topic is as follows: 1.jpg
The preceding settings only support windows. For a 64-bit Windows operating system, see the following settings:
Click Start, click Run, type cmd, and click OK ".
Run the following command to enable the 32-Bit mode:
Cscript % systemdrive % \ Inetpub \ adminscripts \ adsutil. vbs set w3svc/apppools/enable32bitapponwin64 1
Run the following command to install ASP. NET 2.0 (32-bit) and install script ing in the IIS root directory:
% SystemRoot % \ Microsoft. NET \ framework \ v2.0.40607 \ aspnet_regiis.exe-I
Make sure that the status of ASP. NET 2.0.40607 (32-bit) is enabled in the Web Service Extension list of Internet Information Service Manager.