I found the root of the problem; it was a 3rd party application that was creating the error. Basically after I found the program I went to Control panel -> add remove programs -> selected the application -> change -> modify and there was check box to install the Add in to office. After that was done the problem went away.