I have some experience generating documents using Aspose.word.
I have run into a problem using “Aspose.word” to auto-fill document templates from a webpage (.aspx-vb) were the .Net webpage generates an error after several documents have been generated using Aspose-word. Interestingly, the error never occurs when printing a documents only once or twice during the Internet session. A web error message; however, occurs after printer 5 or so documents within the same session. If one closes the session and reopens another session the document generation still does not work and resetting the server seems to be the only resolution to permit the generation of documents.
My instinct suggest that the documents are being created in memory and the memory is NOT being release once the document is handed to Microsoft word within IE browser with Microsoft Word.
I close the OleDbConnection = OleDBSleepCenterConnection()connection object after the documents is generated using Aspose-words; however, I am unsure as to whether I am releasing the associated memory of the document.
Any suggestion to remedy this problem is greatly appreciated.
Environment:
- MS IIS5.0
- Windows 200 server.
- IE 6.02 SP2
- Microsoft Visual Web Developer 2005.
Thanks in advance,
Randel