无法打开Web项目 [英] Unable to open Web project

查看:62
本文介绍了无法打开Web项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试使用Microsoft Visual Studio 2003打开一个Web项目时,我得到了以下错误消息(这发生在内部的几台机器上,

而其余的工作没有错误):


''无法打开Web项目''Application1''。服务器错误:没有web

命名为/ Application1。''


我删除了然后配置了Front Page Server Extensions,删除了

创建了默认网站的应用程序,并运行了

Recalculate Web。和检查服务器扩展和检查服务器扩展。在IIS中为默认Web

站点。


卸载IIS,安装IIS,然后运行aspnet_regiis -i修复了

问题,但是内部有太多的开发者机器存在这个问题,并且所有这些都很乏味......特别是因为它没有重新启动没有b $ b我们能够重现它是如何发生的,以便

防止它发生。


有没有人知道如何防止这种情况发生?如何在没有卸载和重新安装IIS和ASP.Net的情况下修复问题




提前致谢,

Mythran

When I try to open a web project using Microsoft Visual Studio 2003, I get
the following error message (this happens on a couple of machines in-house,
while on the rest it works without the error):

''Unable to open Web project ''Application1''. Server error: There is no web
named "/Application1".''

I have removed and then configured Front Page Server Extensions, removed and
created the Application for the Default Web Site, as well as ran
"Recalculate Web" and "Check Server Extensions" in IIS for the Default Web
Site.

Uninstalling IIS, Installing IIS, then running aspnet_regiis -i fixes the
problem, but there are too many developer machines in-house that have this
problem and going through all of this is tedious...especially since it has
re-ocurred without us being able to reproduce how it happens in order to
prevent it from happening.

Does anyone have any idea how to prevent this? How about fixing the problem
without all of the uninstalling and reinstalling of IIS and ASP.Net?

Thanks in advance,
Mythran

推荐答案

Application1是根目录下的虚拟目录,指定

为网站上的开发人员的PC?


默认情况下,ASP.NET试图在虚拟目录下运行所有​​开发工作。


我的猜测如果这没有解决问题,在安装IIS之前安装了VS.NET 2003

。因此,您所采取的安装步骤应该可以解决问题。


-

2004和2005 Microsoft MVP C#

Robbe Morris
http://www.masterado.net


赚取
Is Application1 a virtual directory under the root designated
for the web site on the developer''s PC?

By default, ASP.NET trys to make all of your development
apps run under virtual directories.

My guess if this doesn''t fix the problem, VS.NET 2003
was installed prior to installing IIS. Thus, the install
steps you took should fix the problem.

--
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.masterado.net

Earn


钱回答.NET Framework

EggHeadCafe.com上的留言板帖子。
< a rel =nofollowhref =http://www.eggheadcafe.com/forums/merit.asptarget =_ blank> http://www.eggheadcafe.com/forums/merit.asp


" Mythran" <き******** @ hotmail.comREMOVETRAIL>在消息中写道

新闻:OZ **************** @ TK2MSFTNGP12.phx.gbl ...
money answering .NET Framework
messageboard posts at EggHeadCafe.com.
http://www.eggheadcafe.com/forums/merit.asp

"Mythran" <ki********@hotmail.comREMOVETRAIL> wrote in message
news:OZ****************@TK2MSFTNGP12.phx.gbl...
当我尝试使用Microsoft Visual Studio 2003打开一个Web项目,我收到以下错误消息(这发生在内部的几台机器上,而其余的工作没有错误):

''无法打开Web项目''Application1''。服务器错误:没有名为/ Application1的web
。''

我删除了然后配置了Front Page Server Extensions,删除了
并创建了应用程序默认网站,以及运行
重新计算网络和检查服务器扩展和检查服务器扩展。在IIS中为默认Web站点。

卸载IIS,安装IIS,然后运行aspnet_regiis -i修复了
问题,但内部有太多的开发人员机器有这个问题并且经历所有这些都是乏味的...特别是因为它已经重新发生,而我们无法重现它是如何发生的,以防止它发生。

有谁知道如何防止这种情况?如果没有卸载和重新安装IIS和
ASP.Net,如何解决问题?

提前致谢,
Mythran
When I try to open a web project using Microsoft Visual Studio 2003, I get
the following error message (this happens on a couple of machines
in-house, while on the rest it works without the error):

''Unable to open Web project ''Application1''. Server error: There is no web
named "/Application1".''

I have removed and then configured Front Page Server Extensions, removed
and created the Application for the Default Web Site, as well as ran
"Recalculate Web" and "Check Server Extensions" in IIS for the Default Web
Site.

Uninstalling IIS, Installing IIS, then running aspnet_regiis -i fixes the
problem, but there are too many developer machines in-house that have this
problem and going through all of this is tedious...especially since it has
re-ocurred without us being able to reproduce how it happens in order to
prevent it from happening.

Does anyone have any idea how to prevent this? How about fixing the
problem without all of the uninstalling and reinstalling of IIS and
ASP.Net?

Thanks in advance,
Mythran





" Robbe Morris [C#MVP]" <在** @ eggheadcafe.com>在消息中写道

news:e0 **************** @ TK2MSFTNGP09.phx.gbl ...

"Robbe Morris [C# MVP]" <in**@eggheadcafe.com> wrote in message
news:e0****************@TK2MSFTNGP09.phx.gbl...
Application1 a在开发人员的PC上为网站指定的根目录下的虚拟目录?

默认情况下,ASP.NET试图使你的所有开发应用程序在虚拟目录。

我猜如果这不能解决问题,VS.NET 2003
是在安装IIS之前安装的。因此,您采取的安装步骤应该可以解决问题。

- 2004年和2005年Microsoft MVP C#
Robbe Morris
http://www.masterado.net

赚取
Is Application1 a virtual directory under the root designated
for the web site on the developer''s PC?

By default, ASP.NET trys to make all of your development
apps run under virtual directories.

My guess if this doesn''t fix the problem, VS.NET 2003
was installed prior to installing IIS. Thus, the install
steps you took should fix the problem.

--
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.masterado.net

Earn


这篇关于无法打开Web项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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