当我在Visual Studio 2010中点击F5时“无法找到资源”

时间:2010-07-07 14:46:32

标签: visual-studio-2010 server-error

我有一个.NET 3.5 Web应用程序,我试图在我的本地开发环境中运行。

每次按F5运行应用程序时,都会出现以下错误:

Server Error in '/' Application.

The resource cannot be found.

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested URL: /Default.aspx

Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3614

我正在运行Visual Studio 2010.这个Web应用程序在我们的生产服务器上运行得很好,但我似乎无法在我的本地开发盒上运行它。

有关如何解决此问题的任何建议吗?

1 个答案:

答案 0 :(得分:0)

看起来它正在寻找本地Web服务器,因为您的URL是/Default.aspx。您可能需要将其指向实际的服务器。