473,387 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Unhandled Exception

My program is crashing, but it doesn't crash on a single line of code. Below is what the output tab displays. I have no idea where to start inorder to debug this problem. Is there any suggesstions on how to start debuging the problem

'DefaultDomain': Loaded 'c:\windows\microsoft.net\framework\v1.1.4322\msco rlib.dll', No symbols loaded
'StoredProcedure': Loaded 'N:\Dev\Programs\MNTEST3.net\Template.NET\bin\Stor edProcedure.exe', No symbols loaded
'StoredProcedure.exe': Loaded 'c:\windows\assembly\gac\system.windows.forms\1.0. 5000.0__b77a5c561934e089\system.windows.forms.dll' , No symbols loaded
'StoredProcedure.exe': Loaded 'c:\windows\assembly\gac\system\1.0.5000.0__b77a5c 561934e089\system.dll', No symbols loaded
'StoredProcedure.exe': Loaded 'c:\windows\assembly\gac\microsoft.visualbasic\7.0 .5000.0__b03f5f7f11d50a3a\microsoft.visualbasic.dl l', No symbols loaded
'StoredProcedure.exe': Loaded 'c:\windows\assembly\gac\system.drawing\1.0.5000.0 __b03f5f7f11d50a3a\system.drawing.dll', No symbols loaded
'StoredProcedure.exe': Loaded 'c:\windows\assembly\gac\adodb\7.0.3300.0__b03f5f7 f11d50a3a\adodb.dll', No symbols loaded
'StoredProcedure.exe': Loaded 'n:\dev\programs\mntest3.net\template.net\bin\stan dardinclude.dll', No symbols loaded
An unhandled exception of type 'System.NullReferenceException' occurred in StoredProcedure.ex

Additional information: Object reference not set to an instance of an object

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
at StandardInclude.StoredProcedure.TemplateMain_Load( Object eventSender, EventArgs eventArgs
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(Mes sage& m
at System.Windows.Forms.ContainerControl.WndProc(Mess age& m
at System.Windows.Forms.Form.WmShowWindow(Message& m
at System.Windows.Forms.Form.WndProc(Message& m
at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m
at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m
at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparamThe program '[5976] StoredProcedure.exe' has exited with code 0 (0x0)

at System.Windows.Forms.SafeNativeMethods.ShowWindow( HandleRef hWnd, Int32 nCmdShow
at System.Windows.Forms.Control.SetVisibleCore(Boolea n value
at System.Windows.Forms.Form.SetVisibleCore(Boolean value
at System.Windows.Forms.Control.set_Visible(Boolean value
at System.Windows.Forms.ThreadContext.RunMessageLoopI nner(Int32 reason, ApplicationContext context
at System.Windows.Forms.ThreadContext.RunMessageLoop( Int32 reason, ApplicationContext context
at System.Windows.Forms.Application.Run(Form mainForm
at StandardInclude.StoredProcedure.Main()
Nov 20 '05 #1
1 2065
Why do you think no code has been executed?

The stack trace shows that the exception happens in the Load event of
TemplateMain.

"mike" <an*******@discussions.microsoft.com> wrote in message
news:07**********************************@microsof t.com...
My program is crashing, but it doesn't crash on a single line of code. Below is what the output tab displays. I have no idea where to start
inorder to debug this problem. Is there any suggesstions on how to start
debuging the problem?
'DefaultDomain': Loaded 'c:\windows\microsoft.net\framework\v1.1.4322\msco rlib.dll', No symbols
loaded. 'StoredProcedure': Loaded 'N:\Dev\Programs\MNTEST3.net\Template.NET\bin\Stor edProcedure.exe', No
symbols loaded. 'StoredProcedure.exe': Loaded 'c:\windows\assembly\gac\system.windows.forms\1.0. 5000.0__b77a5c561934e089\s
ystem.windows.forms.dll', No symbols loaded. 'StoredProcedure.exe': Loaded 'c:\windows\assembly\gac\system\1.0.5000.0__b77a5c 561934e089\system.dll', No
symbols loaded. 'StoredProcedure.exe': Loaded 'c:\windows\assembly\gac\microsoft.visualbasic\7.0 .5000.0__b03f5f7f11d50a3a\
microsoft.visualbasic.dll', No symbols loaded. 'StoredProcedure.exe': Loaded 'c:\windows\assembly\gac\system.drawing\1.0.5000.0 __b03f5f7f11d50a3a\system.
drawing.dll', No symbols loaded. 'StoredProcedure.exe': Loaded 'c:\windows\assembly\gac\adodb\7.0.3300.0__b03f5f7 f11d50a3a\adodb.dll', No
symbols loaded. 'StoredProcedure.exe': Loaded 'n:\dev\programs\mntest3.net\template.net\bin\stan dardinclude.dll', No
symbols loaded. An unhandled exception of type 'System.NullReferenceException' occurred in StoredProcedure.exe
Additional information: Object reference not set to an instance of an object.

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object. at StandardInclude.StoredProcedure.TemplateMain_Load( Object eventSender, EventArgs eventArgs) 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(Mes sage& m)
at System.Windows.Forms.ContainerControl.WndProc(Mess age& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m)
at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparamThe program '[5976]
StoredProcedure.exe' has exited with code 0 (0x0). )
at System.Windows.Forms.SafeNativeMethods.ShowWindow( HandleRef hWnd, Int32 nCmdShow) at System.Windows.Forms.Control.SetVisibleCore(Boolea n value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.ThreadContext.RunMessageLoopI nner(Int32 reason, ApplicationContext context) at System.Windows.Forms.ThreadContext.RunMessageLoop( Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.Run(Form mainForm)
at StandardInclude.StoredProcedure.Main()

Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Chuck Hartman | last post by:
I have a Windows service that requests web pages from a site using an HttpWebRequest object. When I try to request a page from an ASP.NET 2 site, I get a WebException with message "The remote...
5
by: Dave Stewart | last post by:
I recently wrote my first Vb.net application, or at least my first complex app since moving up from vb6. When run from the VS.NET IDE, the program shows no errors and runs fine. When the output exe...
5
by: Lucvdv | last post by:
Can someone explain why this code pops up a messagebox saying the ThreadAbortException wasn't handled? The first exception is reported only in the debug pane, as expected. The second (caused by...
5
by: Samuel R. Neff | last post by:
When you have an unhandled exception in vb.net how do you view the exception information in the debugger? In C# the debugger creates a local variable that points to the exception and you can...
0
by: Colmeister | last post by:
I recently read Jason Clark's excellent article on Unhandled Exceptions (http://msdn.microsoft.com/msdnmag/issues/04/06/NET/default.aspx) and have attempted to incorporate the features he talks...
5
by: Simon Tamman {Uchiha Jax} | last post by:
Now this is bugging me. I just released software for a client and they have reported an unhandled stack overflow exception. My first concern is that the entirity of the UI and any threaded...
0
by: Bob | last post by:
If I induce and unhandled exception in my vb.net code for instance using '-- just a simple "object not initialized" exception (should read "as new") Dim x As Specialized.NameValueCollection ...
1
by: Bob | last post by:
In Vs 2005 you have new applicationsEvents.vb I was testing it in a simple app and found that it was easier to implement unhandled exception management tah it was in Vs2003 (vb.net) You can, if you...
4
by: bg_ie | last post by:
Hi, I have the following Program.cs - namespace TestFrameworkApplication { static class Program { /// <summary> /// The main entry point for the application.
5
by: =?Utf-8?B?c3VydHVyeg==?= | last post by:
Hi, I feel like a noob for asking this. When I publish a VB windows application, I want to disable the ability of the the user to continue when there is an unhandled exception. For example,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...

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.