Asp.net在Visual Studio .NET中2003 Web组件的问题 [英] Asp.net on visual studio .net 2003 web component Issues

查看:363
本文介绍了Asp.net在Visual Studio .NET中2003 Web组件的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在VS 2003运行ASP.NET,但它提出了它说的错误:


  

Visual Studio中检测到Web服务器正在运行asp.net版本
  1.0.The Web应用程序所创建或打开可以配置为使用asp.net 1.0符合规定。然而,Web应用程序将
  不能够使用新的功能从asp.net 1.1。


当我选择的选项的使应用程序兼容asp.net 1.0 的,那么它​​是无法设置符合话说


  

的Visual Studio.NET无法创建或打开应用程序。该
  有可能的问题是,需要的组件不上安装
  本地网络服务器。运行Visual Studio.NET安装程序并添加网络
  发展组成部分。



解决方案

看来你正在运行的的Visual Studio 2003在Vista ,这是不支持的。


  1. 默认情况下,Vista不包含的.NET Framework 1.1 SP1 。先安装它。确保在安装SP1。如果你看看属性 C:\\ WINDOWS \\ Microsoft.NET \\框架\\ V1.1.4322 \\ mscorsvr.dll 的,你应该得到的版本1.1.4322.2032

  2. 启用IIS 6兼容性控制面板 - >程序和功能 - >打开或关闭Windows功能。检查 IIS 6管理兼容性的下的 Internet信息Servces 的。

  3. :\\ WINDOWS \\ MIcrosoft.net \\框架\\ V1.1.4322 \\ ASPNET_REGIIS.EXE -ir *。* C
  4. 运行.NET注册1.1 IIS 。这将创建有针对性的框架1.1在IIS7经典管道,并设置Enable32BitAppOnWin64属性为true 64位操作系统的应用程序池。

  5. 允许ASP.NET 1.1 IIS7。打开IIS管理器,然后单击左侧树中的计算机名称。在主窗口中选中的 ISAPI和CGI限制的,并确保ASP.NET V1.1.4322已启用。如果没有,请选中它,然后点击允许在右侧的链接。

  6. 当您在运行.NET 1.1或更低,总是选择应用程序池是针对框架1.1 任意目录下创建一个应用程序。对于已经配置的应用程序,您必须手动更改。

I want to run ASP.NET on VS 2003 but it raises an error which says:

"Visual studio has detected that web server is running asp.net version 1.0.The web application you are creating or opening can be configured to be compliant with asp.net 1.0. However, the web application will not be able to use the new features from asp.net 1.1."

When I choose the option "Make the application compliant with asp.net 1.0", then it is unable to set the compliance saying

"Visual Studio.NET cannot create or open the application. The likeliest problem is that required components are not installed on the local web server. Run Visual Studio.NET setup and add the web development component."

解决方案

It seems that you are running Visual Studio 2003 on Vista, which is not supported.

  1. By default, Vista does not include .NET Framework 1.1 SP1. Install it first. Make sure that SP1 is installed. If you look into properties of "c:\Windows\Microsoft.NET\Framework\v1.1.4322\mscorsvr.dll", you should get the version 1.1.4322.2032.
  2. Enable IIS 6 Compatibility in Control Panel -> Program and Features -> Turn Windows features on or off. Check "IIS 6 Management Compatibility" under "Internet Information Servces".
  3. Register .NET 1.1 with IIS by running "*c:\Windows\MIcrosoft.net\Framework\v1.1.4322\aspnet_regiis.exe -ir*". It will create the Application Pool targeted to Framework 1.1 with Classic pipeline in IIS7 and set Enable32BitAppOnWin64 property to true on 64bit OS.
  4. Allow ASP.NET 1.1 in IIS7. Open the IIS Manager and click on the computer name in left tree. In main window select "ISAPI and CGI Restrictions" and make sure that ASP.NET v1.1.4322 is enabled. If not, select it and click Allow link on right side.
  5. When you create an application on any directory that runs .NET 1.1 or lower, always select Application Pool that is targeted to Framework 1.1. For already configured applications, you have to change it manually.

这篇关于Asp.net在Visual Studio .NET中2003 Web组件的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆