Solved

What does this all mean?

Posted on 2006-11-16
11
979 Views
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

 
0
Comment
Question by:llputney
[X]
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
11 Comments
 
LVL 17

Expert Comment

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

MikeV
0
 
LVL 13

Expert Comment

by:EwaldL
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
0
 
LVL 1

Expert Comment

by:Shay79
ID: 17963559
HI
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
0
[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

 

Author Comment

by:llputney
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?
0
 
LVL 100

Expert Comment

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

mlmcc
0
 

Author Comment

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

Expert Comment

by:mlmcc
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?

mlmcc
0
 

Author Comment

by:llputney
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?
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 17969217
Experts?

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.

mlmcc
0
 
LVL 1

Accepted Solution

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

Computer101
EE Admin
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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

734 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