Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / OpenAccess ORM > OpenAccess ORM Free Edition > When I attempt to retrieve data from my database, I get this error:

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

Feed from this thread
  • Kyle avatar

    Posted on Oct 23, 2011 (permalink)

    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


    Reply

  • Ady Ady admin's avatar

    Posted on Oct 26, 2011 (permalink)

    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. 

    Reply

  • Kyle avatar

    Posted on Oct 27, 2011 (permalink)

    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.
    Attached files

    Reply

  • Ady Ady admin's avatar

    Posted on Oct 28, 2011 (permalink)

    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. 

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / OpenAccess ORM > OpenAccess ORM Free Edition > When I attempt to retrieve data from my database, I get this error: