473,404 Members | 2,137 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,404 software developers and data experts.

Exceptions on random

Hello,
I developed a small application in C# with VS2005Express. It uses the
FolderBrowserDialog of Windows.Forms to open this dialog box twice, for the
origin and destination of files. It works well but as 2005Ex uses .net 2.0,I
remade the project for 1.1 with sharpdevelop and compiled. At the start, it
worked well but afterwards it started giving error or exceptions :

1. Firstly it says, instruction 0x123456 uses adress 0x000700. The memory
cannot be read;
2. System.NullReferenceException ;
3. System.StackOverflowException

The error can be one of these three, while I try to select a file from
FolderBrowserDialog Box. Sometime, for the first time, sometimelater.
Apparently, the error is launched by Mscorlib.

I use the same instantiation of FolderBrowserDialog for both dialog box
(origin and destination).

Where does the error come from ? Can somebody help me out ?

Thanks in advance, Vivek
Jan 31 '06 #1
3 1532
Hi,

First, let us find more information of the exception.

Attach an unhandled exception handler to the AppDomain.UnhandledException
event. And then please post here what the exception is - check out which code
file is, target location etc..

--
HTH,
Rakesh Rajan
MVP, MCSD
http://www.rakeshrajan.com/
"Vivek" wrote:
Hello,
I developed a small application in C# with VS2005Express. It uses the
FolderBrowserDialog of Windows.Forms to open this dialog box twice, for the
origin and destination of files. It works well but as 2005Ex uses .net 2.0,I
remade the project for 1.1 with sharpdevelop and compiled. At the start, it
worked well but afterwards it started giving error or exceptions :

1. Firstly it says, instruction 0x123456 uses adress 0x000700. The memory
cannot be read;
2. System.NullReferenceException ;
3. System.StackOverflowException

The error can be one of these three, while I try to select a file from
FolderBrowserDialog Box. Sometime, for the first time, sometimelater.
Apparently, the error is launched by Mscorlib.

I use the same instantiation of FolderBrowserDialog for both dialog box
(origin and destination).

Where does the error come from ? Can somebody help me out ?

Thanks in advance, Vivek

Jan 31 '06 #2
Hi,

First, let us find more information of the exception.

Attach an unhandled exception handler to the AppDomain.UnhandledException
event. And then please post here what the exception is - check out which code
file is, target location etc..

--
HTH,
Rakesh Rajan
MVP, MCSD
http://www.rakeshrajan.com/
"Vivek" wrote:
Hello,
I developed a small application in C# with VS2005Express. It uses the
FolderBrowserDialog of Windows.Forms to open this dialog box twice, for the
origin and destination of files. It works well but as 2005Ex uses .net 2.0,I
remade the project for 1.1 with sharpdevelop and compiled. At the start, it
worked well but afterwards it started giving error or exceptions :

1. Firstly it says, instruction 0x123456 uses adress 0x000700. The memory
cannot be read;
2. System.NullReferenceException ;
3. System.StackOverflowException

The error can be one of these three, while I try to select a file from
FolderBrowserDialog Box. Sometime, for the first time, sometimelater.
Apparently, the error is launched by Mscorlib.

I use the same instantiation of FolderBrowserDialog for both dialog box
(origin and destination).

Where does the error come from ? Can somebody help me out ?

Thanks in advance, Vivek

Jan 31 '06 #3
Thanks for your attention.
I found it on the page :
http://support.microsoft.com/kb/904416/en-us

It needs, in fact, a hotfix for .net1.1 which can be downloaded from the
page :
http://www.microsoft.com/downloads/d...displaylang=en

It resolved my problem.

Thanks again, it might help others too!

Vivek

"Rakesh Rajan" <rakeshrajan {at} mvps {dot} org> a écrit dans le message de
news: 6C**********************************@microsoft.com...
Hi,

First, let us find more information of the exception.

Attach an unhandled exception handler to the AppDomain.UnhandledException
event. And then please post here what the exception is - check out which
code
file is, target location etc..

--
HTH,
Rakesh Rajan
MVP, MCSD
http://www.rakeshrajan.com/
"Vivek" wrote:
Hello,
I developed a small application in C# with VS2005Express. It uses the
FolderBrowserDialog of Windows.Forms to open this dialog box twice, for
the
origin and destination of files. It works well but as 2005Ex uses .net
2.0,I
remade the project for 1.1 with sharpdevelop and compiled. At the start,
it
worked well but afterwards it started giving error or exceptions :

1. Firstly it says, instruction 0x123456 uses adress 0x000700. The memory
cannot be read;
2. System.NullReferenceException ;
3. System.StackOverflowException

The error can be one of these three, while I try to select a file from
FolderBrowserDialog Box. Sometime, for the first time, sometimelater.
Apparently, the error is launched by Mscorlib.

I use the same instantiation of FolderBrowserDialog for both dialog box
(origin and destination).

Where does the error come from ? Can somebody help me out ?

Thanks in advance, Vivek


Jan 31 '06 #4

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

Similar topics

21
by: dkcpub | last post by:
I'm very new to Python, but I couldn't find anything in the docs or faq about this. And I fished around in the IDLE menus but didn't see anything. Is there a tool that can determine all the...
10
by: Razzie | last post by:
Hi all, The title of this post may sound a bit weird, but I was wondering about the following nonetheless. I have a class libray containing, say, 4 classes: A, B, C, D. Class A somehow has a...
4
by: vooose | last post by:
Is there any way to handle exceptions thrown by .NET classses? During runtime and at seemingly random times, exceptions similar to the ones shown at the base of this post are thrown. These errors...
9
by: BLiTZWiNG | last post by:
I'm working on a huge scale project, and I've stumbled onto something that appeared to be just random buggy code before we started larger scale testing. Everytime there is an exception in my...
6
by: GiddyUpHorsey | last post by:
We have a website built on ASP.NET 2.0. We log exceptions in the Error event of Global.ASAX. We keep a getting number of random exceptions that make no sense and that we can't reproduce but happen...
6
by: robert | last post by:
I get python crashes and (in better cases) strange Python exceptions when (in most cases) importing and using cookielib lazy on demand in a thread. It is mainly with cookielib, but remember the...
5
by: adam.timberlake | last post by:
I've just finished reading the article below which goes into some depth about exceptions. The article was rather lucid and so I understand how to implement it all, the thing I'm having trouble with...
9
by: paul | last post by:
Hi I would like to extract all possible exceptions for a particular method. Ideally this would be a Visual Studio 2005 Add-In and would allow a developer to highlight a any method, pressing a...
19
by: est | last post by:
From python manual str( ) Return a string containing a nicely printable representation of an object. For strings, this returns the string itself. The difference with repr(object) is that...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
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,...
0
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...
0
tracyyun
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...

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.