troubleshooting Question

Crystal reports causes an error invalid index after being opened and having "any" change applied and saved

Avatar of mbarazi
mbaraziFlag for United States of America asked on
Visual Basic ClassicVisual Basic.NETCrystal Reports
7 Comments1 Solution1387 ViewsLast Modified:
I have a windows service written in 1.1 using vs 2003. I also have a crystal reports template version 8.0. I have recently been asked to modify this report by shifting a text object on the report about a centimeter over. I have done this and now the application throws an invalid index error on the following line of code :


The code in the service simply refrences report objects by name and sets text string for those text objects on the report template. I have not changed anything on the report. On the developement machine I have both crystal 8 and crystal 10 installed. the exact error I get is:  
Run-time exception thrown : System.Runtime.InteropServices.COMException - Invalid index
If mReportType = mdlGlobalVariables.rptReportType.rptCarton Then
            'TIM 11780 cmj 9/8/05 - removed subreport code
            With mReport.Sections("D")
End With
        End If
Join our community to see this answer!
Unlock 1 Answer and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros