Solved

The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?)

Posted on 2010-09-22
3
819 Views
Last Modified: 2013-12-16
My corporate network connection broke and I had my VS project crashed. On compiling, it gives me the following two errors:


The referenced component 'System.Web.ApplicationServices' could not be found.       

The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?)

To resolve the first error, I downloaded the System.Web.ApplicationServices.dll from a web site, copied it to the bin folder and tried to add reference to my project, but it still gives me the same error, any hint/clue please?
0
Comment
Question by:skaleem1
  • 2
3 Comments
 
LVL 1

Author Comment

by:skaleem1
ID: 33740837
I closed and reoped the VS and the first error seems to have disappeared. However, the second one:

The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?)

is still there. How to get this one resolved, any clues?
0
 
LVL 13

Accepted Solution

by:
SameerJagdale earned 500 total points
ID: 33740869
check if you have referenced the required assemblies, system.core, system.xml.linq, system.data, etc. and your target framework is 3.5.
0
 
LVL 1

Author Closing Comment

by:skaleem1
ID: 33740905
thanks a lot
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question