Author |
|
mnoreen Newbie
Joined: 17 July 2012 Location: United States
Online Status: Offline Posts: 19
|
Posted: 18 October 2012 at 1:35pm | IP Logged
|
|
|
I've just set up a brand new PC and decided to move VS2012 while I was at it. I then restored my development projects, all C#, .NET 4. I had a test console app that was working with Mailbee and VS2010. All it did was connect and login to a custom mailbox on our Exchange 2010 server, just to make sure the basic process was working.
Now, running that same console app under my new VS2012 setup, an exception is thrown as soon as the Login method is called. So, the Connect method works, but the next step fails with the following error:
"Attempt by security transparent method 'a.g.ad.a(Int32)' to call native code through method 'a.g.ad.FormatMessage(Int32, IntPtr, Int32, Int32, IntPtr ByRef, Int32, IntPtr)' failed. Methods must be security critical or security safe-critical to call native code."} System.Exception {System.MethodAccessException}
The Mailbee.NET DLL is v4.0.30319.
Any ideas what I can do to resolve this?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6103
|
Posted: 19 October 2012 at 1:41am | IP Logged
|
|
|
Quote:
The Mailbee.NET DLL is v4.0.30319. |
|
|
This looks like .NET Framework version number, I'd say. Current version of MailBee.NET.dll optimized for .NET Framework 4.0 is 7.2.4.375, it's available for download here. Can you confirm the issue is reproduced with the latest build?
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6103
|
Posted: 19 October 2012 at 1:44am | IP Logged
|
|
|
Small correction: version 7.2.4.379 has just been uploaded.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|