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

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

1 Answer 201 Views
Design Time (Visual Designer & Tools)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
julien test
Top achievements
Rank 1
julien test asked on 12 Mar 2010, 10:46 AM
Hi,

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:
Telerik.OpenAccess.dll
Telerik.OpenAccess.Adonet2.dll
Telerik.OpenAccess.Config.dll
Telerik.OpenAccess.MySql.Data.dll
Telerik.OpenAccess.NTDS.dll
Telerik.OpenAccess.Runtime.dll

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 !

Julien.

1 Answer, 1 is accepted

Sort by
0
Zoran
Telerik team
answered on 12 Mar 2010, 04:43 PM
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,
Zoran
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.
Tags
Design Time (Visual Designer & Tools)
Asked by
julien test
Top achievements
Rank 1
Answers by
Zoran
Telerik team
Share this question
or