Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3321830
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T23:06:37+00:00 2026-05-17T23:06:37+00:00

I have never used LINQ before, and I am getting an error in an

  • 0

I have never used LINQ before, and I am getting an error in an application that does use it. This is a VB.NET (.NET 2.0) project in Visual Studio 2008.

Here is the offending code:

Dim orderedRows = From r In resultRows Order By r.FIELDNAME Select r

And here is the error (names changed to something generic, but otherwise accurate):

Expression of type '1-dimensional array of 
Company.OurLibrary.FunctionalArea.Library.StoredProcStuff.USP_MYPROC.ResultRow'
is not queryable. Make sure you are not missing an assembly
reference and/or namespace import for the LINQ provider.
C:\project\filename.vb

So I recognize that I need to import LINQ libraries. This link led me to add “Imports System.Linq” to the file, but that is an unresolved reference. Based on the same link, I figured I needed to add a reference to “System.Core” to my project, but it is not listed as an available option when I try to add a reference (nor is it already checked).

I feel sure I’m missing something basic. Can someone point me in the right direction?

TL;DR: What do I need for LINQ to work?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T23:06:37+00:00Added an answer on May 17, 2026 at 11:06 pm

    Update: based on the comments targeting .NET 2.0 and attempting to use System.Linq would result in a compiler error as follows:

    Namespace or type specified in the
    Imports ‘System.Linq’ doesn’t contain
    any public member or cannot be found.

    To change the targeted framework version go to the project’s Properties -> Compile -> Advanced Compile Options… set the Target Framework to “.NET Framework 3.5” and recompile.

    In case using .NET 3.5 is not feasible then you can use LINQBridge to make use of LINQ to Objects while targeting the .NET 2.0 framework.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have never used array_combine before and I am getting a Boolean instead of
Just trying to understand that - I have never used it before. How is
I have following code that creates Linq query. I've never used Linq until today
I have never used Try-catch in my code before, but now I need to
I am new ASP.NET and I have never used a GridView or DataGrid, but
I want to use mysql with a rails app (I have never used mysql
I have never really used regular expressions all that much and as such i
I've never used malloc to store more than values but I have to use
I have a pretty big web application that I created last year using ASP.NET
I have never used enums before i have a problem while creating enums i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.