Problem with "using System.Linq"

8 posts, 0 answers
  1. Kenneth
    Kenneth avatar
    70 posts
    Member since:
    Feb 2008

    Posted 19 Feb 2009 Link to this post

    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?
  2. Alexander
    Admin
    Alexander avatar
    727 posts

    Posted 20 Feb 2009 Link to this post

    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.
  3. DevCraft banner
  4. Daniel Plomp
    Daniel Plomp avatar
    130 posts
    Member since:
    Feb 2004

    Posted 17 Apr 2009 Link to this post

    I'm also having this problem. Did you guys find a solution? Thanks, Daniel
  5. Alexander
    Admin
    Alexander avatar
    727 posts

    Posted 17 Apr 2009 Link to this post

    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.
  6. Diane
    Diane avatar
    3 posts
    Member since:
    Aug 2008

    Posted 22 May 2009 Link to this post

    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?

  7. Alexander
    Admin
    Alexander avatar
    727 posts

    Posted 24 May 2009 Link to this post

    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.
  8. Diane
    Diane avatar
    3 posts
    Member since:
    Aug 2008

    Posted 25 May 2009 Link to this post

    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.

     

     

     

     

     

  9. Alexander
    Admin
    Alexander avatar
    727 posts

    Posted 26 May 2009 Link to this post

    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.
Back to Top
DevCraft banner