The problem is that there is a
huge ambiguity between the libraries and assemblies that are required to run the ASP.NET website (or application). You are having some glitches and ambiguities in-between your ASP.NET assemblies, and the required .NET platform version etc. You need to configure your applications on local as well as server side to run the website (ASP.NET version) on a specific .NET version; on both machines.
My advice to you would be, to start creating the same application from scratch. ASP.NET is now moving forward to
5th version[
^]. So, I would like to ask you to please move on to the next version of ASP.NET, it would help you remove those errors. Hopefully, you would be required to update the version on the server too; not just on the local server.