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

Free Support Forum - aspose.com

Can't open doc file (#1128)

Hi, I have doc file which can’t be opened using aspose.words for java, there is an error that file is corrupted. Can you help me with this?

String path = "Cape Town Campylobacter and Helicobacter Protocol.doc";
Document document = new Document(path);

Cape Town Campylobacter and Helicobacter Protocol.doc.zip (26.8 KB)

I’ve tested scenario with aspose.words 16.11.0.

Regards,
Zeljko

@Zeljko,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-16071. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

@Zeljko,

The issues you have found earlier (filed as WORDSNET-16071) have been fixed in this Aspose.Words for .NET 17.12 update and this Aspose.Words for Java 17.12 update.

Please also check the following articles:

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan

Hi
I’m still having an issue when i try to load this document like this
code:
String path = “Cape Town Campylobacter and Helicobacter Protocol.doc”;
InputStream input = new FileInputStream(path);
Document document = new Document(input);
input.close();

Can you please check this ?
I’m using aspse words for java 19.2

Thanks,
Zeljko.

@Zeljko,

We tested the scenario and have managed to reproduce the same problem on our end. For the sake of correction, we have logged this problem in our issue tracking system. The ID of this issue is WORDSJAVA-2007. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSJAVA-2007) have been fixed in this Aspose.Words for .NET 19.4 update and this Aspose.Words for Java 19.4 update.