停止更新,敏捷测试及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软件测试网Z-Yv\7q5T6|+y\f3_

!`Ex6}I]s,L#K"y0Enable 32-bit Server Applications on 64-bit Machines
?Zi6V!mn:}(o|M0

|&H$^(rB0ASP.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.51Testing软件测试网-\ ~.gS9?k8s;I1ZQ
51Testing软件测试网2MW%y[mF
1. Enable IIS's 32-bit support51Testing软件测试网Oxi-vd$s!SwB
51Testing软件测试网nq+EF:F6J2R W
Open a command prompt and type in the following command:
G"d7Tp*T0D0
mC(E+@5} ~Yo#Z0cscrīpt %SYSTEMDRIVE%\inetpub\adminscrīpts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 151Testing软件测试网1L:g1N&Y I(b%Oe9X([
51Testing软件测试网 xg|)BS7n%d*S
This command enables the 32-bit mode in IIS.51Testing软件测试网EFy C#g-i$a7Q2B
51Testing软件测试网Yg,u _bKnk e
2. Install the IIS 32-bit extensions51Testing软件测试网6R3f/m%xv~

R8K;I wp&Dsk(Y0Open a command prompt and type the following command:51Testing软件测试网L&cmk:Q

0Pu#i'A/RO/OF^0%SYSTEMROOT%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i
Q/{uY$xFu0
!m~6U#uA%mS1XM0This command installs the 32-bit web extensions for .NET Framework 2.0.
{b`LM-ob0
W B H._ _p O/cah03. Activate .NET Framework 2.0 32-bit in IIS51Testing软件测试网nx S_$i)~k
51Testing软件测试网:B5Qn5_dM/L6l
In the IIS-Manager, select the 'ASP.NET v2.0.50727 (32bit)' in the 'Web Service Extensions' panel and check 'allow' to activate it.51Testing软件测试网HN[K*jS]0o l`

SUz}'HM04. Restart the IIS by opening a command prompt:51Testing软件测试网+MX"F-RS+A O

['NP6ljp0iisrestart

TAG: Vista

 

评分:0

我来说两句

Open Toolbar