在Windows 7/Server 2008 R2上部署asp.net 1.1程序
2010-07-21 23:15
573 查看
.NET 1.1只有32位的,Windows Server 2008 R2只有64位的,可以通过WOW64运行32位应用程序,按照How to install ASP.NET 1.1 with IIS7 on Vista and Windows 2008和Workaround: Running ASP.NET 1.1 on Vista SP2/WS08 SP2的配置并不能正常运行,通过下面的方法可以正常运行asp.net 1.1程序,本文主要参考Installing .Net 1.1 applications on Windows Server 2008 R2。
1、安装IIS元数据库和配置兼容性
2、按照以下顺序安装.NET 1.1
Microsoft® .NET Framework 1.1 版可再发行组件包
Microsoft Microsoft .NET Framework 1.1 版 简体中文语言包
Microsoft .NET Framework 1.1 Service Pack 1
.NET Framework 1.1 Service Pack 1 ASP.NET 安全更新
安装过程中都会出现程序兼容性对话框:
选择运行程序完成安装,1.1 sp1和安全更新补丁要求重启系统。
3、启用ISAPI和CGI限制,默认的ASP.NET v1.1.4322是禁用的,需要启用:
4、调整machine.config,需要调整.net 1.1的配置忽略IIS 7的配置,打开%windir%/Microsoft.NET/Framework/v1.1.4322/config/machine.config,在configSections的最后加入一节:
5、调整应用程序的应用程序池为asp.net 1.1
6、修正applicationHost.config的bug
IIS运行时在64位系统下加载.NET配置文件的目录是Microsoft.Net/Framework64,.NET 1.1的配置在这个目录下不存在,把32位目录下的配置文件拷贝到这个目录下:
创建目录/Windows/Microsoft.net/Framework64/v1.1.4322/config
从/Windows/Microsoft.net/Framework/v1.1.4322/Config拷贝machine.config
做好了上述设置,我们的.NET 1.1程序就可以跑了。
.NET Framework version 1.1 for 64-bit operating systems
How to install ASP.NET 1.1 with IIS7 on Vista and Windows 2008
Workaround: Running ASP.NET 1.1 on Vista SP2/WS08 SP2
1、安装IIS元数据库和配置兼容性
2、按照以下顺序安装.NET 1.1
Microsoft® .NET Framework 1.1 版可再发行组件包
Microsoft Microsoft .NET Framework 1.1 版 简体中文语言包
Microsoft .NET Framework 1.1 Service Pack 1
.NET Framework 1.1 Service Pack 1 ASP.NET 安全更新
安装过程中都会出现程序兼容性对话框:
选择运行程序完成安装,1.1 sp1和安全更新补丁要求重启系统。
3、启用ISAPI和CGI限制,默认的ASP.NET v1.1.4322是禁用的,需要启用:
4、调整machine.config,需要调整.net 1.1的配置忽略IIS 7的配置,打开%windir%/Microsoft.NET/Framework/v1.1.4322/config/machine.config,在configSections的最后加入一节:
1: <section name="system.webServer" type="System.Configuration.IgnoreSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
2: configSections>
5、调整应用程序的应用程序池为asp.net 1.1
6、修正applicationHost.config的bug
IIS运行时在64位系统下加载.NET配置文件的目录是Microsoft.Net/Framework64,.NET 1.1的配置在这个目录下不存在,把32位目录下的配置文件拷贝到这个目录下:
创建目录/Windows/Microsoft.net/Framework64/v1.1.4322/config
从/Windows/Microsoft.net/Framework/v1.1.4322/Config拷贝machine.config
做好了上述设置,我们的.NET 1.1程序就可以跑了。
.NET Framework version 1.1 for 64-bit operating systems
How to install ASP.NET 1.1 with IIS7 on Vista and Windows 2008
Workaround: Running ASP.NET 1.1 on Vista SP2/WS08 SP2
相关文章推荐
- 在Windows 7/Server 2008 R2上部署asp.net 1.1程序
- 转贴:让Windows 2008 R2 64bit支持ASP.NET 1.1应用程序
- windows 2008 R2下配置asp.net 1.1站点
- windows server 2012 r2 iis8.5 部署asp.net mvc4/5程序小结
- Windows 2008 server + IIS 7 设置身份模拟(ASP.NET impersonation)
- 64位winserver2008环境,ASP.Net程序不能访问Oracle数据库(安装的32位Oracle客户端)
- asp.net 1.1 部署与windows 2000 诡异问题
- window Server 2008 R2 配置IIS7 .net网站部署环境
- Setup 64-bit Windows Server for Running ASP.NET 1.1 and ASP.NET 2.0 at the Same Time
- asp.net web api的自托管模式HttpSelfHostServer可以以控制台程序或windows服务程序为宿主,不单单依赖于IIS web服务器
- windows server 2012 r2 iis8.5 部署asp.net mvc4/5程序小结
- Windows 2008 R2 Sp1平台整合部署Ex2010与Lync Server 2010参考(一)v1.0
- 64位操作系统(Windows 2008 R2 X64)ASP.NET 调用32位Excel,word 出现401 – 未授权: 由于凭据无效,访问被拒绝。
- Windows 2008 server + IIS 7 设置身份模拟(ASP.NET impersonation)
- Windows 2008 R2 Sp1平台整合部署Ex2010与Lync Server 2010参考(三)v1.0
- Windows 2008 R2 Server Core .NET环境配置
- Vmware ESX5i 环境下部署Windows Storage Server 2008 R2
- vs.net中创建asp.net程序时,出现:http/1.1 500 internal server error
- 在Windows 2008 Server下安装.NET Framework 1.1
- How to install ASP.NET 1.1 with IIS7 on Vista and Windows 2008