|
I've enabled OData as described here: http://drc.ideablade.com/xwiki/bin/view/Documentation/odata-enable - http://drc.ideablade.com/xwiki/bin/view/Documentation/odata-enable I've ended up with the cursed "An error occurred while processing this request." error. I then Googled around until I found out how to turn on debugging, as per the instructions here: http://blogs.msdn.com/b/phaniraj/archive/2008/06/18/debugging-ado-net-data-services.aspx - http://blogs.msdn.com/b/phaniraj/archive/2008/06/18/debugging-ado-net-data-services.aspx Now I'm seeing that the cause of the problem is an 'EntityState' property: <SNIP> The server encountered an error processing the request. The exception message is 'The property 'EntityState' on type 'IdeaBlade.EntityModel.EntityAspect' is not a valid property. Make sure that the type of the property is a public type and a supported primitive type or a entity type with a valid key or a complex type.'. </SNIP> Doing a search over my code, I can't even find an 'EntityState' property, leading me to think this is an internal DevForce property. So ... what causes this, and how do I either fix it, or work around it? Environment is Visual Studio 11 Beta, .NET Framework 4 project, on Win7 Ultimate. Any assistance appreciated! T
|