设为首页 收藏本站
查看: 759|回复: 0

[经验分享] How to install ASP.NET 1.1 with IIS7 on Vista and Windows 2008

[复制链接]

尚未签到

发表于 2015-11-3 12:44:51 | 显示全部楼层 |阅读模式
Overview
  ASP.NET 2.0 (3.0 and 3.5) are easy to install with Windows Vista and Windows 2008 - just install the ASP.NET component located under IIS->Word Wide Web Services->Application Development Features.  You can find this set of components in Windows 2008 by clicking Start, and click Server Manager.  Expand the left-hand treeview in Server Manager and click Manage Roles, and then Web Server (IIS).  In the right-hand pane look for an option that says Add Role Services.  If you're on Windows Vista, click Start, click Control Panel,click Programs, and then Windows Features.  Look for the following tree of features under Internet Information Services (IIS):
http://blogs.iis.net/blogs/bills/WindowsLiveWriter/InstallingASP.NET1.1withIIS7_EC87/image_thumb_1.png
  ASP.NET 1.1 is not included in Windows Vista or Windows 2008 and must be downloaded and installed manually.  This post shows you how:

Step 1: Install "IIS Metabase Compatibility"
  The IIS7 "Metabase compatibility" component is required to successfully install ASP.NET 1.1.  
  To install it on Windows 2008 Server, click Start, and click Server Manager.  Expand the left-hand treeview in Server Manager and click Manage Roles, and then Web Server (IIS).  In the right-hand pane look for an option that says Add Role Services.  This takes you to wizard where you can install "IIS Metabase Compatibility".  
http://blogs.iis.net/blogs/bills/WindowsLiveWriter/InstallingASP.NET1.1withIIS7_EC87/enableASPNET11_clip_image006_thumb.jpg
  If you're on Windows Vista, click Start, click Control Panel,click Programs, and then Windows Features.  Look for Internet Information Services (IIS) and install "IIS Metabase Compatibility".

Step 2: Install the .NET Framework v1.1 and .NET Framework v1.1 SP1
  Install Framework v1.1, SP1, and ASP.NET's security update to SP1:


  • .NET Framework Version 1.1 Redistributable Package
  • .NET Framework Version 1.1 Service Pack 1
  • ASP.NET Security Update for .NET Framework 1.1 SP1
  When you install .NET Framework Version 1.1, and SP1 for .NET Framework Version 1.1, you'll see the following dialog.  Click Run program.   
http://blogs.iis.net/blogs/bills/WindowsLiveWriter/InstallingASP.NET1.1withIIS7_EC87/enableASPNET11_clip_image002_thumb.jpg
  note: If you do not install Framework v1.1 SP1, you may run into Data Execution Prevention errors with messages like "IIS Worker Process has stopped working".  This is expected.  Installing .NET Framework v1.1 SP1 will fix this.
http://blogs.iis.net/blogs/bills/WindowsLiveWriter/InstallingASP.NET1.1withIIS7_EC87/enableASPNET11_clip_image004_thumb.jpg



Step 3: Enable ASP.NET v1.1 ISAPI Extension
  Enable ASP.NET v1.1 ISAPI as an allowed ISAPI extension.  To do this, open "IIS Manager" administration tool.  In the features view, click on the "ISAPI and CGI Restrictions" feature.  In the actions pane, click "add"
  Extension: C:/Windows/Microsoft.NET/Framework/v1.1.4322/aspnet_isapi.dll
note: change drive if your system drive is not C:/
Description: ASP.NET v1.1
http://blogs.iis.net/blogs/bills/WindowsLiveWriter/InstallingASP.NET1.1withIIS7_EC87/image_thumb.png
  You can also do by running the following command line:

%windir%/Microsoft.NET/Framework/v1.1.4322/aspnet_regiis -enable


Step 4: Add IgnoreSection Handler to v1.1 machine.config
  ASP.NET v1.1 will throw runtime exceptions out of the box if you have IIS configuration in the web.config files that are read by your ASP.NET v1.1 applications.  To make ASP.NET v1.1 ignore IIS configuration sections, open the Framework v1.1 machine.config file (%windir%/Microsoft.NET/Framework/v1.1.4322/config/machine.config) and add the following section entry just above the bottom tag for the <configSections> element:
  <section name="system.webServer" type="System.Configuration.IgnoreSectionHandler,
    System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</configSections>



Step 5: Move Site or Application to ASP.NET 1.1 Application Pool
  During installation, Framework v1.1 creates an application pool called "ASP.NET 1.1" that is configured to load Framework v1.1 upon startup.  To move your site or application into this application pool using IIS Manager, please see our online documentation. You can also do this from the command line by navigating to the %windir%/system32/inetsrv directory and running the following command line:

appcmd set app "Default Web Site/" /applicationPool:"ASP.NET 1.1"

  If you would like to create a new application pool that's configured to load Framework v1.1, please see our online documentation for creating an application pool.  You can also do this from the command line by navigating to the %windir%/system32/inetsrv directory and running the following command line:

appcmd add apppool /name:"NewPool"  /managedRuntimeVersion:"v1.1"
http://blogs.iis.net/bills/archive/2008/06/02/installing-asp-net-1-1-with-iis7-on-vista-and-windows-2008.aspx

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.iyunv.com/thread-134529-1-1.html 上篇帖子: Windows 2008 开启80端口实现外网访问网站 下篇帖子: windows server 2008 部署NLB
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表