Simple Project - Wont Work

Thread is closed for posting
2 posts, 0 answers
  1. Dean
    Dean avatar
    15 posts
    Member since:
    Mar 2009

    Posted 17 Jun 2009 Link to this post

    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

  2. PetarP
    PetarP avatar
    754 posts

    Posted 23 Jun 2009 Link to this post

    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=""
          <reference assemblyname="OpenAccessData" configrequired="True" /> 
        <connections /> 

    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

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