Author: blovett | Posted on: 12/5/2008 1:53:42 PM | Views : 506

I have been a developer for some time, but this is my first foray into using LINQ.  Forgive me if the answer has been posted elsewhere, but I could not find it.  I developed the app on my desk top and everything runs great.  However, when I went to move the application to the development server, I began to have issues:



The first thing was that it did not know about Data.Linq and I had to add that to my web.config.  That fixed that particular issue, but I am not sure why I had to do that.  Why did I have to manually add the reference to the web.config on the server, but not my desktop?

After adding the reference to the server's web.config, I got the following error: 'objDataContext' does not contain a constructor that takes '1' arguments.  I double checked the code and it most certainly does have a constructor that takes one argument.  And again, it is running on my workstation and bre ...

Go to the complete details ...