I'm trying to use Linq to SQL in my code and I got the following error: Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?) Source Error: Line 1: <%@ Import Namespace="System.Linq" %>
Make sure you uploaded all the required files, assemblies, and components in your application Bin folder. If it works on your home computer then most likely you installed the assemblies in your computers GAC, but it may not be installed on the servers GAC. This shouldn't be a problem as long as you also upload the assembly in your applications Bin folder.