The type or namespace name 'Linq' does not exist in the namespace 'System'

Discussion in 'ASP.NET / ASP.NET Core' started by wisemx, Jan 28, 2008.

  1. I'm not using Linq here but these are the assemblies in my 3.5 web.config currently:

     
  2. Is therea control panelconfiguration optionthat I mustset in order touse ASP.NET 3.5? I'm getting this error with VS2008 pages?


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

    I've easily fixed by removing the namespace from my code behind file, as I not using Linq at this point, was just under the impression that 3.5 was installed on the server and I didn't need to do anything to take advantage of it.

    thanks,

    Devin
     
  3. Bruce

    Bruce DiscountASP.NET Staff

    Linq is definitely installed. You may have the wrong assembly name.


    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  4. Yes.. thanks to both replies. I was able to resolve this by creating a new web.config file and updating on the server.
     

Share This Page