惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - Franky
T
Tailwind CSS Blog
Microsoft Azure Blog
Microsoft Azure Blog
The Cloudflare Blog
博客园 - 叶小钗
N
Netflix TechBlog - Medium
罗磊的独立博客
量子位
MyScale Blog
MyScale Blog
A
About on SuperTechFans
Blog — PlanetScale
Blog — PlanetScale
V
Visual Studio Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
GbyAI
GbyAI
B
Blog
腾讯CDC
爱范儿
爱范儿
Recent Announcements
Recent Announcements
有赞技术团队
有赞技术团队
F
Fortinet All Blogs
雷峰网
雷峰网
G
Google Developers Blog
Google DeepMind News
Google DeepMind News

博客园 - 蛤蟆

WMI .NET开发资源 网站架构方案全解析 浏览器缓存机制 浏览器加载和渲染html的顺序 微软SaaS、PaaS到IaaS的全面云计算服务 阮志敏谈平台即服务PaaS 开发人员如何提高工作效率一:找出低效的原因 人人网的系统架构 程序员能力矩阵 Programmer Competency Matrix 惠普 Windows下的Memcache安装 Scrum开发过程简述 敏捷开发之Scrum扫描篇 你了解分层架构吗?给被PetShop“毒害”的朋友(转) CIO如何应对技术萎缩 Google MapReduce中文版 FastDHT-高效分布式Hash系统 软件工程和项目管理的区别 比较 Rational Unified Process (RUP) 和 Microsoft Solutions Framework (MSF)
在64位Windows的IIS上开启32位程序支持(转)
蛤蟆 · 2011-08-18 · via 博客园 - 蛤蟆

经常碰到32位的DLL什么的不能在64位Windows的IIS上调用,在网上找到这篇文章也许能够解决很多问题。总的思路就是先允许IIS支持32位程序,然后再用.Net Framework注册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 installs the 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 Extensions' panel and check 'allow' to activate it.

4. Restart the IIS by opening a command prompt:

iisrestart