Home › Forums › Bug Reports › SwithMail Bug Reports › SwithMail doesn’t seem work with TaskScheduler on Server 2019
- This topic has 1 reply, 2 voices, and was last updated 2 years, 1 month ago by
tbare.
-
AuthorPosts
-
-
DasTas
ParticipantHi everybody,
using SwithMail on a windows server 2019 with latest patchlevel I’m not able to use the taskscheduler to send mails via a batch. Starting the batch from the CMD prompt or doubleclick works perfect. Using the taskscheduler leads to an 0xE0434352 error. Playing around with privileges of the taskuser doesn’t help.
Batch:
cd "C:\Program Files (x86)\BackupNotification" SwithMail.exe /s /x BackupSuccess.xml
The event log tells (sorry it’s a german system):
.NET Runtime Error EventID: 1026 Anwendung: SwithMail.exe Frameworkversion: v4.0.30319 Beschreibung: Der Prozess wurde aufgrund einer unbehandelten Ausnahme beendet. Ausnahmeinformationen: System.ComponentModel.Win32Exception bei System.Windows.Forms.NativeWindow+WindowClass.RegisterClass() bei System.Windows.Forms.NativeWindow+WindowClass.Create(System.String, Int32) bei System.Windows.Forms.NativeWindow.CreateHandle(System.Windows.Forms.CreateParams) bei System.Windows.Forms.Control.CreateHandle() bei System.Windows.Forms.Application+ThreadContext.get_MarshalingControl() bei System.Windows.Forms.WindowsFormsSynchronizationContext..ctor() bei Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase..ctor(Microsoft.VisualBasic.ApplicationServices.AuthenticationMode) bei SwithMail.My.MyApplication..ctor() Ausnahmeinformationen: System.Reflection.TargetInvocationException bei System.RuntimeTypeHandle.CreateInstance(System.RuntimeType, Boolean, Boolean, Boolean ByRef, System.RuntimeMethodHandleInternal ByRef, Boolean ByRef) bei System.RuntimeType.CreateInstanceSlow(Boolean, Boolean, Boolean, System.Threading.StackCrawlMark ByRef) bei System.Activator.CreateInstance[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]() bei SwithMail.My.MyProject+ThreadSafeObjectProvider 1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].get_GetInstance() bei SwithMail.My.MyProject.get_Application() bei SwithMail.My.MyApplication.Main(System.String[])
followed by
Application Error: EventID: 1000 Name der fehlerhaften Anwendung: SwithMail.exe, Version: 2.2.4.0, Zeitstempel: 0x5ccaee06 Name des fehlerhaften Moduls: KERNELBASE.dll, Version: 10.0.17763.914, Zeitstempel: 0xfb6790ac Ausnahmecode: 0xe0434352 Fehleroffset: 0x0000000000039159 ID des fehlerhaften Prozesses: 0x6404 Startzeit der fehlerhaften Anwendung: 0x01d611635423c14b Pfad der fehlerhaften Anwendung: C:\Program Files (x86)\BackupNotification\SwithMail.exe Pfad des fehlerhaften Moduls: C:\Windows\System32\KERNELBASE.dll Berichtskennung: a19a4979-7acd-4697-a35c-12ff3f935f8d
the complete report:
Windows ErrorLog: Version=1 EventType=CLR20r3 EventTime=132312357365955939 ReportType=2 Consent=1 UploadTime=132312357366863216 ReportStatus=268435456 ReportIdentifier=7a867b9b-5a09-4058-b46e-b9a2de033302 IntegratorReportIdentifier=a19a4979-7acd-4697-a35c-12ff3f935f8d Wow64Host=34404 NsAppName=SwithMail.exe OriginalFilename=SwithMail.exe AppSessionGuid=00006404-0000-0014-4bc1-23546311d601 TargetAppId=W:00069de04d3ff4074d77f4b32aebc5c33ef200000000!0000751c14b03874099eb6fada72d73c017bb7946115!SwithMail.exe TargetAppVer=2019//05//02:13:17:58!0!SwithMail.exe BootId=4294967295 TargetAsId=457777 IsFatal=1 EtwNonCollectReason=1 Response.BucketId=1b614354915a6704c0263534cb7c45e6 Response.BucketTable=5 Response.LegacyBucketId=1163676054590342630 Response.type=4 Sig[0].Name=Problemsignatur 01 Sig[0].Value=SwithMail.exe Sig[1].Name=Problemsignatur 02 Sig[1].Value=2.2.4.0 Sig[2].Name=Problemsignatur 03 Sig[2].Value=5ccaee06 Sig[3].Name=Problemsignatur 04 Sig[3].Value=System.Windows.Forms Sig[4].Name=Problemsignatur 05 Sig[4].Value=4.7.3324.0 Sig[5].Name=Problemsignatur 06 Sig[5].Value=5c09ba04 Sig[6].Name=Problemsignatur 07 Sig[6].Value=5d2a Sig[7].Name=Problemsignatur 08 Sig[7].Value=276 Sig[8].Name=Problemsignatur 09 Sig[8].Value=N3CTRYE2KN3C34SGL4ZQYRBFTE4M13NB DynamicSig[1].Name=Betriebsystemversion DynamicSig[1].Value=10.0.17763.2.0.0.289.50 DynamicSig[2].Name=Gebietsschema-ID DynamicSig[2].Value=1031 DynamicSig[22].Name=Zusatzinformation 1 DynamicSig[22].Value=4bc9 DynamicSig[23].Name=Zusatzinformation 2 DynamicSig[23].Value=4bc9a3bc6059897867aafdad7985f873 DynamicSig[24].Name=Zusatzinformation 3 DynamicSig[24].Value=ba2c DynamicSig[25].Name=Zusatzinformation 4 DynamicSig[25].Value=ba2c770ebb3776201a73efe2b5b56138 UI[2]=C:\Program Files (x86)\BackupNotification\SwithMail.exe LoadedModule[0]=C:\Program Files (x86)\BackupNotification\SwithMail.exe LoadedModule[1]=C:\Windows\SYSTEM32\ntdll.dll LoadedModule[2]=C:\Windows\SYSTEM32\MSCOREE.DLL LoadedModule[3]=C:\Windows\System32\KERNEL32.dll LoadedModule[4]=C:\Windows\System32\KERNELBASE.dll LoadedModule[5]=C:\Windows\System32\ADVAPI32.dll LoadedModule[6]=C:\Windows\System32\msvcrt.dll LoadedModule[7]=C:\Windows\System32\sechost.dll LoadedModule[8]=C:\Windows\System32\RPCRT4.dll LoadedModule[9]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscoreei.dll LoadedModule[10]=C:\Windows\System32\SHLWAPI.dll LoadedModule[11]=C:\Windows\System32\combase.dll LoadedModule[12]=C:\Windows\System32\ucrtbase.dll LoadedModule[13]=C:\Windows\System32\bcryptPrimitives.dll LoadedModule[14]=C:\Windows\System32\GDI32.dll LoadedModule[15]=C:\Windows\System32\gdi32full.dll LoadedModule[16]=C:\Windows\System32\msvcp_win.dll LoadedModule[17]=C:\Windows\System32\USER32.dll LoadedModule[18]=C:\Windows\System32\win32u.dll LoadedModule[19]=C:\Windows\System32\kernel.appcore.dll LoadedModule[20]=C:\Windows\SYSTEM32\VERSION.dll LoadedModule[21]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll LoadedModule[22]=C:\Windows\SYSTEM32\MSVCR120_CLR0400.dll LoadedModule[23]=C:\Windows\assembly\NativeImages_v4.0.30319_64\mscorlib\5748a97e77ef4e55dc65fc7d20d480e3\mscorlib.ni.dll LoadedModule[24]=C:\Windows\System32\ole32.dll LoadedModule[25]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System\12f61e3a15a903def0bce11cfcee51bc\System.ni.dll LoadedModule[26]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Core\c44ed02f7455a78fdcbc354f0ee78898\System.Core.ni.dll LoadedModule[27]=C:\Windows\assembly\NativeImages_v4.0.30319_64\Microsoft.V9921e851#\2fa0784eb24c59000732d557234bf930\Microsoft.VisualBasic.ni.dll LoadedModule[28]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clrjit.dll LoadedModule[29]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Drawing\1883282d05b2edc8c7a85d6253709126\System.Drawing.ni.dll LoadedModule[30]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Windows.Forms\4cbf5b6f7474f467084fe48f0a8a999d\System.Windows.Forms.ni.dll LoadedModule[31]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Configuration\d7ab916b3190804849a70370612f48f1\System.Configuration.ni.dll LoadedModule[32]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Xml\f58bcb1d98c88dc2c1fcdf12c329fe47\System.Xml.ni.dll LoadedModule[33]=C:\Windows\System32\shell32.dll LoadedModule[34]=C:\Windows\System32\cfgmgr32.dll LoadedModule[35]=C:\Windows\System32\shcore.dll LoadedModule[36]=C:\Windows\System32\windows.storage.dll LoadedModule[37]=C:\Windows\System32\profapi.dll LoadedModule[38]=C:\Windows\System32\powrprof.dll LoadedModule[39]=C:\Windows\System32\cryptsp.dll LoadedModule[40]=C:\Windows\System32\bcrypt.dll LoadedModule[41]=C:\Windows\system32\rsaenh.dll LoadedModule[42]=C:\Windows\SYSTEM32\CRYPTBASE.dll LoadedModule[43]=C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.17763.914_none_10dff78064323f3f\comctl32.dll LoadedModule[44]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\diasymreader.dll State[0].Key=Transport.DoneStage1 State[0].Value=1 OsInfo[0].Key=vermaj OsInfo[0].Value=10 OsInfo[1].Key=vermin OsInfo[1].Value=0 OsInfo[2].Key=verbld OsInfo[2].Value=17763 OsInfo[3].Key=ubr OsInfo[3].Value=914 OsInfo[4].Key=versp OsInfo[4].Value=0 OsInfo[5].Key=arch OsInfo[5].Value=9 OsInfo[6].Key=lcid OsInfo[6].Value=1031 OsInfo[7].Key=geoid OsInfo[7].Value=94 OsInfo[8].Key=sku OsInfo[8].Value=50 OsInfo[9].Key=domain OsInfo[9].Value=1 OsInfo[10].Key=prodsuite OsInfo[10].Value=289 OsInfo[11].Key=ntprodtype OsInfo[11].Value=2 OsInfo[12].Key=platid OsInfo[12].Value=10 OsInfo[13].Key=sr OsInfo[13].Value=0 OsInfo[14].Key=tmsi OsInfo[14].Value=190897 OsInfo[15].Key=osinsty OsInfo[15].Value=1 OsInfo[16].Key=iever OsInfo[16].Value=11.914.17763.0-11.0.165 OsInfo[17].Key=portos OsInfo[17].Value=0 OsInfo[18].Key=ram OsInfo[18].Value=32520 OsInfo[19].Key=svolsz OsInfo[19].Value=100 OsInfo[20].Key=wimbt OsInfo[20].Value=0 OsInfo[21].Key=blddt OsInfo[21].Value=180914 OsInfo[22].Key=bldtm OsInfo[22].Value=1434 OsInfo[23].Key=bldbrch OsInfo[23].Value=rs5_release OsInfo[24].Key=bldchk OsInfo[24].Value=0 OsInfo[25].Key=wpvermaj OsInfo[25].Value=0 OsInfo[26].Key=wpvermin OsInfo[26].Value=0 OsInfo[27].Key=wpbuildmaj OsInfo[27].Value=0 OsInfo[28].Key=wpbuildmin OsInfo[28].Value=0 OsInfo[29].Key=osver OsInfo[29].Value=10.0.17763.914.amd64fre.rs5_release.180914-1434 OsInfo[30].Key=buildflightid OsInfo[31].Key=edition OsInfo[31].Value=ServerSolution OsInfo[32].Key=ring OsInfo[32].Value=Retail OsInfo[33].Key=expid OsInfo[34].Key=containerid OsInfo[35].Key=containertype OsInfo[36].Key=edu OsInfo[36].Value=0 FriendlyEventName=Nicht mehr funktionsfähig ConsentKey=CLR20r3 AppName=SwithMail AppPath=C:\Program Files (x86)\BackupNotification\SwithMail.exe NsPartner=windows NsGroup=windows8 ApplicationIdentity=35D7CF4DD0B09505D1DE5D24F1FEAC04 MetadataHash=1847409389
Any help appreciated
Thanks in advance
Timo -
Sorry for the late reply – been a bit nutty and haven’t had a lot of spare time to check on this one.
My assumption is you MAY need to pass the full path the XML file for the task — give that a shot and let me know if it helps.
-
-
AuthorPosts
- You must be logged in to reply to this topic.