I have written a windows service that makes a new Microsoft Word 2003 COM object to open any documents that are uploaded to my web site and print them to the Microsoft Office Document Image Writer (MODI) so I have a tif image file to display on a web page.
It works fine on my development machine, but on the Windows 2003 Server SP2 32 bit version I get the following error after 120 seconds:
System.Runtime.InteropServices.COMException (0x80080005):
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80080005.
The line of code it waits on is:
Microsoft.Office.Interop.Word.Application wordApp = new Microsoft.Office.Interop.Word.Application(); ...
Go to the complete details ...