ERROR: No enhanced assembly has been found for meta-data construction

Thread is closed for posting
2 posts, 0 answers
  1. julien test
    julien test avatar
    15 posts
    Member since:
    Oct 2009

    Posted 12 Mar 2010 Link to this post


    Here what I try to do.

    I installed Telerik.OpenAccess (version from march 2010). In Visual Studio I enhanced properly the projects in my solution. My application works.

    I need to work with other people on this Visual Studio Solution, but I don't want them to have to install Open Access on their computer. I copied the "vital" dll of OpenAccess in a folder, then I referenced, in my projects using Telerik OpenAccess, all the dll needed for Open Access to work -> the ones that are normally installed in the GAC:

    But when the people who don't have OpenAccess installed on their computer, eventhough they have the "vital" dll of Open Access, try to launch the application, they get the following error:

    Telerik.OpenAccess: No enhanced assembly has been found for meta-data construction. This may be caused by a missing app.config file (use app.config as embedded resource then) or by an insufficient references section in the configuration file (add the referenced enhanced assemblies there too) or by a wrong enhancement setting; please check your configuration.

    Erreur source: 

    Ligne 124 :            Database db = Telerik.OpenAccess.Database.Get("DatabaseConnectionRce");Ligne 125 :Ligne 126 :            IObjectScope newScope = db.GetObjectScope();Ligne 127 :            return newScope;Ligne 128 :        }

    Could you tell me if there is a way to do what I want, which is having a "self-sufficient" solution with no need to have OpenAccess installed to be able to run the application ?

    Thank you !

  2. Zoran
    Zoran avatar
    534 posts

    Posted 12 Mar 2010 Link to this post

    Hi julien test,

    If you want to use OpenAccess on a machine where it is not installed, you should also deploy the enhancer there alongside the OpenAccess dll's as you have done. Then you should edit your project so it calls the enhancer using msbuild. Please have a look into this article where this procedure is discussed.

    Best wishes,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top