Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 4.x > Installation and deployment > Export Error View modes: 
User avatar
Member
Member
ruth-ivisual.co - 3/3/2009 6:19:08 PM
   
Export Error
Hi

I'm trying to export a site and each time I run the export I get the following error:

ERROR:Error commpressing package
Exception: Exception of type 'System.OutOfMemoryException' was thrown.
Stack trace: at CMS.CMSImportExport.ExportProvider.CompressEntry(ZipOutputStream outStream, String entryPath, String tmpPath, Crc32 crc)
at CMS.CMSImportExport.ExportProvider.CompressFolder(SiteExportSettings settings, ZipOutputStream outStream, String path, String tmpPath, Crc32 crc)
at CMS.CMSImportExport.ExportProvider.CompressFolder(SiteExportSettings settings, ZipOutputStream outStream, String path, String tmpPath, Crc32 crc)
at CMS.CMSImportExport.ExportProvider.CompressFolder(SiteExportSettings settings, ZipOutputStream outStream, String path, String tmpPath, Crc32 crc)
at CMS.CMSImportExport.ExportProvider.CompressFolder(SiteExportSettings settings, ZipOutputStream outStream, String path, String tmpPath, Crc32 crc)
at CMS.CMSImportExport.ExportProvider.CompressFolder(SiteExportSettings settings, ZipOutputStream outStream, String path, String tmpPath, Crc32 crc)
at CMS.CMSImportExport.ExportProvider.CompressFolder(SiteExportSettings settings, ZipOutputStream outStream, String path, String tmpPath, Crc32 crc)
at CMS.CMSImportExport.ExportProvider.CreateZipPackage(SiteExportSettings settings)

ERROR:Error exporting objects.
Exception: Exception of type 'System.OutOfMemoryException' was thrown.
Stack trace: at CMS.CMSImportExport.ExportProvider.CreateZipPackage(SiteExportSettings settings)
at CMS.CMSImportExport.ExportProvider.ExportObjectsData(SiteExportSettings settings)

I've tried stopping and restarting the site and this makes not difference.

I'm currently evaluating KenticoCMS and if I can't back up and move the sites easily when necessary then we won't be using it!

I'd be really grateful for any help.

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 3/4/2009 6:45:38 AM
   
RE:Export Error
Hello,

This error occurs usually when there isn't enough free memory.

1) What is the system configuration, you are developing on?
2) What version of Kentico are you using?
3) Could you please check if you have enough space on your disk?

You can move your site also by copying the web project and restoring manually the database from a backup.

I hope this helps.

Best Regards,
Boris Pocatko

User avatar
Member
Member
ruth-ivisual.co - 3/5/2009 4:06:39 AM
   
RE:Export Error
The site is hosted on a Fasthosts server. I'd previously exported the site 3 times and after getting this message I deleted those files. Also, I've only added a few images and bit of text so the site shouldn't be very big, about six pages.

To get round this I've ftp'd the files into a virtual directory on my hard disk and backed up the database but the local site is still connecting to the online database. When I change the connection string in web.config to look at the local database I get this error:

[DataConnection.ExecuteQuery]: Query: Proc_CMS_QueryProvider_SelectGeneration: caused exception: Could not find stored procedure 'Proc_CMS_QueryProvider_SelectGeneration'

Should I be able to change the database it's pointing to somewhere in the site manager?

Regards

Ruth

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/5/2009 8:36:24 AM
   
RE:Export Error
Hi,

Could you please check the DB owner?
By default is the owner set to "dbo" - you can see it as a prefix of the table and procedure names. It is possible that the hosting is using different owner. You will need to set this prefix in Site Manager -> Settings -> System -> DB objects owner.

Best Regards,
Juraj Ondrus

User avatar
Member
Member
ruth-ivisual.co - 3/5/2009 8:42:35 AM
   
RE:Export Error
Hi

The db owner is dbo in both the database and site manager.

Regards

Ruth

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/10/2009 9:38:09 AM
   
RE:Export Error
Hi,

I assume that the error is still present. Do you have appropriate permissions - your SQL server account to run stored procedures, create and modify tables?

If it is not too late, could you please check our hosting partners - http://www.kentico.com/Partners/Hosting-Partners.aspx?

Best Regards,
Juraj Ondrus

User avatar
Member
Member
ruth-ivisual.co - 3/10/2009 11:39:31 AM
   
RE:Export Error
Hi

The export error is intermittant, I have been able to get one export to work although it errors more often than not.

The problem with the local site was never resolved but I imported the successful export and so that got around that issue.

I have actually set up a domain with one of your hosting partners but I've just tried to import the same import that I used on my local machine and got a message saying that the import ran with minor errors, then followed by 39 pages of files that needed to be manually copied across.

I've asked the hosting company if they can sort the permissions out and am waiting to hear from them.

I will keep you posted.

Many thanks.

Regards

Ruth