Unknown Error (0x80005000)

  • Updated

Ektron Windows Service is not starting; Event Viewer, Security Configurator, or Debugging output shows the following:

 

EktronServiceController::TryStart(args=[NULL], sleepTime='240000')|LIN:514|********************************************************** EXCEPTION WAS RAISED: System.Runtime.InteropServices.COMException (0x80005000): Unknown error (0x80005000)    at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)    at System.DirectoryServices.DirectoryEntry.Bind()    at System.DirectoryServices.DirectoryEntry.get_IsContainer()    at System.DirectoryServices.DirectoryEntries.ChildEnumerator..ctor(DirectoryEntry container)    at Ektron.FileSync.Common.DataConfiguration.ReadIISInfo.GetIISSites()    at Ektron.FileSync.Common.DataConfiguration.ReadIISInfo..ctor()    at Ektron.FileSync.Common.DataConfiguration.ReadCMSConfigInfo.GetAllSitesUsingDirectoryService()    at Ektron.FileSync.Common.DataConfiguration.ReadCMSConfigInfo..ctor()    at Ektron.WindowsServices.Core.EktronServiceController.ReadAllSitesConfigurationInfo(List 1& siteInfo, List 1& conStrList)    at Ektron.WindowsServices.Core.EktronServiceController.TryStart(String[] args, Int32 sleepTime) File: c:\tfs\Products\CMS\SP\v90\v900\CoreService\Ektron.WindowsServices.Core\EktronServiceController.cs **********************************************************.  Call Stack: TryStart RecursiveStartUpRetryHandler RecursiveStartUpRetryHandler_ErrorHandler RecursiveStartUpRetryHandler RecursiveStartUpRetryHandler_ErrorHandler RecursiveStartUpRetryHandler DoStart RunInternal Run Run ThreadStart

 

1) Check 'Windows features' or 'Role Services' for IIS6 Metabase compatibility, add if missing:

Unknown Error

2) If that fails you may have a corrupt metabase.xml file in the system32\inetsrv folder. 

  1. First rename the current metabase.xml file in this folder.
    C:\Windows\System32\Inetsrv\
  2. Copy a previous version of that file that is from a date when Ektron Windows Service starts were working from the below directory into the \Inetsrv folder. 
    C:\Windows\System32\Inetsrv\History
  3. Attempt a restart of the Ektron Windows Service and check to see that the service started successfully. 

Server 2019 Instructions

  1. Open Server Manager.
  2. In the Server Roles section enable IIS 6 Metabase compatibility. 

2023-05-04_12_51_06-Remote_Desktop_Manager_Free__svmzb1134266_StewMac_.png