Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Visio2013Exporter System.IO.FileNotFoundException for MindFusion.Zip (Read 2704 times)
pc
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 4
Joined: Dec 20th, 2017
Visio2013Exporter System.IO.FileNotFoundException for MindFusion.Zip
Dec 20th, 2017 at 7:11pm
Print Post  
Getting the following exception for MindFusion.Zip when attempting to export a diagram using Visio2013Exporter. VisioExporter works just fine.

System.IO.FileNotFoundException occurred
  HResult=0x80070002
  Message=Could not load file or assembly 'MindFusion.Zip, Version=1.0.0.18366, Culture=neutral, PublicKeyToken=667aa150f73177fd' or one of its dependencies. The system cannot find the file specified.
  Source=MindFusion.Diagramming.Export.Visio
  StackTrace:
   at MindFusion.Diagramming.Export.Visio2013Exporter.Export(Diagram diagram, String filePath)
   at [...].Export() in C:\...

Any help here? I can't find any documentation or other posts about this issue. Thanks.
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3435
Joined: Oct 19th, 2005
Re: Visio2013Exporter System.IO.FileNotFoundException for MindFusion.Zip
Reply #1 - Dec 20th, 2017 at 8:49pm
Print Post  
Can you see a MindFusion.Zip.dll located in the executable's deployment folder?

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
pc
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 4
Joined: Dec 20th, 2017
Re: Visio2013Exporter System.IO.FileNotFoundException for MindFusion.Zip
Reply #2 - Dec 20th, 2017 at 10:33pm
Print Post  
I just got the file from a coworker, but now am getting this:

Type:
System.IO.IOException

Message:
An attempt was made to move the file pointer before the beginning of the file.

StackTrace:
  at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
  at System.IO.FileStream.SeekCore(Int64 offset, SeekOrigin origin)
  at System.IO.FileStream.Seek(Int64 offset, SeekOrigin origin)
  at MindFusion.Zip.Archive.cbf457bb391789e3d1bc8afe21d827be6()
  at MindFusion.Zip.Archive.Open(String zipPath, FileAccess access, FileShare share)
  at MindFusion.Diagramming.Export.Visio2013Exporter.c37e748d3e8127d5f243c215ebc655a5
6(String c92434b605a76f28fbf64a86dbb3a03f9)
  at MindFusion.Diagramming.Export.Visio2013Exporter.Export(Diagram diagram, String filePath)
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3435
Joined: Oct 19th, 2005
Re: Visio2013Exporter System.IO.FileNotFoundException for MindFusion.Zip
Reply #3 - Dec 21st, 2017 at 7:07am
Print Post  
Have you set TemplatePath pointing to Visio2013.vxt? The 2013 file format is a zip file and you might get that exception if you use the old exporter's VisioExport.vxt template instead, which is plain-text xml.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint