<p style="text-indent:2em;"><strong>问题:</strong>打开文章内容提示“应用程序中的服务器错误,如图</p> <p align="center"><img align="" alt="" src="$/History/tech/uploadfiles/2018/1/201801291656172674.png" style="border-width: 0px; border-style: solid; width: 800px; height: 390px;" /></p> <p style="text-indent:2em;"><strong>解决:</strong></p> <p style="text-indent:2em;">1、覆盖根目录与views目录下的web.config文件</p> <p style="text-indent:2em;">2、备份好网站文件替换 找同版本的默认安装包 替换Roslyn目录下文件</p>