停止更新,敏捷测试及TestOps解决体系,关注订阅号TestOps

在64位Windows的IIS上开启32位程序支持(zz)

上一篇 / 下一篇  2008-09-24 17:36:11 / 个人分类:Windows

在64位Windows的IIS上开启32位程序支持(zz)
经常碰到32位的DLL什么的不能在64位Windows的IIS上调用,在网上找到这篇文章也许能够解决很多问题。总的思路就是先允许IIS支持32位程序,然后再用.Net Framework注册IIS。51Testing软件测试网 N[3_u-lMM

-t0t C-?#tw!h?0Enable 32-bit Server Applications on 64-bit Machines
a8NK2uN:Gz7v4M,PX(T\0

N&d)EV;HQ)YS1J/V0ASP.NET applications that use TX Text Control .NET Server must be compiled for 32-bit platforms (seethis article). IIS must be configured to execute these 32-bit applications. Generally, all applications will be executed in 64-bit mode.
^-bog*iF%yj051Testing软件测试网'yV:r+a3N X'[(]
1. Enable IIS's 32-bit support
#@Ha)t3G4k2{051Testing软件测试网.QD$t L/{ce_
Open a command prompt and type in the following command:51Testing软件测试网5Qo&nazw9S

Fu.ad2mpa$d Y0cscrīpt %SYSTEMDRIVE%\inetpub\adminscrīpts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1
`-e _&`e;c6m0
_:{)P3\\IR+?6J0This command enables the 32-bit mode in IIS.
%{0P2S%R4M I4Z051Testing软件测试网y+z4|-wD"l
2. Install the IIS 32-bit extensions
9ev6[+JqS0[0
5DgH5Q?R)]*i0Open a command prompt and type the following command:
k7QC&L o1r!snoe0
i|9| HhgF"s0%SYSTEMROOT%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i
!p%R OYWTrm051Testing软件测试网L? f$JG]
This command installs the 32-bit web extensions for .NET Framework 2.0.51Testing软件测试网x0R6|:D/\+F)ci
51Testing软件测试网W!Y2?fK{
3. Activate .NET Framework 2.0 32-bit in IIS
ZXO5[+i t4h!L+sBR051Testing软件测试网+~yxc@ D%P
In the IIS-Manager, select the 'ASP.NET v2.0.50727 (32bit)' in the 'Web Service Extensions' panel and check 'allow' to activate it.
(HQ ]NDt051Testing软件测试网/qJ!w!xi
4. Restart the IIS by opening a command prompt:51Testing软件测试网-~M:D}4}Xt
51Testing软件测试网&{{0~;Ll
iisrestart

TAG: Vista

 

评分:0

我来说两句

Open Toolbar