System.AccessViolationException

This project runs fine on windows xp sp3 / 32 bit and server 2k3 32 bit. This project also runs fine on windows server 2k8 64 bit when using the provided 64 bit dlls BUT ONLY when the vs 2008 debugger is attached. When no debugger is attached this happens:

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Aspose.Network.x240377473998a390.x7bfa4fe58d0d583d(xcbdbf73a349d8781& xbcea506a33cf9111, Boolean& xa5a6c9f279501b51, Boolean xbd28a9a4c0b59ee9)
at Aspose.Network.x54897d86ddd9a11c.x0fb4167a5fae5ff1(x240377473998a390& xbce90b56ab411c23, Int32 x09325f82f41329ea, Int32 x5ac84fa0ec4a7463)
at Aspose.Network.x54897d86ddd9a11c.x823ebd818cb1456f(Int32 x09325f82f41329ea, Int32 x5ac84fa0ec4a7463)
at Aspose.Network.xeef1ec6127bc8308.x6ece2a22bc28d79a()
at Aspose.Network.xeef1ec6127bc8308.x34e07245230765a9()
at Aspose.Network.xeef1ec6127bc8308.xbaec08858dce2272()
at Aspose.Network.xeef1ec6127bc8308.x923b145418230a57(Boolean xb3eaf290550b7fb6)
at Aspose.Network.xefc924b964a25846.xd0983a70eb552a61(Byte[] x5cafa8d49ea71ea1, Int32 x374ea4fe62468d0f, Int32 x961016a387451f05, Boolean xc0e1cb105e2aa9e4)
at Aspose.Network.xefc924b964a25846.x5d95f5f98c940295(Stream xcf18e5243f8d5fd3)
at Aspose.Network.Mail.MailMessage.Load(Stream stream)
at Aspose.Network.Exchange.ExchangeWebServiceClient.FetchMessage(String messageUri)
at project.ServiceMain.ruleMatch(ExchangeMessageInfo message) in C:\project\project\ServiceMain.cs:line 253
at project.ServiceMain.searchMessages() in C:\project\project\ServiceMain.cs:line 315

This runtime error occurs when using the normal dlls and the 64 bit ones.

Aspose.Network 5.4.0.0



Hi,


Please find the attached hotfix v5.4.0.4.

thank you Saqib

The hotfix seems to work. Am I right in assuming that this dll will work for 32 and 64 bit, and requires .NET 2.0?

Hi,


Yes, this dll will work for both 32 and 64 bit systems and requires .NET framework 2.0 or 3.x.

The coming release (full MSI) will include all the dlls for the targeted .NET frameworks.