This question is locked. New answers and comments are not allowed.
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
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