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

Free Support Forum - aspose.com

Memory exception with MailMessage on 64bit Windows 7

Hello, I am using Aspose.Network on Windows 7 Professional 64 bit. When I use the MailMessage class to load a .msg file I get the following exception:

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Aspose.Network.x9a23aeb544767894.x8aa2cbb25958f31f(Encoding& xff3edc9aa5f0523b)
at Aspose.Network.Mail.MailMessage.x2db77abd0faee27e(xfc40702471a8657e xc1074478215c73ea, Boolean xc941868c59399d3e, AlternateView xc42c7c2f5b14bb4d)
at Aspose.Network.Mail.MailMessage.x699eb80d5ef05a11(xfc40702471a8657e xc1074478215c73ea, Boolean xc941868c59399d3e, AlternateView xc42c7c2f5b14bb4d)
at Aspose.Network.Mail.MailMessage.xfc0ead15b6083996(xefc924b964a25846 xac163da9492644ab)
at Aspose.Network.Outlook.MailMessageInterpretor.LoadMessageHeader(MailMessage mailmessage, MapiMessage mapiMessage)
at Aspose.Network.Outlook.MailMessageInterpretor.Interpret(MapiMessage mapiMessage)
at Aspose.Network.Mail.MailMessage.Load(String stream, MessageFormat format)

This does not happen on 32bit Windows 7. Is this a known issue?


Yes, this issue was fixed in later versions of Aspose.Network. Could you please download the latest release?