Problem in directly opening the downloaded file

Hi,
I am using Aspose.words to populate a word document in my ASP.NET application with records from database. The strange thing that i have seen is that, sometimes if i directly open the file by clicking open in the download dialog box, i get some error from my Microsoft Word, whose screenshot, i am posting with this post. I am not able to track this error as it occurs sometimes only. I have tested this on XP as well as windows server 2003 and i have Microsoft Word 2002 and SP3 on my machine.
Any kind of help from your side is highly appreciable.

Hi
Thanks for your request. Please can you provide me the code that you use to generate document. I will try to reproduce this problem and help you.
Best regards.