This is a migrated thread and some comments may be shown as answers.

OpenAccessException in Telerik.OpenAccess.Runtime.dll

1 Answer 273 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Tobias
Top achievements
Rank 1
Tobias asked on 03 Sep 2014, 02:49 PM
Hi Forum!

we have a problem with Telerik Open Access:
When we try to acces data from the Database, the following exception is thrown:
An exception of type 'Telerik.OpenAccess.OpenAccessException' occurred in Telerik.OpenAccess.Runtime.dll but was not handled in user code
Additional information: No metadata has been registered for class 'IsfoxBackend.Benutzer, IsfoxBackend, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. (This usually indicates, that either this class is not declared persistent or it is declared persistent but not enhanced. The class was loaded from file:///...)

After some googling I found this and did as it says:
http://www.telerik.com/support/kb/data-access/details/handling-error-no-metadata-registered-for-class-assemblyname-classname-

So now the csproj file has these two lines in it:
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Condition="Exists('$(MSBuildExtensionsPath)\OpenAccess.targets')" Project="$(MSBuildExtensionsPath)\OpenAccess.targets" />

But the error still occures. Any other suggestions what might be causing this?
Any help troubleshooting this is greatly appreciated :)

Thanks,
Tobi

1 Answer, 1 is accepted

Sort by
0
Boris Georgiev
Telerik team
answered on 08 Sep 2014, 03:23 PM
Hi Tobias,

As we understood from the support thread which you start, to research this issue we need a code sample to reproduce the problem on our side, so I will gently ask you to continue the discussion there.

Also I would like to ask you, if you do not mind, after we have a conclusion on this topic in the support thread, could we post the discussion here, so other clients to be aware of it?

Regards,
Boris Georgiev
Telerik
 
OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
 
Tags
General Discussions
Asked by
Tobias
Top achievements
Rank 1
Answers by
Boris Georgiev
Telerik team
Share this question
or