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?
12 35761 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
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
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.
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
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?
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
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.
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
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
Sign in to post your reply or Sign up for a free account.
Similar topics |
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>
|
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...
|
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...
|
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
|
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)
| |
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
|
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...
|
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
|
by: manikandan |
last post by:
dont miss it just open
dont miss it just open
dont miss it just open
#############################
|
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...
|
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...
| |
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,...
|
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...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |