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
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

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.

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails


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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

709 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now