在64位Windows的IIS上开启32位程序支持(转)
2011-08-18 15:01
323 查看
经常碰到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
if ($ != jQuery) {
$ = jQuery.noConflict();
}
var isLogined = true;
var cb_blogId = 25753;
var cb_entryId = 1309939;
var cb_blogApp = "zhuangxuqiang";
var cb_blogUserGuid = "bd703d0b-63cf-dd11-9e4d-001cf0cd104b";
var cb_entryCreatedDate = '2008/10/13 14:14:00';
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
if ($ != jQuery) {
$ = jQuery.noConflict();
}
var isLogined = true;
var cb_blogId = 25753;
var cb_entryId = 1309939;
var cb_blogApp = "zhuangxuqiang";
var cb_blogUserGuid = "bd703d0b-63cf-dd11-9e4d-001cf0cd104b";
var cb_entryCreatedDate = '2008/10/13 14:14:00';
相关文章推荐
- 在64位Windows的IIS上开启32位程序支持(转)
- 在64位Windows的IIS上开启32位程序支持
- 在64位Windows的IIS上开启32位程序支持(转)
- 在64位Windows的IIS上开启32位程序支持(转)
- 在64位Windows的IIS上开启32位程序支持(zz)
- 在64位Windows的IIS上开启32位程序支持
- 配置64位Windows的IIS支持32位程序
- 64位win2008下IIS未开启32位支持导致DLL无法加载问题
- 如何让64位的windows上的IIS可以运行32位的程序
- 64位win2008下IIS未开启32位支持导致DLL无法加载问题
- 64位的操作系统iis运行32位的程序
- windows 2008 32位IIS 服务器转到64位后的各种错误,以及解决方法
- 64位的系统可以让IIS在32位的环境下运行asp.net程序(转)
- 启动64位 IIS 32位应用程序的支持
- windows 32位程序编译成64位
- 如何在64位IIS中启用32位支持
- 64位 iis执行32位 .net程序的解决方案
- Windows 7 64bit和Visual Studio 2010下的64位与32位程序配置,dll使用,与性能初步比较
- 64位操作系统(Windows 2008 R2 X64)安装32位程序Excel/word在Dcom下找不到的解决办法
- Windows(64位IIS)未在本地计算机上注册“Microsoft.Jet.OLEDB.4.0”提供程序