Dobrý deň, pri exporte fa alebo aj napr. záväzkov mi program neustále vypistuje hlášku, po ktorej sa program ukončí: (odkedy som si stiahla poslednú verziu), ďakujem.
Došlo k nepredvídateľnej chybe!
Attempt by security transparent method ‘DevExpress.XtraPrinting.Native.MAPIUnicode.MAPISendMail(IntPtr, IntPtr, DevExpress.XtraPrinting.Native.IMapiMessage, Int32, Int32)’ to call native code through method ‘DevExpress.XtraPrinting.Native.MAPIUnicode.MAPISendMailW(IntPtr, IntPtr, DevExpress.XtraPrinting.Native.MapiMessageW, Int32, Int32)’ failed. Methods must be security critical or security safe-critical to call native code.
System.MethodAccessException: Attempt by security transparent method ‘DevExpress.XtraPrinting.Native.MAPIUnicode.MAPISendMail(IntPtr, IntPtr, DevExpress.XtraPrinting.Native.IMapiMessage, Int32, Int32)’ to call native code through method ‘DevExpress.XtraPrinting.Native.MAPIUnicode.MAPISendMailW(IntPtr, IntPtr, DevExpress.XtraPrinting.Native.MapiMessageW, Int32, Int32)’ failed. Methods must be security critical or security safe-critical to call native code.
at DevExpress.XtraPrinting.Native.MAPIUnicode.MAPISendMail(IntPtr session, IntPtr handle, IMapiMessage msg, Int32 flags, Int32 reserved)
at DevExpress.XtraPrinting.Native.MAPI.SendInternal(IntPtr handle, String]] files, String mailSubject, String mailBody, RecipientCollection recipients)
at DevExpress.XtraPrinting.Native.MAPI.SendMail(IntPtr handle, String]] files, String mailSubject, String mailBody, RecipientCollection recipients)
at DevExpress.XtraPrinting.Export.EmailSenderBase.SendViaMAPI(String]] files, EmailOptions options, IntPtr windowHandle)
at DevExpress.XtraPrinting.Export.EmailSender.SendEmail(String]] files, EmailOptions options, IntPtr windowHandle)
3 odpovede
Dobrý deň,
na Váš e-mail sme preposlali na overenie informácie, ktoré potrebujeme overiť pre doriešenie vzniknutej hlášky.
Dobrý deň, mám podobný problém,keď chcem odoslať faktúru, predfaktúru, DL mailom, program mi vypíše hlášku..došlo k nepredvídanej chybe….a program sa ukončí
Dobrý deň,
na Váš e-mail sme preposlali na overenie informácie, ktoré potrebujeme overiť pre doriešenie vzniknutej hlášky.