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

Open Access model assembly missing?

1 Answer 53 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.
eamon behrens
Top achievements
Rank 1
eamon behrens asked on 01 Sep 2011, 08:19 PM

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

1 Answer, 1 is accepted

Sort by
0
Ivailo
Telerik team
answered on 06 Sep 2011, 05:25 PM
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 >>

Tags
Data Access Free Edition
Asked by
eamon behrens
Top achievements
Rank 1
Answers by
Ivailo
Telerik team
Share this question
or