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

Free Support Forum - aspose.com

Error of Aspose .words for .NET

Error information is as follows
Aspose.Words.FileCorruptedException: The document appears to be corrupted and cannot be loaded. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at .(DrawingML )
at . ( , )
at . ( , )
at .( , )
at .( , )
at .( )
at .( )
at ​ .( )
at ​ .( )
at .( , )
at .( , )
at .( , )
at .( , )
at .( , )
at .( )
at ​ .( )
at .(DocumentBase )
at .()
at . ()
at .()
at .()
at .()
at Aspose.Words.Document.(Stream , LoadOptions )
--- End of inner exception stack trace ---
at Aspose.Words.Document.(Stream , LoadOptions )
at Aspose.Words.Document.(Stream , LoadOptions )
at Aspose.Words.Document..ctor(String fileName, LoadOptions loadOptions)
at Aspose.Words.Document..ctor(String fileName)

The need for the original word file?

How to solve the error


Hi Yong,

Thanks for your inquiry. Could you please attach your input Word document here for testing? I will investigate the issue on my side and provide you more information.

There is the problem of document on the following link


http://we.tl/NvBy9D3JpA


Thank you


Hi Yong,

Thanks for sharing the detail. I have tested
the scenario and have managed to reproduce the same issue at my side.
For the sake of correction, I have logged this problem in our issue
tracking system as WORDSNET-11437. I have linked this forum thread to
the same issue and you will be notified via this forum thread once this
issue is resolved.

We apologize for your inconvenience.

Can you give us a time limit to solve the problem ?


Thank you


Hi Yong,

Thanks for your inquiry. I would like to share with you that issues
are addressed and resolved based on first come first serve
basis. Currently, your issue is pending for analysis and is in the queue. I am afraid, we can’t provide you any reliable estimate at the
moment. Once your issue is analyzed, we will then be able to provide you
an estimate.

Thanks for your patience.

Hello Tahir Manzoor


I want to know whether my issue into the analysis?


Thank you

Hi Yong,

Thanks for your inquiry. I would like to share with you that our development team cannot reproduce this issue at their end. So, the fix of this issue will be available in next version of Aspose.Words v15.2.0. We will inform you via this forum thread once February 2015 release is published.

Thanks for your patience.

Hi,
We have checked your download upgrade, but the version for February 2015 is still missing.

As this problem is very urgent for us, would you please offer us this version ASAP, or inform us the release time of this version.

Hi,


We have another problem

When we run the following code


" Aspose.Words.Document doc=new Aspose.Words.Document(stringFilePath)

//Omitting some code

doc.Save(Localpath) "


8G memory computer, when the actual running memory is 2G about, occur error


Error information is as follows

"System.OutOfMemoryException: “System.OutOfMemoryException”。

在 System.IO.MemoryStream.set_Capacity(Int32 value)

在 System.IO.MemoryStream.EnsureCapacity(Int32 value)

在 System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count)

在 System.IO.BinaryWriter.Write(Byte[] buffer, Int32 index, Int32 count)

在 ???.???(BinaryWriter )
在 ???.(BinaryWriter )

在 ???.???(BinaryWriter )
在 ???.(BinaryWriter )

在 ???.(BinaryWriter , Int32 )

在 ???.(ShapeBase , BinaryWriter )

在 ???.(ShapeBase , BinaryWriter )
在 ???.(ShapeBase )

在 ???.(Shape )
在 ???.(Shape )
在 ???.(ShapeBase )

在 ???.(ShapeBase )
在 ???.(Shape )

在 ???.VisitShapeStart(Shape )

在 Aspose.Words.Drawing.Shape.r3ka8zscesabkstb24kjjv9sml9wq7pw???(DocumentVisitor )

在 Aspose.Words.CompositeNode.AcceptCore(DocumentVisitor visitor)

在 Aspose.Words.Drawing.Shape.Accept(DocumentVisitor visitor)

在 Aspose.Words.CompositeNode.AcceptChildren(DocumentVisitor visitor)

在 Aspose.Words.CompositeNode.AcceptCore(DocumentVisitor visitor)

在 Aspose.Words.Paragraph.Accept(DocumentVisitor visitor)

在 Aspose.Words.CompositeNode.AcceptChildren(DocumentVisitor visitor)

在 Aspose.Words.CompositeNode.AcceptCore(DocumentVisitor visitor)

在 Aspose.Words.Tables.Cell.Accept(DocumentVisitor visitor)

在 Aspose.Words.CompositeNode.AcceptChildren(DocumentVisitor visitor)

在 Aspose.Words.CompositeNode.AcceptCore(DocumentVisitor visitor)

在 Aspose.Words.Tables.Row.Accept(DocumentVisitor visitor)

在 Aspose.Words.CompositeNode.AcceptChildren(DocumentVisitor visitor)

在 Aspose.Words.CompositeNode.AcceptCore(DocumentVisitor visitor)

在 Aspose.Words.Tables.Table.Accept(DocumentVisitor visitor)

在 Aspose.Words.CompositeNode.AcceptChildren(DocumentVisitor visitor)

在 Aspose.Words.CompositeNode.AcceptCore(DocumentVisitor visitor)

在 Aspose.Words.Body.Accept(DocumentVisitor visitor)

在 ???.(Section )
在 ???.()
在 ???.???(??? )

在 Aspose.Words.Document.(Stream , String , SaveOptions )

在 Aspose.Words.Document.Save(String fileName, SaveOptions saveOptions)

在 Aspose.Words.Document.Save(String fileName)"

Thank you

Hi Yong,

Thanks for your inquiry.

philipqian@163.com:

We have checked your download upgrade, but the version for February 2015 is still missing.
As this problem is very urgent for us, would you please offer us this version ASAP, or inform us the release time of this version.

Aspose.Words February 2015 version will be released in next 3~4
days. We will inform you via this thread once this release is published.
philipqian@163.com:

We have another problem

When we run the following code

" Aspose.Words.Document doc=new Aspose.Words.Document(stringFilePath)
//Omitting some code

doc.Save(Localpath) "

8G memory computer, when the actual running memory is 2G about, occur error

Error information is as follows

"System.OutOfMemoryException: “System.OutOfMemoryException”。

Could you please attach your input Word
document here for testing? I will investigate the issue on my side and
provide you more information. Please also share to which file format you are saving the output document.

Hi,
I'm using the V15.2.0 , still before loading the same Docx times the same error(WORDSNET-11437
Thank you

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


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
Hi,

We confirm that the use of the latest version, still before the occurrence of the error message
Can you send test code or case code to us?

Thank you

Hi Yong,

Thanks for your inquiry. I have tested this scenario using the attached application (AWConsole15.2.0.zip) and have not found this issue at my side. See the attached image for detail.

Please add the reference of Aspose.Words for .NET 15.2.0, change the path of document and execute the attached application. Please share your findings here for our reference.

Hi,
Our computer configuration :Windowxp、Office2007、Memory 4G、.NET Framework 2.0

What is minimum computer configuration ?


Thank you

Hi Yong,

Thanks for your inquiry. Please read about system requirements from here:
http://www.aspose.com/docs/display/wordsnet/System+Requirements

Unfortunately, the document is deleted from the shared link (http://we.tl/NvBy9D3JpA). Could you please share the input document again? I will check this scenario at Windows XP and .NET Framework 2.0 and update you about my findings.

http://we.tl/s8H3H8vKXv

Hi,

We read a hyperlinked text display in Docx is blank now


How to read a hyperlinked text in Docx(Do not need to link, need only text),what coad


Thank you

Hi Yong,

Thanks for sharing the detail.

philipqian@163.com:

Hi,
Our computer configuration :Windowxp、Office2007、Memory 4G、.NET Framework 2.0
What is minimum computer configuration ?

I have tested the scenario and have managed to reproduce the same issue at my side. For the sake of correction, I have logged this problem in our issue tracking system as WORDSNET-11627. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.
philipqian@163.com:

We read a hyperlinked text display in Docx is blank now

How to read a hyperlinked text in Docx(Do not need to link, need only text),what coad

A Hyperlink in Ms Word document is represented by a Field element. A
field in a Word document is a complex structure consisting of multiple
nodes that include field start, field code, field separator, field
result and field end. Fields can be nested, contain rich content and
span multiple paragraphs or sections in a document. The Field class is a
“facade” object that provides properties and methods that allow to work
with a field as a single object.


Please use the code shared in following documentation link to extract and modify the Hyperlink.
http://www.aspose.com/docs/display/wordsnet/How+to++Replace+or+Modify+Hyperlinks