mvcmovie sample 在window10 下的部署問題
使用VS2018配置好了mvcmovie sample,發佈到IIS後,打開報錯:
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
解決方案:
Click "Start button"
in the search box, enter "Turn windows features on or off"
in the features window, Click: "Internet Information Services"
Click: "World Wide Web Services"
Click: "Application Development Features"
Check (enable) the features. I checked all but CGI.
但是,我卻遇到了下列問題:
上面的問題解決方案:
https://www.cnblogs.com/adandelion/p/10333546.html
IIS裏選擇了“應用程序開發功能”後問題解決了,部署成功了: