Server Error in '/' Application.

An exception was caught during the execution of a retrieval query: Invalid column name 'DateCreated'.
Invalid column name 'DateUpdated'.. Check InnerException, QueryExecuted and Parameters of this exception to examine the cause of this exception.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: SD.LLBLGen.Pro.ORMSupportClasses.ORMQueryExecutionException: An exception was caught during the execution of a retrieval query: Invalid column name 'DateCreated'.
Invalid column name 'DateUpdated'.. Check InnerException, QueryExecuted and Parameters of this exception to examine the cause of this exception.

Source Error:


Line 22: 
Line 23:                 Dim ContentPages As New CollectionClasses.ContentPageCollection
Line 24:                 ContentPages.GetMulti(A, 1)
Line 25: 
Line 26:                 If ContentPages.Count > 0 Then

Source File: D:\Websites\xlCommunitiesBETAweb\content.aspx.vb    Line: 24

Stack Trace:


[ORMQueryExecutionException: An exception was caught during the execution of a retrieval query: Invalid column name 'DateCreated'.
Invalid column name 'DateUpdated'.. Check InnerException, QueryExecuted and Parameters of this exception to examine the cause of this exception.]
   SD.LLBLGen.Pro.ORMSupportClasses.RetrievalQuery.Execute(CommandBehavior behavior) +170
   SD.LLBLGen.Pro.ORMSupportClasses.DaoBase.ExecuteMultiRowRetrievalQuery(IRetrievalQuery queryToExecute, ITransaction containingTransaction, IEntityCollection collectionToFill, Boolean allowDuplicates, IValidator validatorToUse, IEntityFields fieldsUsedForQuery) +396
   SD.LLBLGen.Pro.ORMSupportClasses.DaoBase.PerformGetMultiAction(ITransaction containingTransaction, IEntityCollection collectionToFill, Int64 maxNumberOfItemsToReturn, ISortExpression sortClauses, IValidator validatorToUse, IPredicate selectFilter, IRelationCollection relations, Int32 pageNumber, Int32 pageSize) +267
   SD.LLBLGen.Pro.ORMSupportClasses.EntityCollectionBase.GetMulti(IPredicate selectFilter, Int64 maxNumberOfItemsToReturn, ISortExpression sortClauses, IRelationCollection relations, Int32 pageNumber, Int32 pageSize) +183
   SD.LLBLGen.Pro.ORMSupportClasses.EntityCollectionBase.GetMulti(IPredicate selectFilter, Int64 maxNumberOfItemsToReturn) +26
   content.Page_Load(Object sender, EventArgs e) in D:\Websites\xlCommunitiesBETAweb\content.aspx.vb:24
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210