Solved

What does this all mean?

Posted on 2006-11-16
11
976 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

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 …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

803 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