因此,先來看一下背景:我重新檢查了我的SVN存儲庫到一個新的位置,並試圖從那裏運行應用程序。現在Visual Studio在使用本地IIS Web服務器啓動我的MVC應用程序時遇到問題。 我目前正在此錯誤:IIS試圖訪問錯誤的web.config
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information: Module IIS Web Core Notification Unknown Handler Not yet determined Error Code 0x80070003 Config Error Cannot read configuration file Config File \?\C:\RND\app\web.config Requested URL https: //localhost:44304/app Physical Path
Logon Method Not yet determined Logon User Not yet determined Request Tracing Dir
而問題是,配置文件根本不存在C:\ RND \程序\ web.config中它現在位於c:\ RND \ appTest \ WEB的.config。
有什麼辦法可以在Visual Studio中更新它?
這就好像它已將舊路徑保存在某個地方而不會自動更新它。
您可能想檢查您的系統路徑以查看路徑是否添加到那裏。我還建議關閉你的環境並重新加載它,以防你保存了一個緩存副本。 – 2013-02-22 00:09:18