64位的win2003上运行Framework1.1

时间:2021-04-06 20:17:27
 

1)Framework1.1是32位的程序,Framework2.0以上才支持了64位。

2)但是可以通过WOW64方式运行32位的Framework1.1。

3) 首先要保证64位的win2003安装了SP1。

4)使用命令cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 “true”配置IIS。

5)当然要发挥64位性能的话,可以把你的web应用程序升级到Framework2.0以上。

 

原文地址:http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/13f991a5-45eb-496c-8618-2179c3753bb0.mspx?mfr=true

Running 32-bit Applications on 64-bit Windows (IIS 6.0)

Windows Server 2003™, Service Pack 1 enables IIS 6.0 to run 32-bit Web applications on 64-bit Windows using the Windows-32-on-Windows-64 (WOW64) compatibility layer. IIS 6.0 using WOW64 is intended to run 32-bit personal productivity applications needed by software developers and administrators, including 32-bit Internet Information Services (IIS) Web applications.

On 64-bit Windows, 32-bit processes cannot load 64-bit DLLs, and 64-bit processes cannot load 32-bit DLLs. If you plan to run 32-bit applications on 64-bit Windows, you must configure IIS to create 32-bit worker processes. Once you have configured IIS to create 32-bit worker processes, you can run the following types of IIS applications on 64-bit Windows:

Internet Server API (ISAPI) extensions

ISAPI filters

Active Server Page (ASP) applications (specifically, scripts calling COM objects where the COM object can be 32-bit or 64-bit)

ASP.NET applications

IIS can, by default, launch Common Gateway Interface (CGI) applications on 64-bit Windows, because CGI applications run in a separate process.

 

To enable IIS 6.0 to run 32-bit applications on 64-bit Windows

1.

Open a command prompt and navigate to the %systemdrive%"Inetpub"AdminScripts directory.

2.

Type the following command:

cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 “true”

3.

Press ENTER.