Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / OpenAccess ORM > OpenAccess ORM Free Edition > Open Access model assembly missing?

Not answered Open Access model assembly missing?

Feed from this thread
  • eamon behrens avatar

    Posted on Sep 1, 2011 (permalink)

    Installed the open access orm and watched the video "starting you first project." I followed all the steps and set up the domain model with all my tables showing. I added a gridview to the page and chose the openaccess data source. i built the project and ran the web page in my browser. I am getting this error:

    "The ObjectContextProvider named 'IntelliAir.IntelliAir, IntelliAir' could not be resolved. Please verify that a reference to the model assembly is added in your application."

    Did I miss a step somewhere? Am I suppose to add a using statement somewhere? if so, which page should I add it to?

    thanks

    Reply

  • Ivailo Ivailo admin's avatar

    Posted on Sep 6, 2011 (permalink)

    Hi Eamon,

    This exception can be raised due to various discrepancies.

    Could you confirm that:
    - the OpenAccessContext (Domain Model) you have created is called IntelliAir
    - the project you have added the context to is also called IntelliAir
    - the assembly IntelliAir is referenced by the project containing the GridView page, unless of course the context is in the same project as the page

    As a matter of samples of using OpenAccess ORM, you can refer to our SDK. In it you can find some useful examples of data binding in the section OpenAccessDataSource.

    I am looking forward to your feedback.


    Greetings,
    Ivailo
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's SQL Server Community Awards. We are competing in TWO categories and every vote counts! VOTE for Telerik NOW >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / OpenAccess ORM > OpenAccess ORM Free Edition > Open Access model assembly missing?