httpException 0x80004005 using aspose word

We have an application that uses Aspose Word to create an invoice document. For smaller batches of records it seems to work fine, but for larger batches (example where error is thrown has 122 records) we get a Request Timed Out exception httpException 0x80004005.
The database seems fine and if we run the stored procedure in query analyzer it returns very quicky, so we have elimiated that as an issue.
Any suggestions of what we might try to resolve this issue are welcome.

Hi,
I have to reproduce the issue to be able to help you. So please attach your document template and the code used to produce the resulting document.
How much time does the execution take before the exception is thrown? Is the exception you get similar to this one:
http://www.dotnet247.com/247reference/msgs/1/8778.aspx?

I cannot post the code as it is making calls to a couple of databases. It does not seem to be a database issue though. The link you attached was helpful. We are going to try adding the httpRuntime to the web config to see if that helps.