LL27.004: Fehler Mailversand über Outlook 365 MAPI 0x80004005

Hallo,
auf einem Windows 11 PC mit Outlook 365 scheitert der Versand der Vorschaudatei (als PDF) mit folgendem Fehler:
Fehler beim Versand über MAPI: bei MAPI kann nicht angemeldet werden: 0x80004005

Ich hatte früher schon mit ähnlichen Problemen beim Aufruf von Outlook aus List&Label zu tun, dies hatte abgeholfen:

Auf dem Client sind cxCT27.dll, cxUT27.dll, cxMX27.dll installiert.
cmMP27.exe und cxMP27.exe sind mit „/regserver“ mit Admin-Rechten registriert.

Ist schon jemand auf das gleiche Problem gestoßen?

Neu bei dieser Installation ist die Kombination Windows 11 mit Office 365.
Die Office 365 – Version ist 2212 (Build 15928.20216 Klick-und-Los)

Danke für Tipps,

Ingo Kothke

Hallo Ingo,

gibt es verwertbare Informationen innerhalb einer Log-Datei zu diesem Vorgang?

Gerne schauen wir da nochmals mit in die Log-Datei, eventuell aber über einen Support-Case, da ja personenbezogene Informationen enthalten sein können.

Moin Patrick,
danke für die Rückmeldung!
Eine Logdatei habe ich nicht, ich müsste den Debugger auf dem Kunden-Rechner ausführen.
(Ich habe hier keinen Rechner mit Office 365.)
…brauche ich dafür nur die Debwin4.exe auf den Rechner zu kopieren, oder benötigt der Debugger zusätzliche DLLs?

Die exe genügt dafür :slight_smile:.

Moin Herr Bartlau,

danke für die Info.
Ich probiere das bei nächster Gelegenheit und melde mich wieder!

Ingo Kothke

…die Dame war noch am Platz und ich hae eine Log-Datei erzeugt.
Einen Auszug hänge ich an - wenn die komplette benötigt wird - soll ich dann ein Support-Case eröffnen?

28B0;100:2=CMLL27♦101:1=0; LS: >clsOpenPrinterBase::bDoesExistOnThisComputer(‘regex://^(Microsoft XPS Document Writer)’)
:black_small_square:;1000;23.01.2023 18:14:38.580;1;LL.Printer;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: CHECK PRINTER NAMES ‘^(Microsoft XPS Document Writer)’ and ‘OneNote (Desktop)’
:black_small_square:;1000;23.01.2023 18:14:38.580;1;LL.Printer;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: CHECK PRINTER NAMES ‘^(Microsoft XPS Document Writer)’ and ‘KONICA MINOLTA 558SeriesPCL’
:black_small_square:;1000;23.01.2023 18:14:38.580;1;LL.Printer;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: CHECK PRINTER NAMES ‘^(Microsoft XPS Document Writer)’ and ‘PDF24 Fax’
:black_small_square:;1000;23.01.2023 18:14:38.580;1;LL.Printer;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: CHECK PRINTER NAMES ‘^(Microsoft XPS Document Writer)’ and ‘PDF24’
:black_small_square:;1000;23.01.2023 18:14:38.580;1;LL.Printer;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: CHECK PRINTER NAMES ‘^(Microsoft XPS Document Writer)’ and ‘NPI122395 (HP Color LaserJet CP3525)’
:black_small_square:;1000;23.01.2023 18:14:38.580;1;LL.Printer;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: CHECK PRINTER NAMES ‘^(Microsoft XPS Document Writer)’ and ‘Microsoft XPS Document Writer’
:black_small_square:;1000;23.01.2023 18:14:38.580;1;LL.Printer;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: <clsOpenPrinterBase::bDoesExistOnThisComputer(‘regex://^(Microsoft XPS Document Writer)’) → yes (by regex::slight_smile:
:black_small_square:;1000;23.01.2023 18:14:38.581;1;LL.Generic;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: ** pass 0: branch=‘software\combit\cmbtll’: key ‘PDF.LegacyRenderingMode’ not found
:black_small_square:;1000;23.01.2023 18:14:38.581;1;LL.Generic;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: ** pass 1: branch=‘software\combit\cmbtll’ not found
:black_small_square:;1000;23.01.2023 18:14:38.581;1;LL.Generic;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: ** pass 2: branch=‘software\combit\cmbtll*’ not found
:black_small_square:;1000;23.01.2023 18:14:38.581;1;LL.Generic;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: ** pass 3: branch=‘software\combit\cmbtll*’ not found
:black_small_square:;1000;23.01.2023 18:14:38.582;1;LL.Generic;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: ** pass 4: branch=‘software\combit\cmbtll’: key ‘PDF.LegacyRenderingMode’ not found
:black_small_square:;1000;23.01.2023 18:14:38.582;1;LL.Generic;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: ** pass 5: branch=‘software\combit\cmbtll’ not found
:black_small_square:;1000;23.01.2023 18:14:43.950;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: >LlStgsysGetFilename(5FABF6B8,1,-1,0019BFE8,260)
:black_small_square:;1000;23.01.2023 18:14:43.950;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: <LlStgsysGetFilename() → 0 (00000000) [‘C:\Harmonia\XBASE\LEIH\Rechnung_4240001.LL’]
:black_small_square:;1000;23.01.2023 18:14:43.957;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: >LlStgsysGetFilename(5FABF6B8,1,-1,0019BFE8,260)
:black_small_square:;1000;23.01.2023 18:14:43.957;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: <LlStgsysGetFilename() → 0 (00000000) [‘C:\Harmonia\XBASE\LEIH\Rechnung_4240001.LL’]
:black_small_square:;1000;23.01.2023 18:14:43.958;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: >LsBLOBManagerAdd(0019B814)
:black_small_square:;1000;23.01.2023 18:14:43.958;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: <LsBLOBManagerAdd() → 00000005
:black_small_square:;1000;23.01.2023 18:14:43.958;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: >LlStgsysGetJob(5FABF6B8)
:black_small_square:;1000;23.01.2023 18:14:43.958;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: <LlStgsysGetJob() → 1 (00000001)
:black_small_square:;1000;23.01.2023 18:14:43.972;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: >LlStgsysSetJob(5FABF6B8,1)
:black_small_square:;1000;23.01.2023 18:14:43.972;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: <LlStgsysSetJob() → 0 (00000000)
:black_small_square:;1000;23.01.2023 18:14:43.972;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: >LlStgsysGetPageCount(5FABF6B8)
:black_small_square:;1000;23.01.2023 18:14:43.972;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: <LlStgsysGetPageCount() → 1 (00000001)
:black_small_square:;1000;23.01.2023 18:14:43.972;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: >LlStgsysGetPageOptionValue(5FABF6B8,1,18)
:black_small_square:;1000;23.01.2023 18:14:43.972;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: >LlStgsysGetPageOptionV(5FABF6B8,1,0019b770)
:black_small_square:;1000;23.01.2023 18:14:43.972;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: <LlStgsysGetPageOptionV() → 0 (00000000)
:black_small_square:;1000;23.01.2023 18:14:43.972;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: <LlStgsysGetPageOptionValue() → 1 (00000001)
:black_small_square:;1000;23.01.2023 18:14:43.972;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: >LlStgsysSetJob(5FABF6B8,1)
:black_small_square:;1000;23.01.2023 18:14:43.972;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: <LlStgsysSetJob() → 0 (00000000)
:black_small_square:;1000;23.01.2023 18:14:43.973;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: >LlStgsysGetPageCount(5FABF6B8)
:black_small_square:;1000;23.01.2023 18:14:43.973;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: <LlStgsysGetPageCount() → 1 (00000001)
:black_small_square:;1000;23.01.2023 18:14:43.973;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: >LlStgsysGetPageOptionValue(5FABF6B8,1,18)
:black_small_square:;1000;23.01.2023 18:14:43.973;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: >LlStgsysGetPageOptionV(5FABF6B8,1,0019b770)
:black_small_square:;1000;23.01.2023 18:14:43.973;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: <LlStgsysGetPageOptionV() → 0 (00000000)
:black_small_square:;1000;23.01.2023 18:14:43.973;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: <LlStgsysGetPageOptionValue() → 1 (00000001)
:black_small_square:;1000;23.01.2023 18:14:43.993;1;LL.Printer;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: 5FA814C8: get ‘nPaperFormat’ = 9
:black_small_square:;1000;23.01.2023 18:14:43.998;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: >LsBLOBManagerGetStream(82E638EC2C5040A02AA7807E28CD82DD)
:black_small_square:;1000;23.01.2023 18:14:43.998;2;LL.Generic;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: clsBLOBFileManageObject(5FABA7E8)::GetStream(82E638EC2C5040A02AA7807E28CD82DD)
:black_small_square:;1000;23.01.2023 18:14:43.998;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: <LsBLOBManagerGetStream() → 1 (00000001)
:black_small_square:;1000;23.01.2023 18:14:44.043;1;LL.NetFX;28B0;100:2=CMLL27​:diamonds:101:1=0; WRN: Could not convert image stream, pass 0
:black_small_square:;1000;23.01.2023 18:14:44.043;1;LL.NetFX;28B0;100:2=CMLL27​:diamonds:101:1=0; WRN: LS could not convert image stream, pass 0
:black_small_square:;1000;23.01.2023 18:14:44.043;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: >LsBLOBManagerGetStream(82E638EC2C5040A02AA7807E28CD82DD)
:black_small_square:;1000;23.01.2023 18:14:44.043;2;LL.Generic;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: clsBLOBFileManageObject(5FABA7E8)::GetStream(82E638EC2C5040A02AA7807E28CD82DD)
:black_small_square:;1000;23.01.2023 18:14:44.043;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: <LsBLOBManagerGetStream() → 1 (00000001)
:black_small_square:;1000;23.01.2023 18:14:44.192;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: >LlStgsysSetJob(5FABF6B8,1)
:black_small_square:;1000;23.01.2023 18:14:44.192;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: <LlStgsysSetJob() → 0 (00000000)
:black_small_square:;1000;23.01.2023 18:14:44.192;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: >LsBLOBManagerRemove(00000005)
:black_small_square:;1000;23.01.2023 18:14:44.192;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: <LsBLOBManagerRemove()
:black_small_square:;1000;23.01.2023 18:14:44.192;1;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: >event(5F98CDC8): m=c430, wp=00000002, lp=0019BCC0 stg=5FABF6B8
:black_small_square:;1000;23.01.2023 18:14:44.193;1;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: <event(5F98CDC8): m=c430 → 0
:black_small_square:;1000;23.01.2023 18:14:44.193;1;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: >event(5F98CDC8): m=c430, wp=00000022, lp=00000000 stg=5FABF6B8
:black_small_square:;1000;23.01.2023 18:14:44.193;1;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: <event(5F98CDC8): m=c430 → 0
:black_small_square:;1000;23.01.2023 18:14:44.194;1;LL.Mail;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: >SMAPI init
:black_small_square:;1000;23.01.2023 18:14:44.205;1;LL.Mail;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: Enhanced mode: bUseUTF8=0
:black_small_square:;1000;23.01.2023 18:14:44.205;1;LL.Mail;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: MAPI present: WIN.INI=1
:black_small_square:;1000;23.01.2023 18:14:44.205;1;LL.Mail;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: user defined client[1] is: ‘Microsoft Outlook’
:black_small_square:;1000;23.01.2023 18:14:44.205;1;LL.Mail;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: try attaching to ‘olmapi32.dll’
:black_small_square:;1000;23.01.2023 18:14:44.205;1;LL.Mail;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: try attaching to ‘msmapi32.dll’
:black_small_square:;1000;23.01.2023 18:14:44.206;1;LL.Mail;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: try loading mapi32.dll
:black_small_square:;1000;23.01.2023 18:14:44.208;1;LL.Mail;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: MAPI instance=67590000 (CompanyName=‘Microsoft Corporation’, FileDescription=‘Erweiterte MAPI 1.0 für Windows NT’, FileVersion=‘1.0.2536.0 (WinBuild.160101.0800)’)
:black_small_square:;1000;23.01.2023 18:14:44.208;1;LL.Mail;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: <SMAPI init
:black_small_square:;1000;23.01.2023 18:14:44.209;1;LL.Mail;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: >clsMAPI::Send(mode=0)
:black_small_square:;1000;23.01.2023 18:14:44.209;1;LL.Mail;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: >clsMAPI::Logon
:black_small_square:;1000;23.01.2023 18:14:44.209;1;LL.Mail;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: user defined client[1] is: ‘Microsoft Outlook’
:black_small_square:;1000;23.01.2023 18:14:44.209;1;LL.Mail;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: user defined client[1] is: ‘Microsoft Outlook’
:black_small_square:;1000;23.01.2023 18:14:44.238;1;LL.Mail;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: clsMAPI::Logon returns -2147467259, session handle 00000000
:black_small_square:;1000;23.01.2023 18:14:44.238;4;LL.Mail;28B0;100:2=CMLL27​:diamonds:101:1=0; ERR: LS: <clsMAPI::Logon failed: error (see exception)
:black_small_square:;1000;23.01.2023 18:14:44.239;4;LL.Generic;28B0;100:2=CMLL27​:diamonds:101:1=0; ERR: LS: EXCEPTION(Bei MAPI kann nicht angemeldet werden: 0x80004005)
:black_small_square:;1000;23.01.2023 18:14:44.276;1;LL.Internal;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: LS_VCSF_PREVIEW 0F4FA7A0
:black_small_square:;1000;23.01.2023 18:14:44.276;1;LL.Internal;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: LS_VCSF_PREVIEW 0F4FA7A0
:black_small_square:;1000;23.01.2023 18:14:44.292;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: >LlStgsysGetJobOptionStringEx(5FABF6B8,‘ExportFormats.Allowed’,644995B0,256)
:black_small_square:;1000;23.01.2023 18:14:44.292;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: <LlStgsysGetJobOptionStringEx() → 0 (00000000) [‘DOCX;FILE;HTML5;JSON;MHTML;MSFAX;PDF;PICTURE_BMP;PICTURE_EMF;PICTURE_JPEG;PICTURE_MULTITIFF;PICTURE_PNG;PICTURE_TIFF;PPTX;PRES;PRN;PRV;RTF;SVG;TTY;TXT;TXT_LAYOUT;XHTML;XLS;XML;XPS’]
:black_small_square:;1000;23.01.2023 18:14:44.292;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: >LlStgsysGetJobOptionStringEx(5FABF6B8,‘ExportFormats.Allowed’,64499DD0,256)
:black_small_square:;1000;23.01.2023 18:14:44.292;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: <LlStgsysGetJobOptionStringEx() → 0 (00000000) [‘DOCX;FILE;HTML5;JSON;MHTML;MSFAX;PDF;PICTURE_BMP;PICTURE_EMF;PICTURE_JPEG;PICTURE_MULTITIFF;PICTURE_PNG;PICTURE_TIFF;PPTX;PRES;PRN;PRV;RTF;SVG;TTY;TXT;TXT_LAYOUT;XHTML;XLS;XML;XPS’]
:black_small_square:;1000;23.01.2023 18:14:44.293;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: >LlStgsysGetJobOptionStringEx(5FABF6B8,‘ExportFormats.Allowed’,6449A1E0,256)
:black_small_square:;1000;23.01.2023 18:14:44.293;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: <LlStgsysGetJobOptionStringEx() → 0 (00000000) [‘DOCX;FILE;HTML5;JSON;MHTML;MSFAX;PDF;PICTURE_BMP;PICTURE_EMF;PICTURE_JPEG;PICTURE_MULTITIFF;PICTURE_PNG;PICTURE_TIFF;PPTX;PRES;PRN;PRV;RTF;SVG;TTY;TXT;TXT_LAYOUT;XHTML;XLS;XML;XPS’]
:black_small_square:;1000;23.01.2023 18:14:44.293;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: >LlStgsysGetJobOptionStringEx(5FABF6B8,‘ExportFormats.Allowed’,6449AE10,256)
:black_small_square:;1000;23.01.2023 18:14:44.293;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: <LlStgsysGetJobOptionStringEx() → 0 (00000000) [‘DOCX;FILE;HTML5;JSON;MHTML;MSFAX;PDF;PICTURE_BMP;PICTURE_EMF;PICTURE_JPEG;PICTURE_MULTITIFF;PICTURE_PNG;PICTURE_TIFF;PPTX;PRES;PRN;PRV;RTF;SVG;TTY;TXT;TXT_LAYOUT;XHTML;XLS;XML;XPS’]
:black_small_square:;1000;23.01.2023 18:14:44.293;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: >LlStgsysGetJobOptionStringEx(5FABF6B8,‘ExportFormats.Allowed’,644995B0,256)
:black_small_square:;1000;23.01.2023 18:14:44.293;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: <LlStgsysGetJobOptionStringEx() → 0 (00000000) [‘DOCX;FILE;HTML5;JSON;MHTML;MSFAX;PDF;PICTURE_BMP;PICTURE_EMF;PICTURE_JPEG;PICTURE_MULTITIFF;PICTURE_PNG;PICTURE_TIFF;PPTX;PRES;PRN;PRV;RTF;SVG;TTY;TXT;TXT_LAYOUT;XHTML;XLS;XML;XPS’]
:black_small_square:;1000;23.01.2023 18:14:44.293;1;LL.Printer;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: >clsOpenPrinterBase::bDoesExistOnThisComputer(‘regex://^(Microsoft XPS Document Writer)’)
:black_small_square:;1000;23.01.2023 18:14:44.293;1;LL.Printer;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: CHECK PRINTER NAMES ‘^(Microsoft XPS Document Writer)’ and ‘OneNote (Desktop)’
:black_small_square:;1000;23.01.2023 18:14:44.294;1;LL.Printer;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: CHECK PRINTER NAMES ‘^(Microsoft XPS Document Writer)’ and ‘KONICA MINOLTA 558SeriesPCL’
:black_small_square:;1000;23.01.2023 18:14:44.294;1;LL.Printer;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: CHECK PRINTER NAMES ‘^(Microsoft XPS Document Writer)’ and ‘PDF24 Fax’
:black_small_square:;1000;23.01.2023 18:14:44.294;1;LL.Printer;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: CHECK PRINTER NAMES ‘^(Microsoft XPS Document Writer)’ and ‘PDF24’
:black_small_square:;1000;23.01.2023 18:14:44.294;1;LL.Printer;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: CHECK PRINTER NAMES ‘^(Microsoft XPS Document Writer)’ and ‘NPI122395 (HP Color LaserJet CP3525)’
:black_small_square:;1000;23.01.2023 18:14:44.294;1;LL.Printer;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: CHECK PRINTER NAMES ‘^(Microsoft XPS Document Writer)’ and ‘Microsoft XPS Document Writer’
:black_small_square:;1000;23.01.2023 18:14:44.294;1;LL.Printer;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: <clsOpenPrinterBase::bDoesExistOnThisComputer(‘regex://^(Microsoft XPS Document Writer)’) → yes (by regex::slight_smile:
:black_small_square:;1000;23.01.2023 18:14:44.294;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: >LlStgsysGetJobOptionStringEx(5FABF6B8,‘ExportFormats.Allowed’,6449AE10,256)
:black_small_square:;1000;23.01.2023 18:14:44.294;2;LL.API;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: <LlStgsysGetJobOptionStringEx() → 0 (00000000) [‘DOCX;FILE;HTML5;JSON;MHTML;MSFAX;PDF;PICTURE_BMP;PICTURE_EMF;PICTURE_JPEG;PICTURE_MULTITIFF;PICTURE_PNG;PICTURE_TIFF;PPTX;PRES;PRN;PRV;RTF;SVG;TTY;TXT;TXT_LAYOUT;XHTML;XLS;XML;XPS’]
:black_small_square:;1000;23.01.2023 18:14:44.294;2;LL.Generic;28B0;100:2=CMLL27​:diamonds:101:1=0; LS: no fax pages found in this LL file

Hallo Ingo,

innerhalb der Log-Datei sieht man, dass Simple MAPI für den Mailversand als Schnittstelle verwendet wird. Das kann ein Grund sein, weswegen es nicht reibungslos läuft. Könntest du auf Extended MAPI (XMAPI) umstellen?

Da könnte z.B. der LsMailConfigurationDialog helfen, der vor dem Mailversand aufgerufen wird.

Klappt es mit Extended MAPI schon besser?

Moin Patrick,

ich habe jetzt ausprobiert, direkt nach dem Job-Open Extended MAPI einzustellen:

LlXSetParameter( xVar, LL_LLX_EXTENSIONTYPE_EXPORT, “”, “Export.Mail.Provider”, “XMAPI” )

(Das geht auch, denke ich(?) - LsMailConfigurationDialog kann ich nicht aufrufen, wenn ich den Aufruf in dem XBase-Programm aufrufe, passiert nichts - aber das liegt sicher an mir…?)

Das klappt leider nicht, die Fehlermeldungen haben sich aber geändert:

(1) MAPIIniitialize() failed, reason ‘Unbekannter Fehler (80004005)’
(2) Fehler beim Versand über MAPI: Der Versand per Mail schlug fehl: mail connection interface for ‘XMAPI’ could not be created (mail exchange library does not support that connection type)

Gibt das Log etwas her - kann ich etwas anderes ausprobieren?

Danke für Tipps!

Ingo

Der Debugger gibt aus:

:black_small_square:;1000;25.01.2023 13:00:44.395;1;LL.Printer;1FD0;100:2=CMLL27​:diamonds:101:1=0; LS: <clsOpenPrinterBase::bDoesExistOnThisComputer(‘regex://^(Microsoft XPS Document Writer)’) → yes (by regex::slight_smile:
:black_small_square:;1000;25.01.2023 13:01:08.533;1;LL.Mail;1FD0;100:2=CMLL27​:diamonds:101:1=0; LS: MX32: <clsXMAPIDLL::Initialize, successfully initialized=0
:black_small_square:;1000;25.01.2023 13:01:08.533;1;LL.Mail;1FD0;100:2=CMLL27​:diamonds:101:1=0; LS: MX32: >clsXMAPI::Logoff()
:black_small_square:;1000;25.01.2023 13:01:08.533;1;LL.Mail;1FD0;100:2=CMLL27​:diamonds:101:1=0; LS: MX32: >_MsgStore.ReleaseCount() = 0
:black_small_square:;1000;25.01.2023 13:01:08.533;1;LL.Mail;1FD0;100:2=CMLL27​:diamonds:101:1=0; LS: MX32: <_MsgStore.ReleaseCount() = 0
:black_small_square:;1000;25.01.2023 13:01:08.533;1;LL.Internal;1FD0;100:2=CMLL27​:diamonds:101:1=0; LS: LS_VCSF_PREVIEW 0FE1BA88
:black_small_square:;1000;25.01.2023 13:01:08.534;1;LL.Internal;1FD0;100:2=CMLL27​:diamonds:101:1=0; LS: LS_VCSF_PREVIEW 0FE1BA88
:black_small_square:;1000;25.01.2023 13:01:08.630;1;LL.Mail;1FD0;100:2=CMLL27​:diamonds:101:1=0; LS: MX32: <clsXMAPI::Logoff()
:black_small_square:;1000;25.01.2023 13:01:08.630;1;LL.Mail;1FD0;100:2=CMLL27​:diamonds:101:1=0; LS: MX32: >clsXMAPIDLL::Uninitialize(0,66BACAC0)
:black_small_square:;1000;25.01.2023 13:01:08.630;1;LL.Mail;1FD0;100:2=CMLL27​:diamonds:101:1=0; LS: MX32: <clsXMAPIDLL::Uninitialize
:black_small_square:;1000;25.01.2023 13:01:08.631;1;LL.Mail;1FD0;100:2=CMLL27​:diamonds:101:1=0; LS: MX32: <clsClassFactory::CreateInstance(00000000,‘{8A290726-5FB3-4240-B6C4-588DD6122861}’,0019B43C) → Zugriff verweigert (80070005)
:black_small_square:;1000;25.01.2023 13:01:08.631;4;LL.Generic;1FD0;100:2=CMLL27​:diamonds:101:1=0; ERR: LS: EXCEPTION(Der Versand per Mail schlug fehl: mail connection interface for ‘XMAPI’ could not be created (mail exchange library does not support that connection type))
:black_small_square:;1000;25.01.2023 13:01:08.631;1;LL.Generic;1FD0;100:2=CMMX27​:diamonds:101:1=0; 00001fd0:00000002-13:01:08.0631:[CMMX27.DLL 27.5.2022.24723] medium 3
:black_small_square:;1000;25.01.2023 13:01:08.631;1;LL.Generic;1FD0;100:2=CMMX27​:diamonds:101:1=0; clsMXLog::SetLogSlot(00000000)
:black_small_square:;1000;25.01.2023 13:01:26.363;1;LL.API;1FD0;100:2=CMLL27​:diamonds:101:1=0; LS: >event(0FD06C58): m=c430, wp=00000023, lp=0019B894 stg=6338F4A0
:black_small_square:;1000;25.01.2023 13:01:26.364;2;LL.Notification;1FD0;100:2=CMLL27​:diamonds:101:1=0; >@NOTIF.(code=107, param=0019B894, user=00000000)
:black_small_square:;1000;25.01.2023 13:01:26.364;2;LL.Notification;1FD0;100:2=CMLL27​:diamonds:101:1=0; <@NOTIF.(code=107) → 00000000

Da sind wir ja schon ein bisschen weiter, sehr gut :smiley:

Besteht die Möglichkeit, dass die eigene Anwendung und Outlook unterschiedliche Architekturtypen haben (32-bit vs. 64-bit)? Dann könnte das Registrieren des dazu passenden combit Mail-Proxy schon helfen.

Für etwaige Outlook-spezifische Lösungen haben wir einen separaten Knowledgebase-Artikel vorbereitet.

Wenn diese Informationen nicht dazu führen, dass eine eMail per Outlook versendet werden kann, dann würde ich mir gerne eine vollständige Log-Datei über einen Support-Case ansehen :slight_smile:

Moin Patrick,

danke für die Ausdauer!
Ich werde noch einmal sicherstellen, dass die beiden:
cmMP27.exe /regserver
cxMP27.exe /regserver
tatsächlich mit Admin-Rechten ausgeführt wurden (der Admin des Kunden hat das zwar bestätigt und “meine” App lässt sich ohne Admin-Rechte auch nicht installieren - das sollte also wirklich passiert sein.)

Der 2. Tipp mit der Reparaturinstallation gilt auch immer noch?
Dann werde ich den Admin bitten diese durchzuführen.

…und wenn das nicht hilft, eröffne ich einen Support-Case und schicke die komplette Log-Datei.

Schönen Feierabend,
Ingo

Ich drücke die Daumen, dass die Aktionen erfolgreich sein werden :+1:

Auf dem beroffenen PC wurde jetzt eine Office-Reparaturinstallation und FIXMAPI ausgeführt, leider ohne Erfolg.
Ich eröffne jetzt ein Support-Case mit 2 Debug-Protokollen, je eins mit SMAPI und XMAPI.

Ich habe diesen Support-Case übernommen.

Sobald wir neue Informationen zu einer Problemlösung haben, werde ich diese hier ebenso veröffentlichen.