1:发布时:
在 IIS 主页上 添加默认文档(main.htm)
2:在 Visual Studio 中 :
1): 打开 cmd 转到 C:Program FilesIIS Express 路径
2): 执行 : appcmd set config /section:system.webServer/directoryBrowse /enabled:true 命令
3:将启动32位应用程序 设置为true
文件访问 403
处理程序映射 ---> 编辑功能权限 ---> 读取、脚本