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

Free Support Forum - aspose.com

Convert VSDX to PDF using Aspose.Diagram for .NET - Network path is not working to save the output

hello, this is my code to convert visio file to pdf file

Dim Diagram As Diagram = New Diagram(CurrentPathFile)
Dim pdfStream As MemoryStream = New MemoryStream()
diagram.Save(pdfStream, SaveFileFormat.PDF)
Dim pdfFileStream As FileStream = New FileStream(DirectCast(Session(“SDK”), VisionFileClientSDK.VFSDK).TempPath & “\Temp” & Session.SessionID & “_” & Session(“FilesCount”) & “.pdf”, FileMode.Create, FileAccess.Write)

and (CurrentPathFile) is a net work path not phisical path , then i had error in the line :
diagram.Save(pdfStream, SaveFileFormat.PDF)

when i use a phisical path it is work correctly

regards ,


Would you kindly share the error details that you are facing in your environment so that we can share our feedback accordingly.