We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.Word for .NET extract text method is error!

Hi!

I have a problem with some doc files… An exception is thrown with the following message:
“This document is in the pre-Word97 format and it is not currently supported”.


Code:

Document doc = new Document(_docFile);



We’d please to share you a bunch of our sample files with problem.
Please donwload file from these following links:
http://www.languagestudio.com/downloads/msword/convert_fail.zip

Remark: here is product info.
Product name: Aspose.Words.dll
Assembly version: 9.5.0.0
Product version: 2010.10.31
License: Aspose.Total


Thanks,
Nuch

Hi

Thank you for your interest in Aspose.Words. Unfortunately, Aspose.Words does not support loading DOC files produced by pre-Word97 versions of MS Word.

We will consider supporting pre-Word97 DOC format in one of future versions. But currently I cannot provide you any estimates regarding this feature.

As a simple workaround, you can simply open/save the file in newer version of MS Word.

Best regards,


OK, thank you for your quick response. :slight_smile:

We are also getting same exception with ver. 10.6 . Following is the exception I got . Please provide solution asap.



No. of occurences:177 Following is the exception:
Timestamp: 1/20/2012 10:09:52 PM
Message: HandlingInstanceID: b55ad67e-a65b-49c7-9853-1c54e3d8b30c

An exception of type ‘Aspose.Words.UnsupportedFileFormatException’ occurred and was caught.
2012-01-20 17:09:52Z
Aspose.Words.UnsupportedFileFormatException, Aspose.Words, Version=9.0.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56
This document is in the pre-Word97 format and it is not currently supported.
Aspose.Words in file: C:\WINDOWS\TEMP\IntraLinks\20373588-4880-4fc4-8a7e-fc80a5f5dd58.doc

System.Collections.ListDictionaryInternal
Void ?(System.IO.Stream, Aspose.Words.LoadFormat, System.String)
at Aspose.Words.Document.?(Stream ?, LoadFormat ?, String ?)
at Aspose.Words.Document.?(Stream ?, LoadFormat ?, String ?)
at Aspose.Words.Document…ctor(String fileName, LoadFormat loadFormat, String password)
at Aspose.Words.Document…ctor(String fileName)
at Intralinks.Common.Utilities.AsposeConverter.ConvertWordToPdf(String sourceFilePath, String destinationFilePath) in c:\ilbuilds\pdfconv\build_trunk\CommonUtilities\AsposeConverter.cs:line 38
at Intralinks.Common.Utilities.CommonUtilities.ConvertOfficeDocsToPDF(String sourceFile, String destinationFolder, Boolean useOriginalFileName) in c:\ilbuilds\pdfconv\build_trunk\CommonUtilities\CommonUtilities.cs:line 1357









Category: Logging Exception
Priority: 1
EventId: 100
Severity: Error
Title:Enterprise Library Exception Handling
Machine: WDPDPF01
Application Domain: ILPDFConversionService.exe
Process Id: 3112
Process Name: C:\PDFConvService\WOODDALE.pdfconv\instance5\Release\ILPDFConversionService.exe
Win32 Thread Id: 7304
Thread Name:
Extended Properties: Product Version - 3.0.24944.0

Hi Viral,


First off, please try to use the latest version at your end and see if it resolves your issue. However, if it still doesn’t resolve your issue then please share the input document file with us. We’ll investigate the issue at our end and guide you accordingly.

We’re sorry for the inconvenience.

Hi there,


Thanks for your inquiry.

Actually there is no problem here. As the second post in the thread describes, Aspose.Words does not support opening documents that are pre-Word 97 format. This is a very old format and it’s rare to find such documents in this format.

At the moment we do not plan to implement supporting this format any time soon. To work around this problem you can simply open and save these documents into a newer format e.g DOC or DOCX.

Thanks,

The issues you have found earlier (filed as WORDSNET-3881) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(8)