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以上。
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/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/12639172/viewspace-450321/