The type or Namespace name 'linq' does not exist in the namespace System.Data?
Posted Date Unknown Remya Raj 6 Comments

I have a web Application  project that uses linq..am receiving an error like,
The type or Namespace name 'linq' does not exist in the  namespace System.Data(are you missing an assembly reference)?..
Thank you in advance.


See All Responses Below...
Author
Message Rating
Posted on: 04/06/2012
I thing you miss the name space
    
       using System.Data.Linq;
Posted on: 04/06/2012
i already use that namespace..
Share this page across other social networking sites



Posted on: 04/06/2012
Did you add the linq reference in your project?

Tom

Posted on: 04/06/2012
I mean linq library reference?

Tom

Share this page across other social networking sites



Posted on: 04/06/2012
Check whether the linq assembly is referred in your web.config file. 
Posted on: 04/06/2012
  I think  this is the problem of your web.config:. so just try the following

 add  a line in my your web.config:

<compilation debug="true">
            <assemblies>


<
add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

   </assemblies>
        </compilation>



Share this page across other social networking sites



Please Login to Post Your Comments
Name (Max. 100 characters)
Please post your comments here
Select Language
Comments
Attach File(Max. Size: 2 MB)
A few simple rules when posting your Comments,
  1. Please post only answers relevant to the topic of discussion.
  2. Please dont misuse this site or do not be abusive, offensive, inappropriate,harass anyone on the boards or post ads or spam. Doing so will delete your inappropriate messages and will block or delete your account on this site. 

TekTipsDownload
GateExam
Academic Projects
TekTipsExperts



 
Site optimized for IE7, 1280 X 768 and above. Copyright © 2010 - 2018 KTS InfoTech
Site Developed Using KTS WebCloud