Enterprise Vault (EV) is unable to archive SharePoint files if the url is blank.

Article:TECH202827  |  Created: 2013-02-15  |  Updated: 2013-02-20  |  Article URL http://www.symantec.com/docs/TECH202827
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)

Problem



 

SharePoint items are not being archived if there is no default view for the list.   An exception will be raised during the archiving run and the archiving process will stop and not continue to process other lists in the site. 


Error



The following will be seen in a Dtrace of the EvSharePointArchiveTask process on the EV server:

 

(EvSharePointArchiveTask) <11541> EV-H {SPWALKER.EN_US} Error processing libraries for the site http://sharepointserver.local/sites/site_name  System.ArgumentOutOfRangeException: Length cannot be less than zero.|Parameter name: length|   at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)|   at KVS.EnterpriseVault.SharePointArchive.DataObjects.SPList.get_Path()|   at KVS.EnterpriseVault.SharePointArchive.Framework.SPWalker.WalkSite(SPSite site, Boolean archiveThisSite, Target siteTarget, String siteArchiveFolderVEID)


Solution



Workaround

Create or modify the view for the list and check the Make this the default view checkbox to ensure it is properly configured.   In order to add or modify the view the user account must have administrator rights to the site. 

 

1.  Login to the SharePoint site using an account that has administrator rights. 

 

2.  Click on the drop-down next to View and choose to Modify this view or Create view.

 

3.  Select the items to display in the view and check the Make this the default view checkbox and click OK.

 

Once a default view has been set the EvSharePointArchiveTask process should no longer return the error. 

 

 

Symantec Corporation has acknowledged that the above-mentioned issue is present in the current version(s) of the product(s) mentioned at the end of this article. Symantec Corporation is committed to product quality and satisfied customers.

 

This issue is currently under investigation by Symantec Corporation. Pending the outcome of the investigation, this issue may be resolved by way of a patch or hotfix in current or future revisions of the software. 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 Symantec Sales representative or the Symantec Sales group to discuss these concerns.  For information on how to contact Symantec Sales, please see http://www.symantec.com .

 

Please be sure to refer back to this document periodically as any changes to the status of the issue will be reflected here.


Supplemental Materials

SourceETrack
Value3083403
Description

Unable to archive SharePoint target when the url returns blank- System.ArgumentOutOfRangeException: Length cannot be less than zero.




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


Terms of use for this information are found in Legal Notices