Problem to locate the issue

Hi,
I don't know how I can locate the problem, due to the issue encountered by the attached?
t999.png
LVL 12
HuaMin ChenProblem resolverAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AndyAinscowFreelance programmer / ConsultantCommented:
>>I don't know how I can locate the problem
Which bit of 'Could not find' followed by wildcard filename isn't that clear ?  You are supplying that path somehow.
0
HuaMin ChenProblem resolverAuthor Commented:
Regarding the error shown in above, how to further trace the project, which part is causing the error?
0
AndyAinscowFreelance programmer / ConsultantCommented:
Well, where do you supply that path ?
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

HuaMin ChenProblem resolverAuthor Commented:
Sorry, only the currently attached one is showing the relevant error.
tt1.png
0
AndyAinscowFreelance programmer / ConsultantCommented:
I'm puzzled, lets step back to find the common ground.

Is this problem in an app you are coding?
  or something you have from another developer?  
    from another company?
0
HuaMin ChenProblem resolverAuthor Commented:
I have the relevant source of the project.
0
HuaMin ChenProblem resolverAuthor Commented:
It is under my control. How to locate the reason of the problem?
0
AndyAinscowFreelance programmer / ConsultantCommented:
Somewhere you supply that path shown in your first screenshot.  Search for that path in the project.
0
AndyAinscowFreelance programmer / ConsultantCommented:
Also - use Windows File Explorer to check the path and files on your PC
0
HuaMin ChenProblem resolverAuthor Commented:
Only the current screenshot is involved, to the error message. Please leave the 1st screenshot originally attached.
0
HuaMin ChenProblem resolverAuthor Commented:
Thanks. I can capture this exception description like

************** Exception Text **************
System.IndexOutOfRangeException: Cannot find column 3.
   at System.Data.DataColumnCollection.get_Item(Int32 index)
   at System.Data.DataRow.get_Item(Int32 columnIndex)
   at Manager.FrmReport.FrmReport_Load(Object sender, EventArgs e)
   ...

Open in new window

 
But I cannot find out

get_Item

within the whole solution. Any advice?
0
AndyAinscowFreelance programmer / ConsultantCommented:
Somewhere you aren't passing in an object (to a form) containing datacolumns with enough columns.  You must know how to localise the problem based on what you do.
eg.  If the user clicks 'EntryForm A' and this error appears then it is something to do with the code there.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
HuaMin ChenProblem resolverAuthor Commented:
How to locate the place, at which the error happens? Here is the full exception message

************** Exception Text **************
System.IndexOutOfRangeException: Cannot find column 3.
   at System.Data.DataColumnCollection.get_Item(Int32 index)
   at System.Data.DataRow.get_Item(Int32 columnIndex)
   at Manager.FrmReport.FrmReport_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Open in new window

0
AndyAinscowFreelance programmer / ConsultantCommented:
Based on that error message - impossible.
As I said earlier, you need more information - and you should have that information already.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.