471,337 Members | 1,132 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 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 1480
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

21 posts views Thread by dkcpub | last post: by
10 posts views Thread by Razzie | last post: by
4 posts views Thread by vooose | last post: by
9 posts views Thread by BLiTZWiNG | last post: by
6 posts views Thread by GiddyUpHorsey | last post: by
reply views Thread by rosydwin | last post: by

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.