1. 程式人生 > >釋出網站,報Access to the path is denied的解決辦法

釋出網站,報Access to the path is denied的解決辦法

錯誤:

Server Error in '/' Application.
--------------------------------------------------------------------------------

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: An error occurred loading a configuration file: Access to the path 'f:\pacms\web.config' is denied.

原因:
出現這個問題是因為web.config沒有修改許可權導致的

解決方法:
給網站目錄寫入許可權,目錄許可權配置請見下面的相關文件。