這個幾乎是每一次架設新的application時一定會遇到的
錯誤:
第一個錯誤就是
這個通常是因為這個folder的permission有問題的緣故. IIS管理員內, 右鍵點這個application, Edit Permission..., 在Securty的那個tab, 確認 本機的IIS_IUSRS有權限.
第二個錯誤是
HTTP Error 401.3 - Unauthorized: Access is denied due to an ACL set on the requested resource.
這個是因為目前執行的user (typically anonymous user)的設定不正確的緣故.
從IIS管理員內找到 "Authentication", 打開後裡面應該會有一個 "Anonymous Authentication", 這個的狀態應該是Enabled, 同時右鍵點選, 選擇Edit..., 把Anonymous user identity 改成 "Application pool identity".