2012-02-11 80 views
0

我根本不知道ASP.Net,我右鍵單擊視圖中的文件Index.cshtml,並且意外地選擇了「Set As Start Page」 現在,當我運行應用程序時(Ctrl + 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: /Views/Home/Index.cshtml 
+1

剛剛成立的原始頁面回是起始頁。 – ChrisF 2012-02-11 12:49:28

+0

我希望我知道如何。 – user1058272 2012-02-11 12:50:51

+1

右鍵單擊想要成爲起始頁面的html/aspx文件,然後再次選擇「設爲起始頁」。 – ChrisF 2012-02-11 12:52:52

回答