473,706 Members | 2,618 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Exceptions on random

Hello,
I developed a small application in C# with VS2005Express. It uses the
FolderBrowserDi alog 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.NullRefe renceException ;
3. System.StackOve rflowException

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

I use the same instantiation of FolderBrowserDi alog 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 1548
Hi,

First, let us find more information of the exception.

Attach an unhandled exception handler to the AppDomain.Unhan dledException
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
FolderBrowserDi alog 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.NullRefe renceException ;
3. System.StackOve rflowException

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

I use the same instantiation of FolderBrowserDi alog 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.Unhan dledException
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
FolderBrowserDi alog 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.NullRefe renceException ;
3. System.StackOve rflowException

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

I use the same instantiation of FolderBrowserDi alog 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************* *************** **...icrosof t.com...
Hi,

First, let us find more information of the exception.

Attach an unhandled exception handler to the AppDomain.Unhan dledException
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
FolderBrowserDi alog 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.NullRefe renceException ;
3. System.StackOve rflowException

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

I use the same instantiation of FolderBrowserDi alog 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
2224
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 exceptions that can be raised in a Python function, or in any of the functions it calls, etc.? /Dan
10
1297
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 reference to B, B has a reference to C, and C to D. If an exception happens in class D, I would like class A to get a notification of this (all execution on classes B to D should be terminated). I am wondering how to do this. The following seems...
4
2205
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 turn themselves into serious problems because they usually result in the application having to exit, even though the user clicks 'Continue'. There doesnt appear to be much information regarding these issues on forums - does anyone know a way to...
9
1836
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 code, the session is terminated. I don't understand why this is. I can't find any reference to it in the documentation, nor in my google searches so far. This behaviour is crippling the entire project, I'd really appreciate some information :(
6
5260
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 everyday. Searching around on the net has revealed no helpful answers. The exceptions are: ---------------- Exception - CryptographicException StackTrace at
6
2360
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 problem also with other imports (e.g. urllib2 etc.). And again very often in all these cases where I get weired Python exceptions, the problem is around re-functions - usually during re.compile calls during import (see some of the exceptions below). But...
5
2818
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 though is why would I need to them? For example, I could suppress my functions using the @ sign and then use an if statement to check if they returned false or not. Similarly, I can also return various integers, like -4 and -5 for errors, and...
9
2519
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 shortcut key which would result in a try/catch with all exception(s) handled. Would someone nice out there help me on this one as this process gets ignored by my team because it takes took long.
19
5337
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 str(object) does not always attempt to return a string that is acceptable to eval(); its goal is to return a printable string. If no argument is given, returns the empty string, ''.
0
8773
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
8692
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
8983
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 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...
0
7897
agi2029
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...
1
6613
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
5935
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
4442
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
4705
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2495
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.