Folgendes Szenario angenommen:
- Es wird eine Zertifizierungsstelle auf Windows Server Core installiert.
- Es wird das mit der Zertifizierungsstelle mitgelieferte SMTP Exit Modul konfiguriert.
- Die Zertifizierungsstelle versendet jedoch keine E-Mails.
- Im Ereignisprotokoll wird das Ereignis Nr. 46 mit folgender Fehlermeldung protokolliert:
The "Windows default" Exit Module "Initialize" method returned an error. Class not registered The returned status code is 0x80040154 (-2147221164). The Certification Authority was unable to initialize email messaging objects.
Ursache
Das "Windows Default" Exit Modul kann nicht auf Windows Server Core verwendet werden, da die für E-Mail Versand durch das Modul notwendigen Collaboration Data Objects (CDO) Bibliotheken hier nicht installiert sind.
Wenn die Funktionen nicht benötigt werden, kann das Exit Modul komplett deaktiviert werden.
Ein Beispielprojekt zur Erstellung eines eigenen Exit Moduls findet sich im Artikel "Ein Exit Modul für die Zertifizierungsstelle in C# erstellen".
Weiterführende Links:
- Ein Exit Modul für die Zertifizierungsstelle in C# erstellen
- Betreiben der Zertifizierungsstelle ohne Exit Modul
Externe Quellen
- AD CS Exit Module "Class Not Registered" Error (Microsoft TechNet Foren)
- Collaboration Data Objects (Wikipedia)
- How to use the Cdosys.dll library to send an e-mail message with attachments (Microsoft)
- Where to acquire the CDO Libraries (all versions) (Microsoft)
2 Gedanken zu „Das SMTP Exit Modul funktioniert nicht auf Windows Server Core“
Kommentare sind geschlossen.