473,836 Members | 2,111 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

just-in-time (JIT) debugging

1 New Member
Hi
when I run my application for some users it gives me the following message
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IndexOut OfRangeExceptio n: There is no row at position 0.
at System.Data.RBT ree`1.GetNodeBy Index(Int32 userIndex)
at System.Data.Dat aRowCollection. get_Item(Int32 index)
at InvitationAndEd ucation.frm_mai n_screen.Form1_ Load(Object sender, EventArgs e)
at System.Windows. Forms.Form.OnLo ad(EventArgs e)
at System.Windows. Forms.Form.OnCr eateControl()
at System.Windows. Forms.Control.C reateControl(Bo olean fIgnoreVisible)
at System.Windows. Forms.Control.C reateControl()
at System.Windows. Forms.Control.W mShowWindow(Mes sage& m)
at System.Windows. Forms.Control.W ndProc(Message& m)
at System.Windows. Forms.Scrollabl eControl.WndPro c(Message& m)
at System.Windows. Forms.Container Control.WndProc (Message& m)
at System.Windows. Forms.Form.WmSh owWindow(Messag e& m)
at System.Windows. Forms.Form.WndP roc(Message& m)
at System.Windows. Forms.Control.C ontrolNativeWin dow.OnMessage(M essage& m)
at System.Windows. Forms.Control.C ontrolNativeWin dow.WndProc(Mes sage& m)
at System.Windows. Forms.NativeWin dow.Callback(In tPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
InvitationAndEd ucation
Assembly Version: 1.0.2778.29967
Win32 Version: 1.0.2778.29967
CodeBase: file:///E:/IPO%20Setup/InvitationAndEd ucation.exe
----------------------------------------
System.Windows. Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows. Forms/2.0.0.0__b77a5c 561934e089/System.Windows. Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c 561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f 7f11d50a3a/System.Drawing. dll
----------------------------------------
System.Configur ation
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configur ation/2.0.0.0__b03f5f 7f11d50a3a/System.Configur ation.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c 561934e089/System.Xml.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c 561934e089/System.Data.dll
----------------------------------------
System.Transact ions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transact ions/2.0.0.0__b77a5c 561934e089/System.Transact ions.dll
----------------------------------------
System.Enterpri seServices
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Enterpri seServices/2.0.0.0__b03f5f 7f11d50a3a/System.Enterpri seServices.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config ) must have the
jitDebugging value set in the system.windows. forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuratio n>
<system.windows .forms jitDebugging="t rue" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


So, what to do?
Aug 10 '07 #1
12 35770
Plater
7,872 Recognized Expert Expert
Fix the error.
It looks pretty simple.
You're attempting to use an index that doesn't have valid data at it. You can probably do a check for null in your code to stop that.
Or use try/ctach blocks
Aug 10 '07 #2
LadyU
6 New Member
Hello I am having the same problem and I have no idea how to fix it please any help would be great.I am at a lost right now Thanks for any help
Oct 19 '07 #3
Plater
7,872 Recognized Expert Expert
System.IndexOut OfRangeExceptio n: There is no row at position 0.
This should not be a brain bender here. Your object does not contain the data you thought it does.
Check to make sure it's not null and that count of items in the collection is enough to match the index you want to use.
Oct 19 '07 #4
LadyU
6 New Member
This should not be a brain bender here. Your object does not contain the data you thought it does.
Check to make sure it's not null and that count of items in the collection is enough to match the index you want to use.
ok i am sorry but you lost me,I am new to this stuff and it is the first time i had this problem and i am tired it keeps popping up when i reboot thanks
Oct 19 '07 #5
Plater
7,872 Recognized Expert Expert
ok i am sorry but you lost me,I am new to this stuff and it is the first time i had this problem and i am tired it keeps popping up when i reboot thanks
So this happening on your computer for code that you DID not write?
Oct 19 '07 #6
LadyU
6 New Member
So this happening on your computer for code that you DID not write?
you got it,i don't even know how to do codes
Oct 19 '07 #7
Plater
7,872 Recognized Expert Expert
you got it,i don't even know how to do codes
hehe apparently neither does someone who made some software that is trying to run when you boot your computer.

I would guess you either have some spyware of some sort, or old software trying to talk to a device (like a printer maybe?) that is no longer connected.

I would suggest running SPYBOT on your computer and removing any malware you may have running.

If you can figure out the NAME of the program that is doing it, you will have much better luck correcting the problem.
Oct 19 '07 #8
mikeyeli
63 New Member
you got it,i don't even know how to do codes
This issue is not your fault, and cant be fixed by users, contact the person in charge of developing the application, or someone that has the source and can change it
Oct 19 '07 #9
LadyU
6 New Member
kk will try that when i reboot my comp i will write down what it is and pray i can fix it cuz it is a real pain
Oct 19 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

2
2580
by: dan glenn | last post by:
I want to redirect from an HTML file to a PHP script (to conserve a past link published elsewhere). What I'm doing is like: (file oldfile.html) <html> <head> <meta http-equiv=refresh content="3; project.php"> <title>HTML redirection</title> </head>
10
2793
by: Norman Bird | last post by:
I have a form i will use to register new people and when I click the submit button, the form just shows itself. It is supposed to show a message showing field errors if you leave fields blank etc. so submitting the empty form should show error message in red , then show form, but all it does is show form. I checked the variable to make shore they ere ok and they are fine. i believe it is a logical error with my if else.... I eved...
0
1028
by: Janning Vygen | last post by:
Hi all, To all those people using mysql and asking if they should change to postgres, i just want them to tell that i came from mysql too but very (!) soon really wanted to use all these nice postgresql features which make a real database (like subselecting, triggers, ...) And i build a dynamic web application where ALL (99,99%) pages are dynamic pages build with PHP and postgresql. Databse is more than 2 GB and performance is...
1
1332
by: 9to5 | last post by:
Hey All, On my last compile something strange just happened. My main menu bar just disappeared from both my form designer view and the running application. I can't seem to get it back. All the code is still intact, it's just... gone! I tried reversing what I changed on the last compile but it's still gone. I even added a new one and then renamed all the items to the new menu - then that one disappeared. I am using Visual Studio .NET 2003
22
386
by: Ark Khasin | last post by:
Due to a peculiar need (code instrumentation) I came across unexpected behavior of Visual Studio 6.0 and 2005 (doing the same thing): #include <stdio.h> #define CAT1(a,b) a ## b #define CAT(a,b) CAT1(a,b) #define MYNUM(n) CAT(n,__LINE__) const int x = MYNUM(35); //OK int z=MYNUM(78); //OK int main(int argc)
3
1643
by: RDMomcilovic | last post by:
Hi I am just beggining to learn c++ and i just wondered weather any1 had any tips for me to help me to learn more efficiantly or just make a different kinda program insted of just "hello world" Thanx
1
1898
by: joestevens232 | last post by:
I'm stuck on how I can creat a LE object and pass it the line just input..than could i use a for loop and the .push_back to get the lines into the vector? vector<Log_Entry> parse(string); This function does the following: Open a log file specified by the parameter name (File I/O). Read lines from the opened file. Create a Log_Entry object passing the line just input. Push each Log_Entry object onto a vector. Return the vector of...
0
1342
by: money_making | last post by:
Just be a part of the big game and become our partner.It is easy and free.If you have a web site you just need to put our banner and wait your money.Just go to : http://adultfriendfinder.com/go/g823382-brk
0
1400
by: manikandan | last post by:
dont miss it just open dont miss it just open dont miss it just open #############################
5
1456
by: John Salerno | last post by:
I just installed Pylons onto my hosting server so I could try out templating with Mako, but it seems a little more complicated than that. From the look of it all, the site seems to want a full Pylons application. Is it possible to just use regular HTML files with a bit of the Mako language embedded, or will I actually have to use all aspects of Pylons? In other words, can I use *just* Mako (sort of like as a replacement for PHP) without...
0
9810
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9656
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10821
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10527
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10575
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7774
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6975
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5642
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5812
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.