Error during installation: Access to the path web.config is denied.
Hi all,
I'm trying to install a new site running on Umbraco 7.1.4 on Windows 2008, running .net 4.5.
I've uploaded all the files from the zip of 7.1.4, setup the database, and started the install. The database connection works however on step 2 of the install, I'm met with the following error:
Error during installation
Access to the path 'C:\HostingSpaces\yoyo\wwwroot\web.config' is denied.
See the log for full details (logs can typically be found in the App_Data\Logs folder).
The AppPool is .net 4.0 (integrated), using NetworkService as the identity, it's running full trust. It's all the default/basic config, nothing special at all.
I've checked permissions on the wwwroot folder and it all looks fine. It's running the same permissions as other wwwroot folders from other sites on the same server.
Can anyone tell me what I'm doing wrong or point me in the right direction?
The only way I've figured out to get around this to start with is to assign write permissions to the NetworkService identity for the web.config file. When I do that, the install works fine.
Error during installation: Access to the path web.config is denied.
Hi all,
I'm trying to install a new site running on Umbraco 7.1.4 on Windows 2008, running .net 4.5.
I've uploaded all the files from the zip of 7.1.4, setup the database, and started the install. The database connection works however on step 2 of the install, I'm met with the following error:
Error during installation
Access to the path 'C:\HostingSpaces\yoyo\wwwroot\web.config' is denied.
See the log for full details (logs can typically be found in the App_Data\Logs folder).
The AppPool is .net 4.0 (integrated), using NetworkService as the identity, it's running full trust. It's all the default/basic config, nothing special at all.
I've checked permissions on the wwwroot folder and it all looks fine. It's running the same permissions as other wwwroot folders from other sites on the same server.
Can anyone tell me what I'm doing wrong or point me in the right direction?
The only way I've figured out to get around this to start with is to assign write permissions to the NetworkService identity for the web.config file. When I do that, the install works fine.
Upon further investigation, it appears write permissions are required for most of the umbraco app! http://our.umbraco.org/wiki/reference/files-and-folders/permissions
Yep that will do it :). Are you using IIS or WebMatrix?
Charlie
It's all working fine now, thanks. It's just on IIS, I don't use webmatrix :)
is working on a reply...