"Before publishing go the button properties where it shows the location of the pdf. Instead of C:documents and settings\user\My Document"