64位的win2003上執行Framework1.1

iDotNetSpace發表於2008-09-19
 

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.

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/12639172/viewspace-450321/,如需轉載,請註明出處,否則將追究法律責任。

相關文章