I believe this error message was happening, because of a networking issue. You see I have been using my MYDOCUMENTS folder for saving all my programming files, and this folder is synched to the company server. I believe there is some kind of conflict with this network setup that is not allowing the compiled files to be created in a the mydocuments folder, because as soon as I created a new folder in the root directory and saved my program file to it, everything compiled fine.

Thanks for all your responses everyone
AA