Open Access model assembly missing?

2 posts, 0 answers
  1. eamon behrens
    eamon behrens avatar
    1 posts
    Member since:
    Feb 2010

    Posted 01 Sep 2011 Link to this post

    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?


  2. Ivailo
    Ivailo avatar
    318 posts

    Posted 06 Sep 2011 Link to this post

    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.

    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 >>

  3. DevCraft banner
Back to Top