What does this all mean?

Posted on 2006-11-16
Last Modified: 2008-01-09
Please help! I have no idea where to being with these errors.  I have already tried searching through tech solutions for "Invalid Index" and nothing desirable came up.

Server Error in '/Relay' Application.

Invalid 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.Runtime.InteropServices.COMException: Invalid 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:

[COMException (0x8002000b): Invalid index.]
   CrystalDecisions.ReportAppServer.DataDefModel.FieldsClass.get_Item(Int32 Index) +0
   CrystalDecisions.CrystalReports.Engine.ParameterFieldDefinitions.get_Item(Int32 index) +30
   CrystalDecisions.CrystalReports.Engine.ParameterFieldDefinitions.get_Item(String fieldName) +46
   CrystalDecisions.CrystalReports.Engine.ReportDocument.SetParameterValue(String name, Object val) +144
   TRSReports._default.BindReport(String strRpt)
   TRSReports._default.Page_Load(Object sender, EventArgs e)
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Page.ProcessRequestMain() +750

Question by:llputney
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 17

Expert Comment

ID: 17961571
Seems like a COMMUNICATIONS error...have you tried...shuting down ...SERVER and workstation....REBOOT?

LVL 13

Expert Comment

ID: 17963200
Are you writing some code yourself? If so, I guess you try to access a member of a collection that doesn't exist. Ie member 0 if the index starts at 1 or something like that.
Or are you using the Software as it comes out of the box? In that case describe please what steps provoke that error

Expert Comment

ID: 17963559
The error means you are referencing a parameter that doesnt exist - either its the wrong index (number) or the name you are using to reference the param is incorrect
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.


Author Comment

ID: 17965518
Shay79 -

You're on track, it's definitely a parameter issue and this is the first time I've really worked with Crystal.  My boss pretty much dumped the work on me and I feel that I've been set up for failure, sigh.

I just don't know which parameter is not working right.  Where can I go from here?
LVL 100

Expert Comment

ID: 17965869
Can you show the code and describe the parameter types.


Author Comment

ID: 17965880
How can I get the codes? I can only see "Design/Preview" tabs.
LVL 100

Expert Comment

ID: 17966467
Are you running the reports form an application or from the designer?

If from the designer then what are the parameters?  what data types?


Author Comment

ID: 17966565
My boss helped me out, I was passing unneccessary parameters and didn't have parameters that I was supposed to include.  It's all fixed now.

Should I reward points to anyone?
LVL 100

Expert Comment

ID: 17969217

llputney - In looking at the comments I don't see any that directly say or suggest that.  That was the gist of my comment to list the parameters but I was thinking more on the lines of passing a non-date to a date parameter.


Accepted Solution

Computer101 earned 0 total points
ID: 18190593
PAQed with points refunded (500)

EE Admin

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
sort by a cross tab in crystal report 2 59
Select Cross-tab total 2 75
Possibly a grouping issue? 7 36
shared number array to be used in subreport 8 36
Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below.…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question