解決方法:
1,根據提示,在web.config中添加如下配置:
<?xml version="1.0" encoding="utf-8"?><!-- 有關如何配置 asp.net 應用程序的詳細信息,請訪問 http://go.microsoft.com/fwlink/?LinkId=169433 --><configuration> <system.web> <compilation debug="true" targetFramework="4.5" /> <httPRuntime targetFramework="4.5" /> </system.web> <system.webServer> <directoryBrowse enabled="true"/> </system.webServer></configuration>
2,IIS中啟用目錄瀏覽: 制面板 - 管理工具 - Internet 信息服務(IIS)管理器 - 目錄瀏覽 選擇啟用,如圖:

錯誤提示頁面:

|
新聞熱點
疑難解答