microsoft office compatibility pack - some .doc files do not convert to docx
Hi, I have a 2003 server running IIS with a .Net site that allows a user to upload .doc files and I convert them to .pdf on the server. My pdfconvert program requires the .doc to be converted to docx first. So I have the latest Office Compatibility Pack installed on the server and I run OFC.EXE which in the case of .doc files runs the wordconv.exe program to convert the file to .docx. Some .doc files do not successfully complete the wordconv.exe process and I see this process running on the server and have to manually kill it. A few instances of these "stuck" wordconv.exe processes bring my server to its knees. Looking at the documents in Word show that these problem documents have embedded excel tables or other graphics or other oddities.
My server has all of the latest updates installed.
My questions: Is there anything I can do to determine exactly why these documents hang?
Is there a better solution to convert .doc to .docx that I can incorporate into the code of my .Net website?
Is there a way to have the process automatically die after a certain amount of time(I see OFC.INI has a timeout setting and it does not seem to work if wordconv.exe is executed)