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)