Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 6.x > Installation and deployment >  Access to the path 'C:\inetpub\wwwroot\KenticoCMS\CorporateSite\media\VideoGallery' is denied View modes: 
User avatar
Member
Member
dobrowolski.adrian86-gmail - 1/10/2012 2:05:38 AM
   
Access to the path 'C:\inetpub\wwwroot\KenticoCMS\CorporateSite\media\VideoGallery' is denied
While importing new site from template each time i have this error:

ERROR: Error importing 'Media libraries' objects (Video gallery)
Message: [MediaLibraryInfoProvider.SetMediaLibraryInfo]: Access to the path 'C:\inetpub\wwwroot\KenticoCMS\CorporateSite1\media\VideoGallery' is denied. Stack Trace: at CMS.MediaLibrary.MediaLibraryInfoProvider.SetMediaLibraryInfo(MediaLibraryInfo mediaLibrary)
at CMS.CMSImportExport.ImportProvider.SetObject(SiteImportSettings settings, GeneralizedInfo infoObj, GeneralizedInfo parentInfo, List`1 affectedObjects)
at CMS.CMSImportExport.ImportProvider.UpdateObject(SiteImportSettings settings, GeneralizedInfo infoObj, Boolean siteObject, DataSet ds, TranslationHelper th, Boolean updateChild, Int32 targetSiteId, ProcessObjectEnum process, Dictionary`2 importedParentIDs, List`1 postProcessList, List`1 affectedObjects, BaseInfo parentObject)
at CMS.CMSImportExport.ImportProvider.ImportObjects(SiteImportSettings settings, DataSet ds, String objectType, Boolean siteObjects, TranslationHelper th, Boolean importChild, ProcessObjectEnum processType, Dictionary`2 importedParentIDs)

ERROR: Error during import process
Message: [MediaLibraryInfoProvider.SetMediaLibraryInfo]: Access to the path 'C:\inetpub\wwwroot\KenticoCMS\CorporateSite1\media\VideoGallery' is denied. Stack Trace: at CMS.CMSImportExport.ImportProvider.ImportObjects(SiteImportSettings settings, DataSet ds, String objectType, Boolean siteObjects, TranslationHelper th, Boolean importChild, ProcessObjectEnum processType, Dictionary`2 importedParentIDs)
at CMS.CMSImportExport.ImportProvider.ImportObjectType(SiteImportSettings settings, String objectType, Boolean siteObject, TranslationHelper th, ProcessObjectEnum process, Dictionary`2 importedParentIDs)
at CMS.CMSImportExport.ImportProvider.ImportObjectsData(SiteImportSettings settings)

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 1/10/2012 2:39:09 AM
   
RE: Access to the path 'C:\inetpub\wwwroot\KenticoCMS\CorporateSite\media\VideoGallery' is denied
Hi,

Could you please check/set the disk permissions as described in the documentation?

Best regards,
Juraj Ondrus

User avatar
Member
Member
dobrowolski.adrian86-gmail - 1/10/2012 4:09:51 AM
   
RE: Access to the path 'C:\inetpub\wwwroot\KenticoCMS\CorporateSite\media\VideoGallery' is denied
I added permission to Read/Write for network service and now i have this error: ERROR: Error during import process
Message: Could not find a part of the path 'C:\inetpub\wwwroot\KenticoCMS\App_Data\CMSTemp\ImportExport\Files\'. Stack Trace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator`1.CommonInit()
at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler)
at System.IO.DirectoryInfo.InternalGetDirectories(String searchPattern, SearchOption searchOption)
at CMS.CMSStorage.DirectoryInfo.GetDirectories()
at CMS.IO.DirectoryHelper.CopyDirectoryInternal(String sourcePath, String targetPath)
at CMS.CMSImportExport.ImportProvider.CopyImportFiles(SiteImportSettings settings)
at CMS.CMSImportExport.ImportProvider.ImportObjectsData(SiteImportSettings settings)

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 1/10/2012 5:51:27 AM
   
RE: Access to the path 'C:\inetpub\wwwroot\KenticoCMS\CorporateSite\media\VideoGallery' is denied
Hi,

Could you please try to delete the "Files" folder from the location mentioned in the error? It seems that after the first import when it crashed they were not deleted correctly or are still locked by the process - so, restart of the application/application pool might be required too.

Best regards,
Juraj Ondrus

User avatar
Member
Member
JasonT - 4/26/2012 11:10:41 AM
   
RE: Access to the path 'C:\inetpub\wwwroot\KenticoCMS\CorporateSite\media\VideoGallery' is denied
Hi Juraj,

There is nothing in the CMSTemp folder for us to delete and we are getting that import error as well. It just started happening today out of the blue.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 4/27/2012 5:21:24 PM
   
RE: Access to the path 'C:\inetpub\wwwroot\KenticoCMS\CorporateSite\media\VideoGallery' is denied
Hi,

And what about the disk permissions? Have you checked them too?

Best regards,
Juraj Ondrus

User avatar
Member
Member
JasonT - 4/30/2012 8:49:02 AM
   
RE: Access to the path 'C:\inetpub\wwwroot\KenticoCMS\CorporateSite\media\VideoGallery' is denied
Permissions turned out to be the case. Looks like they got reverted overnight. Thanks!

User avatar
Member
Member
CC - 8/6/2012 5:52:14 PM
   
RE: Access to the path 'C:\inetpub\wwwroot\KenticoCMS\CorporateSite\media\VideoGallery' is denied
I got the same issue. Permissions were set correctly. I had to manually create the CMSTemp\ImportExport\Files folder for it to work.