Console application utilizing Aspose.Pdf cannot work as schedulled task (+)

I have a console application utilizing Aspose.Pdf. Alone it works fine, but as a shedulled task it stops with error.
"The type initializer for “System.Drawing.SafeNativeMethods” threw an exception."

StackTrace:
at System.Drawing.SafeNativeMethods.GetSysColor(Int32 nIndex)
at System.Drawing.KnownColorTable.UpdateSystemColors(Int32[] colorTable)
at System.Drawing.KnownColorTable.InitColorTable()
at System.Drawing.Color.get_Value()
at System.Drawing.Color.get_R()
at Aspose.Pdf.Xml.F7.A5(Color target, Color origin)
at Aspose.Pdf.Xml.e7.A32(Pdf xmlDoc, XmlTextReader reader)
at Aspose.Pdf.Xml.J7.B11(K7 genXml, XmlTextReader reader)
at Aspose.Pdf.Xml.K7.F12(XmlTextReader xmlReader)
at Aspose.Pdf.Xml.K7.E12(XmlDocument xmlDoc, XslTransform xsl)
at Aspose.Pdf.Pdf.BindXML(XmlDocument xmlDoc, String xslFile)
at Lester.ObjectFactory.AePDF.Export(ILSObject obj, DataRow dr)
at Lester.ObjectFactory.EANProductObject.AllExport(SqlDataAdapter adapter)
at Lester.ObjectFactory.LSPersistentObject.ActionSqlTransaction(ExecuteSqlAction action)
at Lester.ObjectFactory.EANProductObject.RunMethodByName(String NameMethod, Guid[] ObjectGuids, StateBag ViewState)
at Lester.ObjectFactory.LSPersistentObject.Lester.ObjectFactory.Interfaces.ILSPersistentObject.RunMethodByName(String NameMethod, Guid[] ObjectGuids, StateBag ViewState)
at VWSender.VWSenderClass.AllExport(String Products, Guid Action, Guid LangGUID)
at VWSender.VWSenderClass.ProcessUpdatedProducts()
at VWSender.VWSenderClass.ProcessSyncLog()
at VWSender.VWSenderClass.Main(String[] args)

Dear borisk,

Thanks for your consideration.

I have tested some examples as shedulled tasks and haven’t found any error. Would you please elaborate your work or send me an example which can reproduce this error?