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

Problem with "using System.Linq"

7 Answers 120 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.
Kenneth
Top achievements
Rank 1
Kenneth asked on 20 Feb 2009, 03:56 AM
I enabled one of my existing projects (without creating any persistence classes). When I recompile every file that uses System.Linq failes with the message:

Error 1 The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?) C:\Documents and Settings\kstott\My Documents\Tympany\otogram\main\SourceCode\Reporting\WebSites\OtogramManagement\App_Code\Audiogram.cs 12 14 C:\...\OtogramManagement\

I'm sure its something simple - but I've been beating my head against the wall trying to figure this out. What am I missing?

7 Answers, 1 is accepted

Sort by
0
Alexander
Telerik team
answered on 20 Feb 2009, 08:51 AM
Hi Kenneth,

I suggest to continue our conversation in the support ticket that you have already opened (Ticket ID:  192498).

Best wishes,
Alexander
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Daniel Plomp
Top achievements
Rank 2
answered on 17 Apr 2009, 07:22 AM
I'm also having this problem. Did you guys find a solution? Thanks, Daniel
0
Alexander
Telerik team
answered on 17 Apr 2009, 11:03 AM
Hi Daniel,

This was a bug in our previous versions. Please install the latest one - 2009 Q1 SP1. The bug has been fixed.

Kind regards,
Alexander
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Diane
Top achievements
Rank 1
answered on 22 May 2009, 09:35 AM

I am having the same problem - but I can't see a version for 2009 q1 sp 1 for the full version.  I have now downloaded the express version 2009 q1 sp1 but still get the same problem. - so it apparently HASN'T been fixed

I have the latest version of the Rad Ajax controls

 

Does this mean that Open Access and Linq cannot co-exist in the same project?

0
Alexander
Telerik team
answered on 24 May 2009, 07:45 PM
Hi Diane,

Just install the latest version available from your account. In fact the 2009 Q1 SP1 is version 2009.1 405 from April the 5th. It has the fix for that bug. OpenAccess and Linq are absolutely compatible, the problem was that a reference in the Web.config file was overwritten by a reference to one of our libraries.

Sincerely yours,
Alexander
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Diane
Top achievements
Rank 1
answered on 25 May 2009, 06:47 AM
The latest version I can see for ORM is  2008.3 1421 (Feb 23, 2009)  - though I can see 2009 Q1 for everything else.

Actually I discovered that the manual inclusion of the line:

<

 

add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>

(ie Asp.net 3.5 in my case) in the web.config, appears to solve the problem.

I prefer to use the full version as although initially the intention is to use it to access a mySql database (which is covered by the express version), the project also uses Sql server 2005 (full version) currently by means of LinqtoSql but eventually I want to migrate that also to use ORM.

 

 

 

 

 

0
Alexander
Telerik team
answered on 26 May 2009, 07:12 AM
Hello Diane,

Yes, this was the overwritten reference, adding it manually should fix the problem. If you have a valid license, you should be able to see the latest custom build in your account. If you have a license but the Development builds are not available to you, please send us a support ticket, so we can investigate the case.

Regards,
Alexander
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Getting Started
Asked by
Kenneth
Top achievements
Rank 1
Answers by
Alexander
Telerik team
Daniel Plomp
Top achievements
Rank 2
Diane
Top achievements
Rank 1
Share this question
or