Solve the problem that 32-bit DLL files cannot be loaded in a 64-bit operating system.

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.