May 3, 2011 at 7:12 am
Hi,
I am receiving the following webpage error when trying to export a standard and simple report builder matrix report as an excel file:
Server Error in '/Reports' Application.
--------------------------------------------------------------------------------
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Exception: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
I have worked with reporting services for a while now and never seen this error before. All my other reports export fine. I am using SQL Server 2005 with Reporting Services and Internet Explorer 7.
Can anyone offer any help??
May 4, 2011 at 12:36 am
Does the report use any embedded code?
May 4, 2011 at 5:56 am
I have resolved the problem.
The report contained a free standing textbox containing the expression =(Now). In order to display the current date/time.
After replacing the expression with =Now (i.e. removing the brackets) the report exports fine.
This seems like a small Microsoft bug to me.
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply