LINQ to SQL Data Class

Discussion in 'Databases' started by 2browndogs, Jun 16, 2009.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Within my .net solution, I have made use of a LINQ to SQL data class to populate a datagrid on my aspx form. It works fine on my dev box, but after uploading the solution files, incl. the App_data folder, where the .dbml file resides onto the root directory, the page will not load. It appears that the server cannot locate the DataClassesDataContext. I was told the following:


    Could not load type 'DataClassesDataContext'.
    ..suggest that your application cannot find a class 'DataClassesDataContext'. This can mean a multitude of things. But typically it's because your have not loaded all the appropriate class/assembly to your applications bin directory or your web application is configured to look at the wrong application bin directory. I suggest you make sure you uploaded all the required classes/assemblies that your application requires to the appropriate application bin directory and insure that you coded your application to look in the correct application bin directory.


    Has anyone had a problem with this before and know how to reconfigure my solution?
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page