Outlook msg file error

Dim message As MailMessage

message = MailMessage.Load("c:\test.msg", MessageFormat.Msg)

I get the below error trying to open a outlook msg file:

System.ArgumentException was unhandled
Message="Media type is not valid.
Parameter name: mediaType"
ParamName="mediaType"
Source="Aspose.Network"
StackTrace:
at Aspose.Network.Mime.ContentType..ctor(String contentType)
at Aspose.Network.Mime.x83903e31fd6d37d2.xa44f1f92c7228b25(Stream x337e217cb3ba0627, String xc15bd84e01929885, String x9c1b9627c9a8cad5, xd6224c0caa44176e x1807bef890c9b567)
at Aspose.Network.Mime.x83903e31fd6d37d2.xc59906f44cf3c25e(Stream x337e217cb3ba0627, String xc15bd84e01929885, String x9c1b9627c9a8cad5)
at Aspose.Network.Mail.Attachment.xc59906f44cf3c25e(Stream x337e217cb3ba0627, String xc15bd84e01929885, String x9c1b9627c9a8cad5)
at Aspose.Network.Outlook.x3e830f89fa0895be.x01c2f41b57ed5505(MailMessage xd7e5673853e47af4, x8a92906baf6c15f3 x134baf6134b65395, Int32 xc0c4c459c6ccbd00, x72bed732dd9d7d92 x78fc7573bdcacc84)
at Aspose.Network.Outlook.x3e830f89fa0895be.x0985be1e7f6e03c9()
at Aspose.Network.Mail.MailMessage.Load(String fileName, MessageFormat format)
at ProjectLog.frmFiles.Button1_Click(Object sender, EventArgs e) in C:\Documents and Settings\tompos\My Documents\ProjectLog5\ProjectLog\frmFiles.vb:line 1593
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(Int32 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 System.Windows.Forms.Application.Run(ApplicationContext context)
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
at ProjectLog.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81
at System.AppDomain.nExecuteAssembly(Assembly 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.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

Hi, tompos,

Could you send me the test.msg file for our error debugging?

Thanks a lot.

In addition, my email box is kyle.huang#aspose.com