I migrated an asp.net app to 4.0. Now I am getting an error \"The type or namespace name \'IQueryable\' could not be found\". The reference to System.Linq is invalid and I can\'
Make sure you are referencing System.Core.dll in your project. The IQueryable type is defined in that assembly (just as it was in .NET 3.5).
System.Core.dll
IQueryable