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 8436415
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T07:10:22+00:00 2026-06-10T07:10:22+00:00

Why would this line in an .ascx file: <%@ Import Namespace=System.Linq %> cause an

  • 0

Why would this line in an .ascx file:

<%@ Import Namespace="System.Linq" %>

cause an Compile error exception on our production server:

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

It works fine on our development and test environments. We use LINQ extensively throughout the site, although it is the only place where we include it in an .ascx file with an Import-statement. The site is a .NET 3.5 web application.

  • 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-06-10T07:10:23+00:00Added an answer on June 10, 2026 at 7:10 am

    Check the .Net Framework Version being used by the Application Pool on your server.
    It should be 3.5 or above.

    Refer this for how to set application pools

    • Open Internet Information Services (IIS) Manager:

      • If you are using Windows Server 2008 or Windows Server 2008 R2:
        On the taskbar, click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
      • If you are using Windows Vista or Windows 7:
        On the taskbar, click Start, and then click Control Panel.
      • Double-click Administrative Tools, and then double-click Internet Information Services (IIS) Manager.
    • In the Connections pane, expand the server name, and then click Application Pools.

    • You can set the framework version here
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

http://www.interact-sw.co.uk/iangblog/2004/04/26/yetmoretimedlocking Why is this line needed? System.GC.SuppressFinalize(tl.leakDetector); I would have thought the finalizer should
What would cause this line If Cells(i, 3) = Or VBA.Left(Cells(i, 3), 5) =
Just curious how you would comment this line of code: string customerNm = customerNm.EndsWith(s)
I'm trying to convert this line into Batch how would one start this exe
What would be the mutable varient of this line of code: self.dsSearch = [self.ds
I have this line: $(#clients-edit-wrapper).height($(window).height()-150); I would like to apply that height function to
I have this code that where I would normally use one line: if (tableView
I would like to split a line into words. I know this can be
re.findall(r'(\b[a-zA-Z][a-zA-Z0-9-]*)(?=\.com\b)', DATA) how would this line be in PHP?
Why would this simple line of code work perfectly in firefox e.t.c but in

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.