Problems with Microsoft Word Automation

by Selden 22. January 2012 12:06

I have a system that prints a bunch of documents daily.  Data is pulled from a database, and Microsoft Word performs mail merge to produce these documents.  The system runs pretty reliably, day after day processing up to 1,000 documents each day.

But last week the system started hanging up and crashing.  The log showed errors such as "the RPC server was not responding" and COM creation errors.  While the system was running, Word would sometimes pop up a message box that said it couldn't open the file

Since this problem had happend right after I had deployed a new build of the software, I tried reverting back to the former version.  But the problem persisted.

I searched the internet for these error messages, but none of that information really helped.

So then I tried doing a Repair installation of Word.  No help. 

So then I tried un-installing Word, and then re-installing.  Still no help.

Then one of the guys I work with decided to completely remove the entire Office package, and then re-install it.  The process actually was fairly quick, taking less than an hour to do the complete uninstall and reinstall.

And that fixed the problem!

Bottom Line: sometimes it actually can help to fully remove the software and re-install from scratch.



Add comment

  Country flag

  • Comment
  • Preview

About the author

Something about the author

Month List

Page List