1. C:\Users\Administrator\Documents\IISExpress\config\applicationhost.config中63行 将Deny改为Allow
(注意在Documents里面,不是Program Files)
2. 修改配置文件web.config 重启网站
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<asp enableParentPaths="true"/>
</system.webServer>
</configuration>