Solved

microsoft office compatibility pack - some .doc files do not convert to docx

Posted on 2011-09-14
3
1,150 Views
Last Modified: 2012-05-12
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)


0
Comment
Question by:jellydog
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
Arman Khodabande earned 500 total points
ID: 36594927
Hi

Read this.
Then go to explanation of the command line parameters.

This can be useful:
Homepage and explanation:         http://b2xtranslator.sourceforge.net/
Download Page:                           http://sourceforge.net/projects/b2xtranslator/


Or you may use "Aspose.Words for .NET"
Perhaps it's not free but has a 30 day evaluation.
0
 

Author Closing Comment

by:jellydog
ID: 36718943
Thanks so much
0
 
LVL 10

Expert Comment

by:Arman Khodabande
ID: 36813289
You're welcome.
Wish you good luck
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Shortcuts in Word Just the other day I had a training for Microsoft and they wanted me to show how well the new Windows and Office behaved on a touch device, which by the way is great, but it was only then that I realized that using keyboard shortc…
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now