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

4 posts, 0 answers
  1. Kyle
    Kyle avatar
    3 posts
    Member since:
    Sep 2011

    Posted 23 Oct 2011 Link to this post

    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


  2. Ady
    Admin
    Ady avatar
    589 posts

    Posted 26 Oct 2011 Link to this post

    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. 
  3. DevCraft banner
  4. Kyle
    Kyle avatar
    3 posts
    Member since:
    Sep 2011

    Posted 27 Oct 2011 Link to this post

    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.
  5. Ady
    Admin
    Ady avatar
    589 posts

    Posted 28 Oct 2011 Link to this post

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