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

When I attempt to retrieve data from my database, I get this error:

3 Answers 54 Views
Data Access Free Edition
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kyle
Top achievements
Rank 1
Kyle asked on 24 Oct 2011, 01:35 AM
Mapping for class 'Ram.WorkOrder' is specified in file 'config' but the class could not be found. --> RamEntitiesModel/namespace[Ram]/class[WorkOrder]

I should mention that I am using the fetch method. A statement like this also gives me the error:

 

Using dbContext As New RamEntitiesModel

 
    TextBox1.Text = dbContext.WorkOrders(1).WO_no.ToString

 

End Using


3 Answers, 1 is accepted

Sort by
0
Ady
Telerik team
answered on 26 Oct 2011, 02:07 PM
Hi Kyle,

 This error indicates that the app.config file has a mapping entry for class 'Ram.WorkOrder' but this class could not be found in the compiled assembly. Did you rename the class?
You can use the 'Check Settings' dialog( Telerik->OpenAccess->Configuration->Check Settings menu entry) to automatically fix such problems.

Do get back in case you need further assistance.

All the best,
Ady
the Telerik team
Want to use Telerik OpenAccess with SQL Azure? Download the trial version today. 
0
Kyle
Top achievements
Rank 1
answered on 28 Oct 2011, 03:41 AM
I had to create a new solution and the problem was fixed and everything operates properly now.

I attached a screen shot; my menu does not look how you described.

Thanks.
0
Ady
Telerik team
answered on 28 Oct 2011, 01:12 PM
Hello Kyle,

The entry I described is applicable for the 'Classic' approach of the product. You can switch between 'Classic' and ' Domain model' approach via the Options dialog, although we recommend using the new 'Domain Model' approach.

Do get back in case you need further assistance.

Greetings,
Ady
the Telerik team
Want to use Telerik OpenAccess with SQL Azure? Download the trial version today. 
Tags
Data Access Free Edition
Asked by
Kyle
Top achievements
Rank 1
Answers by
Ady
Telerik team
Kyle
Top achievements
Rank 1
Share this question
or