Posted on Nov 2, 2010 (permalink)
Reply
Posted on Nov 3, 2010 (permalink)
<?
xml
version
=
"1.0"
encoding
"utf-8"
standalone
"yes"
?>
- <
error
xmlns
"http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"
>
<
code
/>
message
xml:lang
"en-US"
>An error occurred while processing this request.</
innererror
>An exception occured during the execution of ' Extent<
ShopService.Category
>.Select(p => IIF((p == null), null, new ProjectedWrapper2() {ResourceTypeName = "ShopService.Category", PropertyNameList = "ParentID,ID", ProjectedProperty0 = Convert((p As Category).ParentID), ProjectedProperty1 = Convert(Convert((p As Category).ID))}))'. See InnerException for more details.</
type
>System.InvalidOperationException</
stacktrace
>at Telerik.OpenAccess.Query.ExpressionCompiler.PerformDatabaseQuery(Type type, Int32 elementAt, Object[] groupResolutionParamValues, Boolean single) at Telerik.OpenAccess.Query.ExpressionExecution.PerformDatabaseQuery[T](Piece`1 piece, Object[] grpVals) at Telerik.OpenAccess.Query.Piece`1.System.Collections.IEnumerable.GetEnumerator() at System.Data.Services.Internal.ProjectedWrapper.EnumerableWrapper.GetEnumerator() at System.Data.Services.WebUtil.GetRequestEnumerator(IEnumerable enumerable) at System.Data.Services.DataService`1.SerializeResponseBody(RequestDescription description, IDataService dataService) at System.Data.Services.DataService`1.HandleRequest()</
internalexception
>Unable to cast object of type 'System.Object[]' to type 'OpenAccessRuntime.DataObjects.query.Node'.</
>System.InvalidCastException</
>at Telerik.OpenAccess.Query.ExpressionCompiler.PerformDatabaseQueryImpl(Type type, Int32 elementAt, Object[] groupResolutionParamValues, Boolean single) at Telerik.OpenAccess.Query.ExpressionCompiler.PerformDatabaseQuery(Type type, Int32 elementAt, Object[] groupResolutionParamValues, Boolean single)</
</
Posted on Nov 8, 2010 (permalink)
Posted on May 10, 2011 (permalink)
Posted on May 11, 2011 (permalink)
I just fixed this issue ($select puts a protective conditional into the LINQ that is not handled correctly.) The next version will have the needed changes; no release date has been set yet.
Posted on Jun 20, 2011 (permalink)
Back to Top
[ OpenAccess ORM Features | Documentation | Demos | Telerik TV | Step-by-step Tutorial ]
UI controls for ASP.NET AJAX, MVC, WPF, Silverlight, Windows Forms and Windows Phone. Visual Studio productivity tools. Reporting and data layer solutions.
HTML5 / JavaScript tools for Web and Mobile applications
Functional, Performance, Load and Mobile Software Testing
CMS, Mobile Web, Ecommerce, Emarketing, Social Media
Project management software inspired by Agile best practices
It seems you haven't bookmarked any pages. Fix that by clicking the button below