We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Exception Details: System.Exception: Cannot find index. when exporting Reporting Services report to word

I have a Reporting Services 2005 report that is giving me a error when i try to export it to word using ASPOSE.Words (v2.2.0.0). It runs and exports fine to default renderer provided by Microsoft (pdf and Word).
I have attached .rdl file in question.
Report will export fine if i remove traffic light images from report (there are 3 traffic lights sitting on top of each other, and they are hidden according to expressions set for each image) and as soon as i put them back into report it will not export to Word via ASPOSE.Words and error message below will appear.
Your help is very much appreciated
error message:
Server Error in ‘/Reports’ Application.

Cannot find 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: Cannot find index.
Source Error: 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 
Stack Trace: 
[Exception: Cannot find index.]
[Exception: An error occurred during rendering of the report.]
[Exception: An unexpected error occurred in Report Processing.]
Microsoft.Reporting.WebForms.ServerReport.ServerUrlRequest(Boolean isAbortable, String url, Stream outputStream, String& mimeType, String& fileNameExtension) +495
Microsoft.Reporting.WebForms.ServerReport.InternalRender(Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension) +958
Microsoft.Reporting.WebForms.ServerReportControlSource.RenderReport(String format, String deviceInfo, NameValueCollection additionalParams, String& mimeType, String& fileExtension) +84
Microsoft.Reporting.WebForms.ExportOperation.PerformOperation(NameValueCollection urlQuery, HttpResponse response) +143
Microsoft.Reporting.WebForms.HttpHandler.ProcessRequest(HttpContext context) +110
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +303
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832

Thanks for your request. Please try using the latest version of Aspose.Words for Reporting Services. You can download it from here:
Best regards.

Hi Alexey
we already purchased v2.2.0.0. can we use existing key with the new version or are we going to have to pay for this latest version.

Thanks for your inquiry. Every Aspose license carries a one-year subscription for free upgrades to any new versions or fixes that come out during this time. Aspose.Words for Reporting Services was published on 28th of April 2008. So, I suppose, you can upgrade to the latest version for free.
In addition, you can check expiration date of your license. Open the license file using notepad. You will see the following tags:
It means that you can free upgrade to version of Aspose.Words for Reporting Services published before 02/18/2009.
Best regards.