This question is locked. New answers and comments are not allowed.
I have several Sitefinity modules that are using OpenAccess as their DAL and works wonderful, but for whatever reason I have one project that keeps throwing the following exception any time I try and do a query. I can't see any differences between my projects and can't seem to find the cause of this exception. Any ideas?
Edit** Jan, I upgraded my Sitefinity module projects to use the new OpenAccess version 2009.2.701.5 and I am getting the same error in my modules, but it looks to give more detail possibly. Here is that error.
Thanks!
Edit** Jan, I upgraded my Sitefinity module projects to use the new OpenAccess version 2009.2.701.5 and I am getting the same error in my modules, but it looks to give more detail possibly. Here is that error.
Type is enhanced and registered, but not available from the database class meta data. This can be caused by a wrong connection id or configuration. |
Parameter name: src |
Actual value was GambitCreations.Sitefinity.ClaimsModule.Objects.ClaimsClaimType. |
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: System.ArgumentOutOfRangeException: Type is enhanced and registered, but not available from the database class meta data. This can be caused by a wrong connection id or configuration. |
Parameter name: src |
Actual value was GambitCreations.Sitefinity.ClaimsModule.Objects.ClaimsClaimType. |
Thanks!
System.ArgumentOutOfRangeException was unhandled by user code |
Message="Type is enhanced and registered, but not available from the database class meta data. This can be caused by a wrong connection id or configuration.\r\nParameter name: src\r\nActual value was GambitCreations.Sitefinity.ReportModule.Objects.ReportsDataSource." |
Source="Telerik.OpenAccess.Runtime" |
ParamName="src" |
StackTrace: |
at Telerik.OpenAccess.RT.QueryBuilderImp..ctor(ObjectScope sc, Type src, Type trgt, String lang, Object exp) |
at Telerik.OpenAccess.RT.ObjectScope.GetQueryBuilder(Type src, Type dest, String lang, Object exp) |
at Telerik.OpenAccess.Query.QueryContext.GetQueryBuilder(Type type, Object exp) |
at Telerik.OpenAccess.Query.QueryContext.PerformDatabaseQuery(Type type, Expression expression, Int32& number, Boolean exec, Int32 numSkip, Int32 numTake) |
at Telerik.OpenAccess.Query.QueryContext.PerformDatabaseQueryMultiple[T](Expression expression) |
at Telerik.OpenAccess.Query.ObjectScopeQuery`2.GetEnumerator() |
at GambitCreations.Sitefinity.ReportModule.ReportManager.GetDataSourceListing() in C:\Users\GClark\Documents\Visual Studio 2008\Projects\KCDC\GambitCreations.Sitefinity.ReportModule\ReportsManager.cs:line 189 |
at GambitCreations.Sitefinity.ReportModule.WebControls.Admin.viewDataSourceListing`1.GridListing_NeedDataSource(Object source, GridNeedDataSourceEventArgs e) in C:\Users\GClark\Documents\Visual Studio 2008\Projects\KCDC\GambitCreations.Sitefinity.ReportModule\WebControls\Admin\viewDataSourceListing.cs:line 137 |
at Telerik.Web.UI.RadGrid.OnNeedDataSource(GridNeedDataSourceEventArgs e) |
at Telerik.Web.UI.RadGrid.ObtainDataSource(GridRebindReason rebindReason, Boolean IsBoundUsingDataSourceId) |
at Telerik.Web.UI.RadGrid.AutoDataBind(GridRebindReason rebindReason) |
at Telerik.Web.UI.RadGrid.OnLoad(EventArgs e) |
at System.Web.UI.Control.LoadRecursive() |
at System.Web.UI.Control.LoadRecursive() |
at System.Web.UI.Control.LoadRecursive() |
at System.Web.UI.Control.LoadRecursive() |
at System.Web.UI.Control.AddedControl(Control control, Int32 index) |
at System.Web.UI.ControlCollection.Add(Control child) |
at Telerik.Cms.Web.UI.ViewModeControl`1.CreateChildControls() |
at System.Web.UI.Control.EnsureChildControls() |
at System.Web.UI.Control.PreRenderRecursiveInternal() |
at System.Web.UI.Control.PreRenderRecursiveInternal() |
at System.Web.UI.Control.PreRenderRecursiveInternal() |
at System.Web.UI.Control.PreRenderRecursiveInternal() |
at System.Web.UI.Control.PreRenderRecursiveInternal() |
at System.Web.UI.Control.PreRenderRecursiveInternal() |
at System.Web.UI.Control.PreRenderRecursiveInternal() |
at System.Web.UI.Control.PreRenderRecursiveInternal() |
at System.Web.UI.Control.PreRenderRecursiveInternal() |
at System.Web.UI.Control.PreRenderRecursiveInternal() |
at System.Web.UI.Control.PreRenderRecursiveInternal() |
at System.Web.UI.Control.PreRenderRecursiveInternal() |
at System.Web.UI.Control.PreRenderRecursiveInternal() |
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) |
InnerException: |