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

OpenAccess missing OpenAccessDataSource

3 Answers 333 Views
Getting Started
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alex Pierce
Top achievements
Rank 1
Alex Pierce asked on 09 Jun 2010, 06:59 PM
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?

3 Answers, 1 is accepted

Sort by
0
Serge
Telerik team
answered on 10 Jun 2010, 05:30 PM
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.
0
Thomas Bernt
Top achievements
Rank 1
answered on 21 Jun 2010, 11:12 AM
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
0
Petko_I
Telerik team
answered on 22 Jun 2010, 06:08 PM
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
Tags
Getting Started
Asked by
Alex Pierce
Top achievements
Rank 1
Answers by
Serge
Telerik team
Thomas Bernt
Top achievements
Rank 1
Petko_I
Telerik team
Share this question
or