DA export fails with error - Failed to retrieve: An internal failure occurred. Internal Error: 'Unspecified error [0x80004005]'

book

Article ID: 100009125

calendar_today

Updated On:

Description

Error Message

Failed to retrieve: An internal failure occurred. Internal Error: 'Unspecified error [0x80004005]'
 

Cause

A file named EVManagedSecurityWrapper.dll is missing from the Discovery Accelerator (DA) installation folder.  This file is needed to complete the processing of items that are larger than a certain size, mostly with attachments of that minimum size.  This issue is made evident by the flowing conditions:

  1. When performing a DA export, Items less that 4 MB can be exported without issue, but items greater than 4 MB fail to export
  2. Verified that the problem items can be retrieved via Browser Search (using "View Whole Items" message can be retrieved as *.eml files)

Dtrace of the AcceleratorService process while reproducing the issue shows the following:

(AcceleratorService)        EV-H    {MEMORYFILESTREAM.EN_US} Exception: Could not load file or assembly 'EVManagedSecurityWrapper, Version=1.0.0.0, Culture=neutral, PublicKeyToken=26c5e2ccf2b9267c' or one of its dependencies. The system cannot find the file specified. Info: Diag: Type:System.IO.FileNotFoundException ST:   at KVS.EnterpriseVault.Common.MemoryFileStream.SetupOverflowStream()|   at KVS.EnterpriseVault.Common.MemoryFileStream.WriteBytes(Byte[] array, Int32 offset, Int32 count) Inner:None

(AcceleratorService)    <7156>    EV:L    CSequentialStream::CopyTo (CItem::CopyStreamToIUnknown) Buffer Size:64K Read:4.063MB (4259840 bytes) Written:4.000MB (4194304 bytes) hr=Unspecified error  (0x80004005) Elapsed:10452.1ms


Additional Logging (Fusion Log) shows:

=== Pre-bind state information ===
LOG: User = KVS\evservice
LOG: DisplayName = EVManagedSecurityWrapper, Version=1.0.0.0, Culture=neutral, PublicKeyToken=26c5e2ccf2b9267c
(Fully-specified)
LOG: Appbase = file:///C:/Program Files (x86)/Enterprise Vault Business Accelerator/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = NULL
Calling assembly : KVS.EnterpriseVault.Runtime, Version=10.0.1.0, Culture=neutral, PublicKeyToken=26c5e2ccf2b9267c.

===

LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Program Files (x86)\Enterprise Vault Business Accelerator\AcceleratorService.exe.Config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Post-policy reference: EVManagedSecurityWrapper, Version=1.0.0.0, Culture=neutral, PublicKeyToken=26c5e2ccf2b9267c
LOG: GAC Lookup was unsuccessful.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/Enterprise Vault Business Accelerator/EVManagedSecurityWrapper.DLL.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/Enterprise Vault Business Accelerator/EVManagedSecurityWrapper/EVManagedSecurityWrapper.DLL.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/Enterprise Vault Business Accelerator/EVManagedSecurityWrapper.EXE.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/Enterprise Vault Business Accelerator/EVManagedSecurityWrapper/EVManagedSecurityWrapper.EXE.
LOG: All probing URLs attempted and failed.


- Issue appears to be due to EVManagedSecurityWrapper.dll not being found in the Enterprise Vault Business Accelerator installation folder.

 

Resolution

Workaround:

On the DA server while logged on as the Vault Service Account (VSA),

  1. Add the path to the Enterprise Vault installation folder to the PATH variable settings -
    1. Access the System application using any method preferred (i.e., right click on the Start menu, select the Control Panel option, then select the System icon).
    2. Click on the Advanced System Settings link.
    3. Click on the Environment Variables button.
    4. In the window for the User variables for {VSA.EN_US}, ensure the Path variable is selected.
    5. Click the Edit... button.
    6. Press the Home button to go to the beginning of the Variable value: field.
    7. Enter the path to the Enterprise Vault installation folder, followed by a semicolon (i.e., C:\Program Files (x86)\Enterprise Vault;)
    8. Click the OK button to save the change.
    9. Click the OK button twice to return to the System application.
    10. Close the System application.
  2. Copy the EVManagedSecurityWrapper.dll file from the Enterprise Vault installation folder to the Enterprise Vault Business Accelerator installation folder.
  3. Restart the Enterprise Vault Accelerator Manager Service (EVAMS).
  4. Log off of the DA server as appropriate.

On the workstation with the DA Client while logged on with an account that has permissions to run exports,

  1. Launch the DA Client if it had been closed, or refresh the cache on the client by holding the Ctrl button and clicking on the Veritas logo in the lower right corner of the Client display.
  2. Re-run or retry the DA export.

 Notes:

1. The default installation folder for Enterprise Vault on 32-bit Windows Servers is 'C:\Program Files\Enterprise Vault\', and on 64-bit servers is 'C:\Program Files (x86)\Enterprise Vault'.
2. The default installation folder for Discovery Accelerator on 32-bit Windows Server is 'C:\Program Files\Enterprise Vault Business Accelerator, and on 64-bit servers is 'C:\Program Files (x86)\Enterprise Vault Business Accelerator'.

3. EVManagedSecurityWrapper.dll was introduced in EV 9.0.3. If the Discovery Accelerator server having this issue is connected to an environment that Enterprise Vault server version is less than 9.0.3, the same will need to be upgraded to 9.0.3 or higher. 

NOTE:

After an upgrade the copied files may not get upgraded and this procedure will have to be performed again for the current version. 

There are currently no plans to address this issue wby way of a patch or hotfix in the current or previous versions of the software at the present time. This issue may be resolved in a future major revision of the software at a later time. However, this particular issue is not currently scheduled for any release.  If you feel this issue has a direct business impact for you and your continued use of the product, please contact your Veritas Sales representative or the Veritas Sales group to discuss these concerns.  For information on how to contact Veritas Sales, please see https://www.veritas.com

 

 

Applies To

EV and DA servers upgraded to 10.0 SP1 through 10.0 SP4, 11.0 SP1
Windows Server 2008 R2
Windows Server 2003 SP2 (x64)
Lotus Notes 8.0.1 or 8.5.2 FP2
Lotus Domino 8.0.1 or 8.5.2 FP2

Issue/Introduction

After upgrading to Enterprise Vault (EV)10.0 SP1 binaries on both Enterprise Vault (EV) and Discovery Accelerator (DA) servers, DA export fails with error for items greater than 4 MB. The same issue still exists with EV 10.0.4 and 11.0.1.

Additional Information

ETrack: 2883978