Move Archive job fails on items during Step 1 with Error: 'Invalid class string (0x800401f3)'.

book

Article ID: 100047563

calendar_today

Updated On:

Description

Error Message

Any errors occurred during the Move Archive job can be seen in the Move Archive Error file (Default Location: %Installation Directory%\Enterprise Vault\Reports\Move Archive)

Example:

15/12/2010 15:15:08 Step 1 of 5 - Copying.

An internal failure occurred. Internal Error: 'Invalid class string  (0x800401f3)'.      800401f3              Invalid class string

A Dtrace of EVMoveArchiveTask shows the following error:

53    14:13:22.204     [11428]    (EVMoveArchiveTask)    <14296>    EV:L    CIndexData::CreateInstance Creating delegate SimpleIndexMetadata instance hr=Invalid class string  (0x800401f3)
54    14:13:22.204     [11428]    (EVMoveArchiveTask)    <14296>    EV:H    {CItem::get_IndexData} HRXEX fn trace : Error [0x800401f3], [d:\builds\16\ev\v-m-s\sources\source\storage\evstorageapi\item.cpp, lines {2626,2640}, built Aug 15 09:12:41 2017].
55    14:13:22.204     [11428]    (EVMoveArchiveTask)    <14296>    EV:M    CItem::get_IndexData com_error raised Error [0x800401f3] (err=800401f3)
56    14:13:22.204     [11428]    (EVMoveArchiveTask)    <14296>    EV-L    {ItemProcessor.CopyItem} Exception thrown for item 9134B6AF1AFBDB015D232C4048155661. Exception: System.Runtime.InteropServices.COMException (0x80040306): An internal failure occurred. Internal Error: 'Invalid class string  (0x800401f3)'.|   at KVS.EnterpriseVault.Interop.IArchiveMetaData6.get_IndexData()|   at KVS.EnterpriseVault.MoveArchiveTask.ItemProcessor.CopyItem(QueuedSourceItem sourceitem, IContentManagementAPI4 cmAPImaThread, String& srcSSID, String& destSSID, Int32 localRetryCount)

Cause

The above issue may occur if the “KVS.EnterpriseVault.Common.dll” is not registered successfully with Microsoft .Net during the Upgrade / Installation of Enterprise Vault binaries.

Resolution

This issue can be resolved by manually registering the "KVS.EnterpriseVault.Common.dll" with Microsoft .Net.

Steps to be taken:

1. Stop the Enterprise Vault Admin Service.

2. Open command prompt in elevated mode and navigate to the Enterprise Vault installation directory.

3. Run the below command one after another:

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

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

4. Start the Enterprise Vault Admin Service and retry the Move Archive. It should start copying the data to the destination Archive.

Issue/Introduction

Step 1 of the Move Archive process is the 'Copying' Stage during which archived items are identified in the source archive and then copied to the destination archive. If there is an error during this process, the Move Archive job will fail.