Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2011-09-14
3
Medium Priority
?
1,303 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
Arman Khodabande earned 2000 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Outlook for dependable use in a very small business   This article is about using the Outlook application (part of Microsoft Office) in a very small business, or for homeowners where dependability and reliability are critical requirements. This …
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
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 …

610 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