Unable to start debugging on the web server.Could not start ASP.NET debugging




ASP.NET 4.5 has not been registered on the Web server. You need to manually configure your Web server for ASP.NET 4.5 in order for your site to run correctly.


當我作業系統換到Windows10,在我打開.NET 4.5發生的這兩個錯誤

我的作法是

1.打開控制台
2.選取程式集
3.選取程式與功能
4.你會看到一個開啟或關閉Windows功能的選項
5.點進去之後,找到IIS相關的(Internet Information Services)
6.展開之後看到World Wide Web服務展開他
7.找到ASP.NET4.7選擇他
8.按下確認,完成設定

如果你跟我的情況一樣,這樣或許可以解決問題,請參考:)

留言

這個網誌中的熱門文章

刪除大量資料造成Lock escalation鎖定升級 SQL Server

避免登出後,讀取快取返回上一頁。 How to prevent seeing previous page after logout?

SAP Connector for Microsoft .NET 3.0-------Cannot convert String into DATE/TIME