This question is locked. New answers and comments are not allowed.
Hi there,
I'm getting this exception when trying to query through OpenAccess. I recently had to reload Windows on my system, so I'm assuming that something is just pointing incorrectly, since I've reloaded the project onto this machine. After doing some reading on here, it looks like several others had the issue, and you told them it was caused by differing versions of the assemblies in the project. However, I can't seem to figure out how to set things straight from within the two projects, to get it working.
Here's the exception:
An exception of type 'Telerik.OpenAccess.OpenAccessException' occurred in Telerik.OpenAccess.Runtime.dll but was not handled in user code
Additional information: Application id class 'Telerik.OpenAccess.RT.OID.IntIdentity' used by class 'Horizon_PlatformModel.Account' must have field: 'public System.Int32 _account_id'.
ASP.NET Web Application has these references:
Telerik.OpenAccess
Telerik.OpenAccess.35.Extensions
Telerik.OpenAccess.Runtime
Telerik.OpenAccess.Web.40
Telerik.OpenAccess.Web
And the EntitiesModel Project has:
Telerik.OpenAccess
Telerik.OpenAccess.35.Extensions
Any suggestions on how I can straighten this out would be appreciated!
Thanks,
Eric
(all versions 2013.3.1014.1)
I'm getting this exception when trying to query through OpenAccess. I recently had to reload Windows on my system, so I'm assuming that something is just pointing incorrectly, since I've reloaded the project onto this machine. After doing some reading on here, it looks like several others had the issue, and you told them it was caused by differing versions of the assemblies in the project. However, I can't seem to figure out how to set things straight from within the two projects, to get it working.
Here's the exception:
An exception of type 'Telerik.OpenAccess.OpenAccessException' occurred in Telerik.OpenAccess.Runtime.dll but was not handled in user code
Additional information: Application id class 'Telerik.OpenAccess.RT.OID.IntIdentity' used by class 'Horizon_PlatformModel.Account' must have field: 'public System.Int32 _account_id'.
ASP.NET Web Application has these references:
Telerik.OpenAccess
Telerik.OpenAccess.35.Extensions
Telerik.OpenAccess.Runtime
Telerik.OpenAccess.Web.40
Telerik.OpenAccess.Web
And the EntitiesModel Project has:
Telerik.OpenAccess
Telerik.OpenAccess.35.Extensions
Any suggestions on how I can straighten this out would be appreciated!
Thanks,
Eric
(all versions 2013.3.1014.1)