Hi,
When trying to save a .vsd to a .vdx the following exception occurs.
An unhandled exception of type ‘Aspose.Diagram.DiagramException’ occurred in Aspose.Diagram.dll
Additional information: Error in element Pages in \VisioDocument. SavePages
Using the following code:
Dim objVisioDocument As New Aspose.Diagram.Diagram(TextBox1.Text)
objVisioDocument.Save(SaveLocation, Aspose.Diagram.SaveFileFormat.VDX)
This happens in version 6.0.0 and version 5.9.0
I’ve added the .vsd where the exception occurs.
Thanks in advance
Hi Hilbert,
- What is the version of the Operating System and edition, etc.
- What is the .NET version and application type?
- What is the Visual Studio version and edition?
- What is the local language of the Operating System?
- Any other information that you think is necessary.
Hi,
Thank you for the fast reply, I’m using the following:
- Windows 8.1 Pro
- .NET Framework 4.6.1
- Visual Studio Premium 2013 Version 12.0.40629.00 Update 5
- English
I have added a simple test application with the used Diagram version and .vsd file.
Thanks again,
Erik
Hi Erik,
Dim lic As New Aspose.Diagram.License()
’ apply license
lic.SetLicense(“C:\temp\Aspose.Total.lic”)
Hi,
After applying the license it indeed works as expected. Thank you for your help.
Hi Erik,