Provisioning Task and Index Administration Task Show "Error" Status.

book

Article ID: 100033715

calendar_today

Updated On:

Description

Error Message

Exchange Provisioning Task will show the status of Error.
Index Administration Task will show a status of Error.

Setting or clearing all index locations for back up mode from Site settings will generate the following popup:

"Unable to notify the indexing service on the following computers - Computer EVServer1 reason: class not registered"

A Dtrace of the TaskController process while starting up the Task Controller service will show the following:


(TaskController)    <13056>    EV:L    {CSecurityWrapper::IsServerClientTheVSA:#895} Client server is running as VSA: [True] (in a client COM call: [False]).
(TaskController)    <13056>    EV:L    {CSecurityWrapper::HasServerClientGotPermission:#540} Client is VSA. Access granted.
(TaskController)    <13056>    EV:M    CServerManager: CheckPermissions() - HR:0
(TaskController)    <13056>    EV:H    {CDotNetTask::StopTask} (Exit) Status: [Exception occurred.  (0x80020009)]
(TaskController)    <15952>    EV:H    The Enterprise Vault .NET Server Manager component isn't registered.|(HKEY_CLASSES_ROOT\KVS.EnterpriseVault.SystemServerManager)
(TaskController)    <15952>    EV:H    CDotNETServerManager::ServerManagerInvoke Start not invoked. Server Manager not active.


Additionally, a review of the registry will show the following key as missing:

HKEY_CLASSES_ROOT\KVS.EnterpriseVault.SystemServerManager

Cause

This issue could occur if the KVS.EnterpriseVault.ServerManager.dll file is unregistered.  This file is located in the EV installation path.  The default EV installation path is C:\Program Files (x86)\Enterprise Vault, which will be used in the command examples to follow.

This file deregistration can occur in an incomplete or corrupted FileReRegister.bat run in which the unregister command in the .bat file causes the KVS.EnterpriseVault.ServerManager.dll file to be unregistered:

"C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe" /unregister /verbose "C:\Program Files (x86)\Enterprise Vault\KVS.EnterpriseVault.ServerManager.dll"

The subsequent command may have been removed from the bat file and, as a result, the DLL never gets reregistered when running FileReRegister.bat.

"C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe" /tlb /codebase /verbose "C:\Program Files (x86)\Enterprise Vault\KVS.EnterpriseVault.ServerManager.dll"


Resolution

The resolution for the issue would be to complete the following steps so that the DLL is registered properly.

1) Stop all of the Enterprise Vault services on the EV server by stopping the Enterprise Vault Admin Service and agreeing to stop the remaining services listed in the pop-up window that will appear.
2) Open a command prompt on the EV Server as Administrator.
3) Execute the following command:
"C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe" /tlb /codebase /verbose "C:\Program Files (x86)\Enterprise Vault\KVS.EnterpriseVault.ServerManager.dll"
 

Issue/Introduction

In the Vault Administration Console (VAC), the Exchange Provisioning Task and Index Administration Task will show a status of Error. Attempts to start or edit the tasks will fail with no change. An additional symptom may be that when attempting to either Set Backup Mode on all index locations or Clear Backup Mode from all index locations from the properties of the Site settings, a pop message up will appear as follows:

"Unable to notify the indexing service on the following computers - Computer EVServer1 reason: class not registered"

However, when viewing the Index Locations tab on the properties of the indexing service, the action to set or clear back up mode will have occurred.

The issue may occur after running FileReregister.bat.