Deploying to server - No metadata has been registered etc

3 posts, 1 answers
  1. Ashley
    Ashley avatar
    30 posts
    Member since:
    Nov 2012

    Posted 22 Feb 2013 Link to this post


    I have a project that I am trying to deploy to a server of ours. The server doesn't have OpenAccess installed on it. Installing it is not an option. Locally it works fine. When attempting to run this program on the server (in VS 2012) I get an error at the following line:

    public IObjectScope Scope {
        get { return this.GetScope(); }

    The error is: No metadata has been registered for class 'xxx, xxx, Version=, Culture=neutral, PublicKeyToken=null'. (This usually indicates, that either this class is not declared persistent or it is declared persistent but not enhanced.

    I have the following assemblies included:
    - Telerik.OpenAccess
    - Telerik.OpenAccess.35.Extensions
    - Telerik.OpenAccess.Config
    - Telerik.OpenAccess.Runtime
    - Telerik.OpenAccess.Web
    - Telerik.OpenAccess.Windows

    To make things more confusing, this project worked on the server when OpenAccess was installed. We have since uninstalled it.

    Any assistance with this will be greatly appreciated.


  2. Ashley
    Ashley avatar
    30 posts
    Member since:
    Nov 2012

    Posted 25 Feb 2013 Link to this post

    This happened as I hadn't followed the instructions in this page properly.
  3. DevCraft banner
  4. Answer
    Yordan avatar
    39 posts

    Posted 25 Feb 2013 Link to this post

    Hi Ash,

    I am glad that you found the solution to your issue. Indeed, this is the most probable cause for such exceptions.
    Please feel free to contact us if you have other questions about deploying OpenAccess ORM.

    the Telerik team
    Q3'12 SP1 of OpenAccess ORM packs Multi-Table Entities mapping support. Check it out.
Back to Top