SharePoint Integration / General Use |
Add the AgilePoint TaskList control web part to the SharePoint site. One of the users get the following error in the web part:
Current User: [domainname]\[username], Error: Value does not fall within the expected range.
Other users do not have this error in the web part.
The following error is shown in the log file:
12/3/2005 7:32:08 PM>>CreateChildControls ... begin on 12/3/2005 7:32:08 PM 12/3/2005 7:32:10 PM>>System.ArgumentException: Value does not fall within the expected range. at Microsoft.SharePoint.SPFileCollection.get_Item(String urlOfFile) at Microsoft.SharePoint.SPFile.c() at Microsoft.SharePoint.SPFile.d() at Microsoft.SharePoint.SPFile.get_Properties() at Ascentn.Workflow.APWP.TaskNumber.CreateChildControls() InnerException: 12/3/2005 7:32:10 PM>>CreateChildControls ... end on 12/3/2005 7:32:10 PM
The error is caused by the Microsoft SharePoint API failed to retrieve the property information about a document based on the document URL.
This is normally caused by the document library or the document itself does not exist. Usually happens in a testing environment that some libraries or documents are removed while the process instances are still running.