Docx - Zip exception. Cant locate end of central directory

Technical support for Spire.Doc

Moderator: iceblue support

Docx - Zip exception. Cant locate end of central directory

Postby SOSilvia » Wed Apr 18, 2012 2:53 pm

I am ecountering a problem with the spire.doc component. When my application runs , it simply opens a word document using the Document object of Spire.doc using the LoadFromFile method. When it encounters a word .doc document , it works well. It inserts an image and saves the file. However, when it tries to open a word .docx document, it does not work. It simply throws an exception that says : "Zip exception. Cant locate end of central directory record. Possible wrong file format or archive is corrupt."
I tried looking on the internet, however any thing that was somehow related did not help out in any way. Can you please help me?
SOSilvia
 
Posts: 1
Joined: Tue Apr 17, 2012 9:39 pm

Re: Docx - Zip exception. Cant locate end of central directo

Postby Suvi.Wu » Thu Apr 19, 2012 5:58 am

Hi ,

Thanks for your feedback and so sorry for the inconvenience caused by us.

We've created a research on this problem, but we can't reproduce it. Could you please offer more information(such as the related code and original docx file with the image)to help us resolve it. Thanks for your understanding and cooperation.

Have a great day!

Kind regards
Suvi
e-iceblue support
User avatar
Suvi.Wu
 
Posts: 156
Joined: Thu Oct 20, 2011 2:53 am


Return to Spire.Doc

Who is online

Users browsing this forum: No registered users and 1 guest

cron