We have both kentico 4 and kentico 7 sites. We are trying to move our kentico 4 sites to a new server. We have the code deployed on the new server, but we receive an exception when trying to get site info (exception stack trace below).
What can i do to track down what is missing or mis-configured?
The code works on my development machine, which is hitting the same database as the server throwing the error. I've tried debugging as far into the code as possible, and logged all details i can of the exception, but i can't determine what is missing or misconfigured on the new server.
At it's simplest, i'm just calling:
SiteInfoProvider.GetSiteInfo("enzy");
and it will throw the exception, so something on the new server must be missing. But I need help trying to figure out what.
System.Exception: [Query.QueryClassName]: Query class not found.
at CMS.SettingsProvider.Query.get_QueryClassName()
at CMS.SettingsProvider.QueryProvider.LoadGenerationReader(Int32 generation, IDataConnection conn)
at CMS.SettingsProvider.ProviderDictionaryCollection.LoadGeneration(Int32 generation, IDataConnection conn)
at CMS.SettingsProvider.ProviderDictionaryCollection.LoadDefaultItems(IDataConnection conn) at CMS.SettingsProvider.QueryProvider.GetQuery(String queryName, IDataConnection conn, Boolean throwException)
at CMS.SettingsProvider.SqlHelperClass.ExecuteQuery(String queryName, Object[,] parameters, String columns, String where, String orderBy, Int32 topN, IDataConnection conn)
at CMS.SettingsProvider.AbstractProvider.GetModifiedFrom(DateTime from, String columns, String where, String orderBy, Int32 topN, Boolean binaryData, IDataConnection conn)
at CMS.SettingsProvider.AbstractProvider.GetData(String columns, String where, String orderBy, Int32 topN, IDataConnection conn)
at CMS.SiteProvider.SiteInfoProvider.GetSitesInternal(String where, String orderBy, GeneralConnection conn)
at CMS.SiteProvider.SiteInfoProvider.LoadSites()
at CMS.SiteProvider.SiteInfoProvider.GetSiteInfoInternal(String siteName, GeneralConnection conn)
at CMS.SiteProvider.SiteInfoProvider.GetSiteInfo(String siteName)