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

Telerik ORM in WPF/WCF

2 Answers 174 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.
Sven
Top achievements
Rank 1
Sven asked on 08 Jul 2009, 03:26 PM
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?
rgds

2 Answers, 1 is accepted

Sort by
0
Sven
Top achievements
Rank 1
answered on 09 Jul 2009, 08:34 PM
After adding one more class-library to the wcf-service and move the telerik-orm-stuff into this one, it is working...
0
Zoran
Telerik team
answered on 10 Jul 2009, 01:55 PM
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,
Zoran
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
Sven
Top achievements
Rank 1
Answers by
Sven
Top achievements
Rank 1
Zoran
Telerik team
Share this question
or