I can reproduce the issue simply by creating a new report, adding a chart to it with a simple dataset. The report looks fine in visual studio but fails with the "Index was out of range" error when deploying to the server. I also had a coworker reproduce it with the same simple steps. (I can upload the same report if I delete the chart)
Here are our specs: Visual Studio 2008 Version 9.0.30729.4462 QFE
The version of the SSRS is 2008 Service Pack 1 (10.0.2766) (I believe this includeds CU7)
It may be an issue with having 2008 R2 installed locally while the server does not have R2.
What is weird is that I have added charts before to a report without error (with current SW versions). In fact I went back to that report that had a chart on it and I could push it without issue, so it appears it is only new instances of charts. Could this have anything to do with the windows update that just came out yesterday?
Need help please!
Update: The chart is just the default chart taken from the tool box. I bind it to a dataset but do nothing else. If it is an R2 issue, I do not know what feature(s) to turn off. From what I have read there were not any major changes to the chart for R2 (other than a few new types). If you have a link to a detailed list of features that would force R2, please provide. I will post the full message on Monday when I get back to work. Thanks!
Here is the total error message: An unexpected error occurred in Report Processing. (rsInternalError) Get Online Help
Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index |
Also, the xml in the rdl file indicates version 2008/01 which I think means it is still just 2008 (not R2).
Hope that helps!