Installation and deployment
Version 3.x > Installation and deployment > error exporting site from my dev machine View modes: 
User avatar
Member
Member
mark_b_mandel-yahoo.co - 1/22/2009 1:49:23 AM
   
error exporting site from my dev machine
Hi, I'm trying to export a site from my dev machine

i get the following error ?

Application has been restarted and the logging of the export process has been terminated. Please make sure that the export package has been created.

and there is no zip file created in the export folder.

Any ideas ? thanks !

User avatar
Member
Member
mark_b_mandel-yahoo.co - 1/22/2009 2:06:17 AM
   
RE:error exporting site from my dev machine
i tried to export only items that i knew had changed rather than all objects and the export worked.


But when i try to import a package containing only 1 Bizfrom i received the following error

ERROR: Error copying folder 'C:\Sites\Single41\handmadedigital\webroot\App_Data\CMSTemp\ImportExport\Data\Files\Site\##SITENAME##\' to the destination folder 'C:\Sites\Single41\handmadedigital\webroot\HandmadeDigital\'.
Exception: Access to the path 'C:\Sites\Single41\handmadedigital\webroot\HandmadeDigital' is denied.
Stack trace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity)
at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)
at CMS.DirectoryProviderDotNet.DirectoryProvider.CreateDirectory(String path)
at CMS.DirectoryUtilities.DirectoryHelper.EnsureDiskPath(String path, String startingPath)
at CMS.CMSImportExport.ImportProvider.CopyImportFiles(SiteImportSettings settings)

its a permissons issue - does anyone know exactly which role and permission i should ask my ISP to grant please ?


User avatar
Kentico Support
Kentico Support
kentico_jurajo - 1/22/2009 6:20:27 AM
   
RE:error exporting site from my dev machine
Hi,

regarding the first post - it seems that there was a change in the App_Code folder which leads to the restart. Have you modified something during the export?

The second issue is related to the disk write permissions - http://www.kentico.com/docs/devguide/disk_permissions_problems.htm

Best Regards,
Juraj Ondrus

User avatar
Member
Member
Mei - 3/30/2010 5:31:45 AM
   
RE:error exporting site from my dev machine
I have created a method in the App-Code which i cannot do without. So is there a way to keep this method and in the app-code and export the site please?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/30/2010 7:28:15 AM
   
RE:error exporting site from my dev machine
Hi Mei,

If you have followed the export/import folder structure, there should not be a problem.

The only problem I can think of is that you are using hosting provider - and probably during export of the site, some if the limits are exceeded - CPU or memory usage and the application is recycled by the system. So, it does not seem to be the problem in your code in App_Code folder. Could you please check the limits set by the provider?

Best Regards,
Juraj Ondrus