Telerik ORM in WPF/WCF

Thread is closed for posting
3 posts, 0 answers
  1. Sven
    Sven avatar
    6 posts
    Member since:
    Jun 2009

    Posted 08 Jul 2009 Link to this post

    Ladies and Gents,
    we are just evaluating Telerik ORM Express in search of a relational-mapper (after seeing it at the BASTA! and spending some time with EF). First steps turned out fine, but now we are (totally?) stuck with the following (vs2008, OA dated Juli 1st):

    - a wpf-app consuming a simple wcf service
    - the wcf service referencing a single/simple table (mssql)

    Problem appears in:


    static public IObjectScope GetNewObjectScope()




    Database db = Database();



    IObjectScope newScope = db.GetObjectScope();



    return newScope;



    "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 guess its an app.config issue, but all those make it "emb. ressource", venhancer.exe-tipps and "references to include in whatever file" did not do the trick yet. Could you please supply a sample?
  2. Sven
    Sven avatar
    6 posts
    Member since:
    Jun 2009

    Posted 09 Jul 2009 Link to this post

    After adding one more class-library to the wcf-service and move the telerik-orm-stuff into this one, it is working...
  3. Zoran
    Zoran avatar
    534 posts

    Posted 10 Jul 2009 Link to this post

    Hi Sven,

    I am glad you found the solution to your problem. The issue is that you have to compile the assembly that contains your persistent classes by setting the Enhancing property of the .csproj file to true and, of course, OpenAccess installed as well.

    I would still recommend you to check the following code-library example which resembles one of the approaches of using OpenAccess and WCF.

    If you have any further issues with our product, please do not hesitate to contact us back.

    Kind regards,
    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