I have helped you a lot and I grow weary of your constant posts requesting help. Do you think I am some free consultant here to help you with all of your development issues and learning? I have my own work to do.
If you make a custom build and it doesn't work right you have reported it like its a bug in mojoportal without even mentioning that you are using a custom build or working with source code. This is not a bug and should not be reported as a bug. You ask the same question about mysql here previously but you still do not understand the answer. The answer is still the same http://www.mojoportal.com/settingadatalayerreferenceinvisualstudio.aspx
Please don't report problems with a custom build in the bug forum any more, ask developer questions in the developer forums and realize that I do not have time to help you with all your development issues.
Also it seems you give very little information and I have to ask you a lot of questions to clarify what you are doing. I do not have time to tease the needed information out of you to help, so please when asking questions give details about what you have done. For example you say it works on localhost but you "upload it on the server" and it doesn't work. You do not mention how you create the deployment package. What exactly did you do to prepare the deployment package? Most likely you have not correctly produced the deployment package if it doesn't work but since you don't even tell me what you did how can I even begin to help.