2010-07-07 67 views
1

我有一個.NET 3.5 Web應用程序,我試圖在本地開發環境中運行該應用程序。當我在Visual Studio 2010中打F5時出現「無法找到資源」

每次我按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應用程序運行非常好我們的生產服務器上,但我似乎無法讓它在我的本地開發盒上運行。

有關如何解決此問題的任何建議?

+0

我剛剛經歷過同樣的問題。這似乎是在生產力動力工具暫時停用後發生的。非常重視生產力。你有沒有找到任何決議? – ChiliYago 2011-04-09 17:01:38

回答

0

看起來它正在尋找本地的網絡服務器,因爲你的URL是/Default.aspx。您可能需要將其指向實際的服務器。

+0

但我只是試圖直接從本地機器上的Visual Studio運行它。 – flayto 2010-07-07 14:52:45

+0

另外,如果你的應用程序是.Net 3.5,你可能會遇到問題,因爲VS聲明它是2.0版本 – 2010-07-07 14:53:43

相關問題