OpenAccess missing OpenAccessDataSource

4 posts, 0 answers
  1. Alex Pierce
    Alex Pierce avatar
    2 posts
    Member since:
    Oct 2009

    Posted 09 Jun 2010 Link to this post

    Never mind, I found that the Telerik.OpenAccess.Web dll also needed to be added to the QuickStart web as a reference, then the OpenAccessDataSource was properly resolved.  Thia was only obliquely referenced in the QuickStart materials (no explicit instructions).

    I downloaded the ORM eval copy on 5/28/2010.

    I am running through the QuickStart - Sophia Car Rental example.

    I am following the instructions and have built the database, persistent data access project, added the master and other web pages and linked the RadGrid on Default page to the Car class.

    However, I am getting an error after setting the data source for the Default page RadGrid to the car class.

    The error is:

    "Error 47 The type or namespace name 'OpenAccessDataSource' does not exist in the namespace 'Telerik.OpenAccess' (are you missing an assembly reference?) C:\Users\apierce\Documents\Visual Studio 2008\Projects\QuickStart\SophiaCarRental\Default.aspx.designer.cs 32 46 SophiaCarRental"

    Telerik.OpenAccess is referenced in my web project.

    Why am I getting this error and what do I do to fix this broken reference?

    Are the QuickStart instructions out of date for 2010 Q1 release?

  2. Serge
    Admin
    Serge avatar
    375 posts

    Posted 10 Jun 2010 Link to this post

    Hello Alex Pierce,

    There was no explicit explanation because dragging an OpenAccessDataSource should automatically add a reference to this assembly. Can you please verify if this is happening in a new project as well?. If this is the case we will have to investigate this behavior further.
    We are looking forward to your reply.

    All the best,
    Serge
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. DevCraft banner
  4. Thomas Bernt
    Thomas Bernt avatar
    4 posts
    Member since:
    Jan 2008

    Posted 21 Jun 2010 Link to this post

    Hi,
    I am using VS 2010 and the latest Trial OpenAccess. By using OpenAccessDataSource in a new Project, It is not automaticly imported.

    Best Regards,
    Tom
  5. Petko_I
    Admin
    Petko_I avatar
    184 posts

    Posted 22 Jun 2010 Link to this post

    Hello Thomas Bernt,

    Your observation seems right. Currently, if you add an OpenAccessDataSource to a Web Application, the Telerik.OpenAccess.Web.dll is added automatically. As you probably need to reference a class library with an OpenAccess class model, you need to manually add references to the Telerik.OpenAccess and Telerik.OpenAccess.35.Extensions assemblies if they are missing.

    We are sorry for the inconvenience this might have caused you. We will take this into consideration.    


    Kind regards,
    Petko_I
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top