The exception below was thrown when attempting to open the attached file.
Record Early Birth.zip (212.7 KB)
The following code was used:
Dim mapName As String = “C:\temp\Aspose Diagram Test\Mass Save Maps\Record Early Birth.vsdm”
Dim map As New Aspose.Diagram.Diagram(mapName)
Aspose.Diagram.DiagramException was unhandled
HResult=-2146233088
Message=Error in element Shape in \VisioDocument\Masters\Master[13]\PageSheet[00000000-0000-0000-0000-000000000000]\Shapes. NewShape
Source=Aspose.Diagram
StackTrace:
at .ReadChildElements()
at .Load()
at . ()
at .Load()
at . (Object )
at . (MethodBase , Boolean )
at . ( )
at . ()
at . ()
at . (Object )
at . ()
at . (Object , UInt32 )
at . ()
at . ()
at . ()
at . (Object )
at . ()
at . (Object , UInt32 )
at . ()
at . (Object[] , Type[] , Type[] , Object[] )
at . (Int32 , Type[] , Type[] , Boolean )
at . ( )
at . ()
at . ()
at . (Object )
at . ()
at . (Object , UInt32 )
at . ()
at . ()
at . ()
at . (Object )
at . ()
at . (Object , UInt32 )
at . ()
at . (Object[] , Type[] , Type[] , Object[] )
at . (String )
at Aspose.Diagram.Diagram…ctor(String filename)
at AsposeDiagram.Form1.Button1_Click(Object sender, EventArgs e) in N:\Product Development\Andrew Ridgeley\Temporary Projects\AsposeDiagram\AsposeDiagram\Form1.vb:line 51
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
at AsposeDiagram.My.MyApplication.Main(String[] Args) in :line 81
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException: