Late Binding OLE call to NotesUIWorkspace

Greetings,

I am printing notes documents to PDF in vb.net, using Adobe Distiller.

I am able to print all the documents successfully for a small nsf database, but when I start dealing with bigger ones, generally 1000 docs or more, I get the following exception

after a few docs are printed

System.Runtime.InteropServies.COMException (0x80010105): The server threw an exception (Exception from HRESULT:0x80010105 (RPC_E_SERVERFAULT))

The stack trace shows me the error at inovking the following method

System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object args, Boolean byrefModifiers, Int32 culture, String namedParameters)

Any help on this will be much appreciated.

Thanks in advance.