Error message when citing

I am using Endnote X7 with windows 2008. I have selected the Harvard out put style on both Endnote and the word document bibliography format. Whenever I insert a citation from Endnote an error message “Attempted to access an unnamed file past its End” appears; when I click OK the citation appears in curled brackets with a # and a number BUT the full reference does not appear at the end of the document. How can I remedy this?

I would contact tech support.  this kind of error usually requires resetting your prefrences and possibly registry.  I would get their advice rather than ask here.  I find it more helpful and timely to call than to submit the form.