Last week I was creating a demo application to show some ASP.NET features when I kept getting the following error:
“The type or namespace name 'Linq' does not exist in the namespace 'System.Data'”
I had the System.Data.Linq DLL referenced in my application and verified through the Object Browser that this namespace was indeed part of this assembly. Although a very stupid error it took me some time to figure out why it wasn’t working….
I was finally able to solve the issue by adding the following line in my web.config:
<add assembly="System.Data.Linq, Version=188.8.131.52, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>