I see this invalid column name error repeated over and over in the WatchDog log. I’m not sure if it is related but it does reference checking for upgrades. I confirmed that this column does not exist in the referenced view.
2025-02-13 08:57:55.4330,27,Error,WBX.whiteOPS.DAO.NHibernate.GenericDAO`2.findByConditions - Caught Exception: NHibernate.Exceptions.GenericADOException: could not execute query
[ SELECT this_.id as y0_, this_.name as y1_, this_.source_version as y2_, this_.version as y3_, this_.guid as y4_, this_.upgrade_package_name as y5_, this_.upgrade_type_id as y6_, this_.start_timestamp as y7_, this_.upgrade_id as y8_, this_.file_id as y9_, this_.upgrade_package_type_id as y10_ FROM upgrade_component_view this_ ]
[SQL: SELECT this_.id as y0_, this_.name as y1_, this_.source_version as y2_, this_.version as y3_, this_.guid as y4_, this_.upgrade_package_name as y5_, this_.upgrade_type_id as y6_, this_.start_timestamp as y7_, this_.upgrade_id as y8_, this_.file_id as y9_, this_.upgrade_package_type_id as y10_ FROM upgrade_component_view this_]
---> System.Data.SqlClient.SqlException (0x80131904): Invalid column name ‘upgrade_package_type_id’.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
at NHibernate.AdoNet.AbstractBatcher.DoExecuteReader(DbCommand cmd)
at NHibernate.AdoNet.AbstractBatcher.ExecuteReader(DbCommand cmd)
at NHibernate.Loader.Loader.GetResultSet(DbCommand st, QueryParameters queryParameters, ISessionImplementor session, IResultTransformer forcedResultTransformer)
at NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies, IResultTransformer forcedResultTransformer, QueryCacheResultBuilder queryCacheResultBuilder)
at NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies, IResultTransformer forcedResultTransformer, QueryCacheResultBuilder queryCacheResultBuilder)
at NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters, IResultTransformer forcedResultTransformer, QueryCacheResultBuilder queryCacheResultBuilder)
ClientConnectionId:5186c62f-f830-4429-bf7d-81091c2bc5ac
Error Number:207,State:1,Class:16
--- End of inner exception stack trace ---
at NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters, IResultTransformer forcedResultTransformer, QueryCacheResultBuilder queryCacheResultBuilder)
at NHibernate.Loader.Criteria.CriteriaLoaderExtensions.LoadAllToList[T](IList`1 loaders, ISessionImplementor session)
at NHibernate.Impl.SessionImpl.List[T](CriteriaImpl criteria)
at NHibernate.Impl.CriteriaImpl.List[T]()
at WBX.whiteOPS.DAO.NHibernate.GenericDAO`2.findByConditions(List`1 conditions, List`1 propertiesToReturn, Nullable`1 transactionId, Boolean withNoLock)