OpenAccessException in Telerik.OpenAccess.Runtime.dll

2 posts, 0 answers
  1. Tobias
    Tobias avatar
    3 posts
    Member since:
    Feb 2013

    Posted 03 Sep 2014 Link to this post

    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
  2. Boris Georgiev
    Admin
    Boris Georgiev avatar
    190 posts

    Posted 08 Sep 2014 Link to this post

    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.
     
  3. DevCraft banner
Back to Top