Article ID: 931354 - Last Review: February 9, 2007 - Revision: 1.1 Event ID 77 is logged in the Application log when the CertSvc service starts on a CA server that is running Windows Server 2003 with Service Pack 1SYMPTOMSAfter you install Microsoft Windows Server 2003 Service Pack 1 (SP1) on a certification authority (CA) server, the following event may be logged many times in the Application log when the Certificate Services (CertSvc) service starts: Event Type: Warning Event Type: Warning WORKAROUNDTo work around this problem, follow these steps:
MORE INFORMATIONAn enterprise CA server that is running Windows Server 2003, Standard Edition can issue only certificates that are based on Windows 2000-style version 1 templates. Therefore, you do not have to update the schema to
install a Windows Server 2003-based CA server in a Windows 2000-based domain. Windows Server 2003 SP1 includes new code to enable template auditing. The new code specifically looks for Windows Server 2003 schema attributes when the code enumerates templates. If you do not update the schema, the schema attributes are not present. Therefore, the CA server cannot load any of the templates in the Active Directory directory service. When the CertSvc service starts, the CA server looks for the msPKI-Template-Minor-Revision attribute when the CA server tries to enumerate the templates. Therefore, event 77 is logged. The msPKI-Template-Minor-Revision attribute is not present in the Windows 2000 schema. Therefore, this attribute is not instantiated on the template object. Because the templates cannot be successfully enumerated, the templates are not loaded into the in-memory cache that the CertSvc service maintains. The Certification Authority snap-in shows the templates in the Certificate Templates folder. If you add or remove these templates, the pKIEnrollmentServices object is updated in Active Directory. When the CertSvc service tries to view the pKIEnrollmentServices object to see what templates the object is supposed to load, the CertSvc service fails. You can verify that templates have not loaded by enabling debug logging for the CertSvc service and then restarting the service. To do this, follow these steps:
Opened Log: <Date> <Time> certcli.dll: 5.2.3790.1830 retail (srv03_sp1_rtm.050324-1447) certsrv.exe: 5.2.3790.1830 retail (srv03_sp1_rtm.050324-1447) 439.99.0: 0x80070716 (WIN32: 1814) 508.1588.0: 0x80070716 (WIN32: 1814) 439.99.0: 0x80070716 (WIN32: 1814) 508.1588.0: 0x80070716 (WIN32: 1814) 439.99.0: 0x80070716 (WIN32: 1814) 508.1588.0: 0x80070716 (WIN32: 1814) 439.99.0: 0x80070716 (WIN32: 1814) 508.1588.0: 0x80070716 (WIN32: 1814) 439.99.0: 0x80070716 (WIN32: 1814) 508.1588.0: 0x80070716 (WIN32: 1814) 439.99.0: 0x80070716 (WIN32: 1814) 508.1588.0: 0x80070716 (WIN32: 1814) 439.99.0: 0x80070716 (WIN32: 1814) 508.1588.0: 0x80070716 (WIN32: 1814) 439.99.0: 0x80070716 (WIN32: 1814) 508.1588.0: 0x80070716 (WIN32: 1814) 439.99.0: 0x80070716 (WIN32: 1814) 508.1588.0: 0x80070716 (WIN32: 1814) 439.99.0: 0x80070716 (WIN32: 1814) 508.1588.0: 0x80070716 (WIN32: 1814) 508.1334.0: 0x80070002 (WIN32: 2): AlternatePublishDomains 513.14724.0: 0x80070490 (WIN32: 1168): CAExchange 508.2045.0: 0x80070490 (WIN32: 1168) CertSrv: Opening Database C:\WINDOWS\system32\CertLog\Enterprise Root CA.edb CertSrv: Database open 1006.1328.0: 0x80070490 (WIN32: 1168): msPKI-Template-Minor-Revision 1004.4460.0: 0x80070490 (WIN32: 1168): ExchangeUser 1006.1328.0: 0x80070490 (WIN32: 1168): msPKI-Template-Minor-Revision 1004.4460.0: 0x80070490 (WIN32: 1168): EFSRecovery 1006.1328.0: 0x80070490 (WIN32: 1168): msPKI-Template-Minor-Revision 1004.4460.0: 0x80070490 (WIN32: 1168): EFS 1006.1328.0: 0x80070490 (WIN32: 1168): msPKI-Template-Minor-Revision 1004.4460.0: 0x80070490 (WIN32: 1168): DomainController 1006.1328.0: 0x80070490 (WIN32: 1168): msPKI-Template-Minor-Revision 1004.4460.0: 0x80070490 (WIN32: 1168): WebServer 1006.1328.0: 0x80070490 (WIN32: 1168): msPKI-Template-Minor-Revision 1004.4460.0: 0x80070490 (WIN32: 1168): Machine 1006.1328.0: 0x80070490 (WIN32: 1168): msPKI-Template-Minor-Revision 1004.4460.0: 0x80070490 (WIN32: 1168): User 1006.1328.0: 0x80070490 (WIN32: 1168): msPKI-Template-Minor-Revision 1004.4460.0: 0x80070490 (WIN32: 1168): SubCA 1006.1328.0: 0x80070490 (WIN32: 1168): msPKI-Template-Minor-Revision 1004.4460.0: 0x80070490 (WIN32: 1168): Administrator CertSrv: Policy Module Enabled (Windows default) CertSrv: Exit Module[1] Enabled: 7f (Windows default) CertSrv: Certification Authority Service Ready (13s) DC=W2K-SRV-01.windows2000.com ... CertSrv: Base + Delta CRL Publishing Enabled, TimeOut=84325s, 23 Hours, 25 Minutes, 25 Seconds 429.2137.0: 0xffffffff (ESE: -1) 809.78.0: 0x80072095 (WIN32: 8341) CertSrv: Certification Authority Service Stopped 503.2452.0: 0x0 (WIN32: 0) CertSrv: Exit Status = S_OK
After you update the schema, update the templates, and restart the CA server, the Certsrv.log file contains entries that resemble the following: Opened Log: <Date> <Time> certcli.dll: 5.2.3790.1830 retail (srv03_sp1_rtm.050324-1447) certsrv.exe: 5.2.3790.1830 retail (srv03_sp1_rtm.050324-1447) 439.99.0: 0x80070716 (WIN32: 1814) 508.1588.0: 0x80070716 (WIN32: 1814) 439.99.0: 0x80070716 (WIN32: 1814) 508.1588.0: 0x80070716 (WIN32: 1814) 439.99.0: 0x80070716 (WIN32: 1814) 508.1588.0: 0x80070716 (WIN32: 1814) 439.99.0: 0x80070716 (WIN32: 1814) 508.1588.0: 0x80070716 (WIN32: 1814) 439.99.0: 0x80070716 (WIN32: 1814) 508.1588.0: 0x80070716 (WIN32: 1814) 439.99.0: 0x80070716 (WIN32: 1814) 508.1588.0: 0x80070716 (WIN32: 1814) 439.99.0: 0x80070716 (WIN32: 1814) 508.1588.0: 0x80070716 (WIN32: 1814) 439.99.0: 0x80070716 (WIN32: 1814) 508.1588.0: 0x80070716 (WIN32: 1814) 439.99.0: 0x80070716 (WIN32: 1814) 508.1588.0: 0x80070716 (WIN32: 1814) 439.99.0: 0x80070716 (WIN32: 1814) 508.1588.0: 0x80070716 (WIN32: 1814) 508.1334.0: 0x80070002 (WIN32: 2): AlternatePublishDomains CertSrv: Opening Database C:\WINDOWS\system32\CertLog\Enterprise Root CA.edb CertSrv: Database open 1004.4374.0: 0x80094800 (-2146875392): EnrollmentAgent 1004.4374.0: 0x80094800 (-2146875392): ExchangeUser 1004.4374.0: 0x80094800 (-2146875392): EFSRecovery 1004.4374.0: 0x80094800 (-2146875392): EFS 1004.4374.0: 0x80094800 (-2146875392): DomainController 1004.4374.0: 0x80094800 (-2146875392): WebServer 1004.4374.0: 0x80094800 (-2146875392): Machine 1004.4374.0: 0x80094800 (-2146875392): User 1004.4374.0: 0x80094800 (-2146875392): SubCA 1004.4374.0: 0x80094800 (-2146875392): Administrator CertSrv: Policy Module Enabled (Windows default) CertSrv: Exit Module[1] Enabled: 7f (Windows default) CertSrv: Certification Authority Service Ready (17s) DC=W2K-SRV-01.windows2000.com ... CertSrv: Base + Delta CRL Publishing Enabled, TimeOut=81098s, 22 Hours, 31 Minutes, 38 Seconds In Windows Server 2003 SP1, the Certsrv.exe program is missing 10 resource strings. Windows Server 2003 SP1 looks for the missing resource strings in the Ws03res.dll file. Therefore, these log entries are expected. These entries are not related to the template issues. The following trace entries are each logged 10 times in the Certsrv.log file:
1004.4374.0: 0x80094800 (-2146875392): EnrollmentAgent
When the CA server starts, the list in memory is empty. One such log entry appears for each template that the CA is configured to issue because the Windows Server 2003 SP1 code that loads templates cannot find
the template in the list in memory. Therefore, each template causes one debug trace entry.This behavior does not cause any problems. REFERENCES
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
910249
(http://support.microsoft.com/kb/910249/
)
You may receive a "The request contains no certificate template information" error message when you submit a CSR to an enterprise CA by using the Certification Authority Microsoft Management Console (MMC) snap-in in Windows Server 2003
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
922423
(http://support.microsoft.com/kb/922423/
)
Error message when you try to directly send a new SSL server certificate request to a CA service after you upgrade from Exchange 2000 Server to Exchange Server 2003: "Access is denied"
APPLIES TO
| Article Translations
|
Back to the top
