Solved

What does this all mean?

Posted on 2006-11-16
11
977 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
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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need to learn crystal reports 7 74
business objects to connect to MSSQL 6 84
Crystal reports vb.net 2 54
Sum not calculating correctly 22 39
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
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 …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

792 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