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

Simple Project - Wont Work

1 Answer 126 Views
Getting Started
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dean
Top achievements
Rank 1
Dean asked on 17 Jun 2009, 07:13 PM
I have a very simple project, that is a very very common scenario

I have 2 projects, 1 = a class library to include all openaccess functionality, 2 = a simple webservice web application.

Everything is OK, except for when the solution needs to be deployed.

Where is the configuration for web.config ?

We have the local app.config on the class library, but that points to my development server.

I tried copying the app.config configuration sections to web.config, but it somply refuses to work

Nothing in the documentation covers this scenario fully, which is suprising and makes me converned that few people get beyond the testing phase and into full deployment.

Errors include:
-----------------------
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.
-----------------------

I have copied all .dlls from the openaccess folder as suggested in other threads

1 Answer, 1 is accepted

Sort by
0
PetarP
Telerik team
answered on 23 Jun 2009, 07:03 AM
Hi Dean,
this exception can be a bit misleading. You don't necessarily need connection node in the web.config. What you need however is to have the proper reference set in it:
 <openaccess xmlns="http://www.telerik.com/OpenAccess"
    <references> 
      <reference assemblyname="OpenAccessData" configrequired="True" /> 
    </references> 
    <connections /> 
  </openaccess> 

Here OpenAccessData is replaced with the name of your ClassLibrary assembly name. Further you will need to set the app.config file of the ClassLibrary assembly to be embedded resource as this might cause the exception that you are facing

Regards,
Petar
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Getting Started
Asked by
Dean
Top achievements
Rank 1
Answers by
PetarP
Telerik team
Share this question
or