When I upload the files on the remote server I get the following message:
Object reference not set to an instance of an object
And a few errors supposed to be happening in the ClassDesigner file and other few classes.
The error message you give is to general to help. It basically means you are trying to access a object that is null. Please at least give a stack trace.