若網站下還有子網站 
webconfig 會被根網站的 webconfig 繼承
想要擺脫這個方法 就要再根網站下的web.config 
設定這個 即可解決問題
不要將根目錄網站的設定繼承(Inherit)到子網站應用程式(Child Applications)。
<location path="." inheritInChildApplications="false">
    <system.web>
    </system.web>
</location>
文章標籤
全站熱搜
創作者介紹
創作者 Joe Joe 的頭像
Joe Joe

Joe Joe Chang

Joe Joe 發表在 痞客邦 留言(0) 人氣(443)