Installation and deployment
Version 7.x > Installation and deployment > Installation failed. Access to the path 'web.config' is denied. View modes: 
User avatar
Member
Member
dave-ssit.co - 10/23/2012 8:26:33 AM
   
Installation failed. Access to the path 'web.config' is denied.
When installing a v7 site via KIM it fails on Step 5 - Copy Files.

Installation failed.
Copying files failed
Installation failed.
Access to the path 'D:\inetpub\wwwroot\xxx\web.config' is denied.

yet...
App_Themes\PersonalSiteRed\Images\UniGrid
App_Themes\PersonalSiteRed\Images\MediaLibrary\Tabs
App_Themes\PersonalSiteRed\Images\MediaLibrary\Menu
App_Themes\PersonalSiteRed\Images\MediaLibrary\FrameResizer\Vertical
App_Themes\PersonalSiteRed\Images\MediaLibrary\FrameResizer\Horizontal
App_Themes\PersonalSiteRed\Images\MediaLibrary\FrameResizer
App_Themes\PersonalSiteRed\Images\MediaLibrary
App_Themes\PersonalSiteRed\Images\Forums
App_Themes\PersonalSiteRed\Images\Dialogs
App_Themes\PersonalSiteRed\Images\ContentRating
App_Themes\PersonalSiteRed\Images
App_Themes\PersonalSiteGreen\Images\UniGrid
App_Themes\PersonalSiteGreen\Images\MediaLibrary\Tabs
App_Themes\PersonalSiteGreen\Images\MediaLibrary\Menu
App_Themes\PersonalSiteGreen\Images\MediaLibrary\FrameResizer\Vertical
App_Themes\PersonalSiteGreen\Images\MediaLibrary\FrameResizer\Horizontal
App_Themes\PersonalSiteGreen\Images\MediaLibrary\FrameResizer
App_Themes\PersonalSiteGreen\Images\MediaLibrary
App_Themes\PersonalSiteGreen\Images\Forums
App_Themes\PersonalSiteGreen\Images\Dialogs
App_Themes\PersonalSiteGreen\Images\ContentRating
App_Themes\PersonalSiteGreen\Images
App_Themes\PersonalSiteBlue\Images\UniGrid
App_Themes\PersonalSiteBlue\Images\MediaLibrary\Tabs
App_Themes\PersonalSiteBlue\Images\MediaLibrary\Menu
App_Themes\PersonalSiteBlue\Images\MediaLibrary\FrameResizer\Vertical
App_Themes\PersonalSiteBlue\Images\MediaLibrary\FrameResizer\Horizontal
App_Themes\PersonalSiteBlue\Images\MediaLibrary\FrameResizer
App_Themes\PersonalSiteBlue\Images\MediaLibrary
App_Themes\PersonalSiteBlue\Images\Forums
App_Themes\PersonalSiteBlue\Images\Dialogs
App_Themes\PersonalSiteBlue\Images\ContentRating
App_Themes\PersonalSiteBlue\Images
App_Themes\PersonalSite\Images\UniGrid
App_Themes\PersonalSite\Images\MediaLibrary\Tabs
App_Themes\PersonalSite\Images\MediaLibrary\Menu
App_Themes\PersonalSite\Images\MediaLibrary\FrameResizer\Vertical
App_Themes\PersonalSite\Images\MediaLibrary\FrameResizer\Horizontal
App_Themes\PersonalSite\Images\MediaLibrary\FrameResizer
App_Themes\PersonalSite\Images\MediaLibrary
App_Themes\PersonalSite\Images\Forums
App_Themes\PersonalSite\Images\Dialogs
App_Themes\PersonalSite\Images\ContentRating
App_Themes\PersonalSite\Images
App_Themes\IntranetPortalRed\Images\WebpartProperties
App_Themes\IntranetPortalRed\Images\UniGrid
App_Themes\IntranetPortalRed\Images\MediaLibrary\Tabs
App_Themes\IntranetPortalRed\Images\MediaLibrary\FrameResizer\Vertical
App_Themes\IntranetPortalRed\Images\MediaLibrary\FrameResizer\Horizontal
App_Themes\IntranetPortalRed\Images\MediaLibrary\FrameResizer
App_Themes\IntranetPortalRed\Images\MediaLibrary
App_Themes\IntranetPortalRed\Images\DocumentLibrary
App_Themes\IntranetPortalRed\Images\Dialogs
App_Themes\IntranetPortalRed\Images
App_Themes\IntranetPortalRed\ContentRating
App_Themes\IntranetPortalGreen\Images\WebpartProperties
App_Themes\IntranetPortalGreen\Images\UniGrid
App_Themes\IntranetPortalGreen\Images\MediaLibrary\Tabs
App_Themes\IntranetPortalGreen\Images\MediaLibrary\FrameResizer\Vertical
App_Themes\IntranetPortalGreen\Images\MediaLibrary\FrameResizer\Horizontal
App_Themes\IntranetPortalGreen\Images\MediaLibrary\FrameResizer
App_Themes\IntranetPortalGreen\Images\MediaLibrary
App_Themes\IntranetPortalGreen\Images\DocumentLibrary
App_Themes\IntranetPortalGreen\Images\Dialogs
App_Themes\IntranetPortalGreen\Images\ContentRating
App_Themes\IntranetPortalGreen\Images
App_Themes\IntranetPortal\Images\WebpartProperties
App_Themes\IntranetPortal\Images\UniGrid
App_Themes\IntranetPortal\Images\MediaLibrary\Tabs
App_Themes\IntranetPortal\Images\MediaLibrary\Menu
App_Themes\IntranetPortal\Images\MediaLibrary\FrameResizer\Vertical
App_Themes\IntranetPortal\Images\MediaLibrary\FrameResizer\Horizontal
App_Themes\IntranetPortal\Images\MediaLibrary\FrameResizer
App_Themes\IntranetPortal\Images\MediaLibrary
App_Themes\IntranetPortal\Images\Forums
App_Themes\IntranetPortal\Images\DocumentLibrary
App_Themes\IntranetPortal\Images\Dialogs
App_Themes\IntranetPortal\Images\ContentRating
App_Themes\IntranetPortal\Images
IntranetPortal\media\Microsoft_Office_Upgrade\Microsoft Office graphics
IntranetPortal\media\Microsoft_Office_Upgrade
IntranetPortal\media\Media\Trees for Bugs
IntranetPortal\media\Media\Team Building Trip
IntranetPortal\media\Media
IntranetPortal\media\IT\IT-related graphics
IntranetPortal\media\IT
App_Themes\EcommerceSite\Images\ShoppingCart
App_Themes\EcommerceSite\Images\Ecommerce
App_Themes\EcommerceSite\Images\ContentRating
App_Themes\EcommerceSite\Images
App_Themes\EcommerceSite\Chat
EcommerceSite\media\PTSansFont
EcommerceSite\media\HeadlineBannerImages\__thumbnails
EcommerceSite\media\HeadlineBannerImages
App_Themes\CorporateSite\Images\WebpartProperties
App_Themes\CorporateSite\Images\ShoppingCart
App_Themes\CorporateSite\Images\Mobile
App_Themes\CorporateSite\Images\MediaLibrary\Tabs
App_Themes\CorporateSite\Images\MediaLibrary\Menu
App_Themes\CorporateSite\Images\MediaLibrary\FrameResizer\Vertical
App_Themes\CorporateSite\Images\MediaLibrary\FrameResizer\Horizontal
App_Themes\CorporateSite\Images\MediaLibrary\FrameResizer
App_Themes\CorporateSite\Images\MediaLibrary
App_Themes\CorporateSite\Images\Forums
App_Themes\CorporateSite\Images\DocumentLibrary
App_Themes\CorporateSite\Images\Dialogs
App_Themes\CorporateSite\Images\ContentRating

etc get copied fine.

All files in the root folder dont get created? - All folder do though.

I have installed 2 sites via KIM and both didn't give an error and installed fine.

File permissions are the same across all 3 sites.

Is this just another "quirk" of Kentico?

Regards


User avatar
Member
Member
dave-ssit.co - 10/23/2012 9:59:24 AM
   
RE:Installation failed. Access to the path 'web.config' is denied.
Update.
I can update the web.config file in notepad and save the file without problem under the same user account.

User avatar
Member
Member
dave-ssit.co - 10/23/2012 10:00:16 AM
   
RE:Installation failed. Access to the path 'web.config' is denied.
Another update
All the files in the root folder are set to hidden?

User avatar
Member
Member
kentico_edwardh - 10/23/2012 4:30:41 PM
   
RE:Installation failed. Access to the path 'web.config' is denied.
Hello,

Well it would be odd that the web.config file has different permissions than the previously installed files, but you could double check the permissions on this file to make sure. The access denied error may have also been a result of the file being open by another process, so Kentico was not able to modify the file at the time.

As far as files being hidden, this is more to do with the Windows file system settings in Properties --> Attributes.

Best Regards,
Edward Hillard