Move Archive fails during copy stage when encountering a corrupt attachment. Internal Error: 'The parameter is incorrect. (0x80070057)'

Article:TECH186000  |  Created: 2012-04-06  |  Updated: 2013-06-13  |  Article URL http://www.symantec.com/docs/TECH186000
NOTE: If you are experiencing this particular known issue, we recommend that you Subscribe to receive email notification each time this article is updated. Subscribers will be the first to learn about any releases, status changes, workarounds or decisions made.
Article Type
Technical Solution

Product(s)

Environment

Issue



When Storage encounters a corrupt attachment on a message, during a Move Archive process (Copy Stage) this can fail the Move Archive process with the error 'The parameter is incorrect.  (0x80070057)'.


Error



During Move Archive, the Move Archive fails, with the following error in the Move Archive report:

An error was encountered while processing an item. Enterprise Vault will try again later unless the retry count has been reached. Item: <TransactionID>. Exception: Source item saveset ID: <SavesetID>. CM API error code: 0x80040306. CM API error: An internal failure occurred. Internal Error: 'The parameter is incorrect.  (0x80070057)'.. Inner storage error code: 0x80070057. Inner storage error description: The parameter is incorrect. ..

The following error is returned in the Enterprise Vault Event Log:
   
Event Type: Error
Event Source: Enterprise Vault
Event Category: Move Archive Task
Event ID: 41226
Date:  <Date>
Time:  <Time>
User:  N/A
Computer: EVAULT1
Description:
An error was encountered while processing an item. Enterprise Vault will try
again later unless the retry count has been reached.

Item: <TransactionID>

Archive: <ArchiveID>
Exception: Source item saveset ID: <SavesetID>. CM API
error code: 0x80040306. CM API error: An internal failure occurred. Internal
Error: 'The parameter is incorrect.  (0x80070057)'.. Inner storage error code:
0x80070057. Inner storage error description: The parameter is incorrect. .   at
KVS.EnterpriseVault.Interop.IItem2.CopyTo(IItem DestinationItem)
   at
KVS.EnterpriseVault.MoveArchiveTask.ItemProcessor.CopyItem(QueuedSourceItem
sourceitem, IContentManagementAPI4 cmAPImaThread, String& srcSSID, String&
destSSID).

When attempting to perform a Dumpsaveset of the item with the EVSVR utility, the follow error is reported:

Getting native item
ERROR: Failed to get native item. Error: %s
The parameter is incorrect.  (0x80070057)
ERROR: GetRecombinedSaveset failed. Error: The parameter is incorrect.  (0x80070057)

Dtrace of EVSVR returns the following error when attempting to access an embedded attachment:

(evsvr)    <5592>    EV:L    {FIXBODY.EN_US} (Entry)
(evsvr)    <5592>    EV:L    FixBody: Attachment is an embedded message
(evsvr)    <5592>    EV:H    FixBody _com_error exception. hr=The parameter is incorrect.  (0x80070057)
(evsvr)    <5592>    EV:H    {FIXBODY.EN_US} (Exit) Status: [The parameter is incorrect.  (0x80070057)]


Cause



The embedded attachment is corrupt, which causes the recombine process to fail.


Solution



Workaround:
 
Delete the corrupt item from the archive.


This issue has been addressed as part of the following release:


Enterprise Vault 10.0.2 - Release Details
http://www.symantec.com/docs/TECH147789


Supplemental Materials

SourceETrack
Value2709150
Description

Storage : Items with embedded corrupt attachments fail to recombine with "FixBody _com_error exception. hr=The parameter is incorrect.", which causes Move Archive to fail.


SourceETrack
Value2825091
Description

 Storage : Items archived Pre-Bauer fail to recombine with "FixBody _com_error exception. hr=The parameter is incorrect.", which causes Move Archive to fail.



Article URL http://www.symantec.com/docs/TECH186000


Terms of use for this information are found in Legal Notices