Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 4.x > Installation and deployment > Exporting Issue View modes: 
User avatar
Member
Member
chrisjroyce-googlemail - 1/27/2012 6:48:55 AM
   
Exporting Issue
Hello there!

I'm having issues running an export from a Kentico installation I have inherited (Version: 4.0 Build: 4.0.3328).

I cannot perform an export on documents for some reason.

Below is the error I see, is this something I can fix from the UI? or has something behind the scenes gone wrong that I need to fix?

Any pointers would be very helpful!


ERROR:Error getting 'Documents' data
Exception: [GeneralConnection.RunQuery]: Query 'custom.queries.selectdocuments' not found.
Stack trace: at CMS.DataEngine.GeneralConnection.RunQuery(String queryName, Object[,] parameters, String where, String orderBy, Int32 topN, String columns)
at CMS.DataEngine.GeneralConnection.ExecuteQuery(String queryName, Object[,] parameters, String where, String orderBy, Int32 topN)
at CMS.TreeEngine.TreeProvider.SelectNodes(String siteName, String aliasPath, String cultureCode, Boolean combineWithDefaultCulture, String classNames, String where, String orderBy, Int32 maxRelativeLevel, Boolean selectOnlyPublished, Int32 topN)
at CMS.TreeEngine.TreeProvider.SelectNodes(String siteName, String aliasPath, String cultureCode, Boolean combineWithDefaultCulture, String classNames, String where, String orderBy, Int32 maxRelativeLevel, Boolean selectOnlyPublished)
at CMS.CMSImportExport.ExportProvider.GetExportData(SiteExportSettings settings, String where, String objectType, Boolean childData, TranslationHelper th)
at CMS.CMSImportExport.ExportProvider.GetExportData(SiteExportSettings settings, String objectType, Boolean siteObjects, Boolean childData, TranslationHelper th)

ERROR:Error exporting documents
Exception: [GeneralConnection.RunQuery]: Query 'custom.queries.selectdocuments' not found.
Stack trace: at CMS.CMSImportExport.ExportProvider.GetExportData(SiteExportSettings settings, String objectType, Boolean siteObjects, Boolean childData, TranslationHelper th)
at CMS.CMSImportExport.ExportProvider.ExportDocumentsData(SiteExportSettings settings, TranslationHelper th)

ERROR:Error exporting objects.
Exception: [GeneralConnection.RunQuery]: Query 'custom.queries.selectdocuments' not found.
Stack trace: at CMS.CMSImportExport.ExportProvider.ExportDocumentsData(SiteExportSettings settings, TranslationHelper th)
at CMS.CMSImportExport.ExportProvider.ExportObjectsData(SiteExportSettings settings)

User avatar
Kentico Support
Kentico Support
kentico_radekm - 2/4/2012 3:02:21 PM
   
RE:Exporting Issue
Hello.

Could you please navigate to Site Manager / Development / Document types and look for any document type which code-name (className) is "custom?" Is there any like that?

Best Regards,
Radek Macalik