Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / January 2007

Tip: Looking for answers? Try searching our database.

[App-name] has encountered a problem and needs to close. We...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Daniel Carlson - 10 Jan 2007 06:41 GMT
Hi

Under what circumstances do this dialog box apper in a .Net 2.0 application?
I have never noticed this dialog box before I installed the KB924895 fix for
.Net framework 2.0.
Michael Nemtsev - 10 Jan 2007 08:39 GMT
Hello Daniel,

Which behavior leads to this dialog box?
Do u have the latest updates installed?

DC> Under what circumstances do this dialog box apper in a .Net 2.0
DC> application? I have never noticed this dialog box before I installed
DC> the KB924895 fix for .Net framework 2.0.

---
WBR,
Michael  Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangel
Paul Hadfield - 10 Jan 2007 12:39 GMT
Daniel,

This is at least the 2nd time you've asked this question - someone tried
helping you the last time you asked and you've not bothered to reply to
them.  Basically I'd say that something in your code (again, I'm guessing
that this is a program that you've written) is doing something unexpected
and quitting.  You need to run the program in the debugger and find out
where, at which point people will be able to help you further.

Regards,

- Paul.

> Hi
>
[quoted text clipped - 3 lines]
> for
> .Net framework 2.0.
Ashot Geodakov - 10 Jan 2007 18:18 GMT
What does the debugger say?

It's very easy to crach an application - .Net or no .Net.

Here's how:

int divisor = 0;

int result = 5 / divisor;

Voila, it'll crash.

Ashot

> Hi
>
[quoted text clipped - 3 lines]
> for
> .Net framework 2.0.
Daniel Carlson - 11 Jan 2007 07:46 GMT
Hello Ashot

Please se my reply to Chris Mullins below

Regards Daniel

> What does the debugger say?
>
[quoted text clipped - 17 lines]
> > for
> > .Net framework 2.0.
Chris Mullins [MVP] - 10 Jan 2007 19:05 GMT
> Under what circumstances do this dialog box apper in a .Net 2.0
> application?
> I have never noticed this dialog box before I installed the KB924895 fix
> for
> .Net framework 2.0.

This typically means you've got an unhandled exception. It's meant that
since the earliest days of .Net development.

Put an event on the AppDomain.UnhandledException and see if it hits.
Alternativly, attach a debugger and see the exception.

This is actually the behavior you WANT to have happen, so that you can track
things down.

Signature

Chris Mullins, MCSD.NET, MCPD:Enterprise, MVP C#
http://www.coversant.net/blogs/cmullins

Daniel Carlson - 11 Jan 2007 07:45 GMT
> > Under what circumstances do this dialog box apper in a .Net 2.0
> > application?
[quoted text clipped - 10 lines]
> This is actually the behavior you WANT to have happen, so that you can track
> things down.

Hello Chris!

I have an event handler connected to AppDomain.UnhandledException but this
is never trigged. Is this a guarantee that no unhandled exception is thrown?

Another thing: I have built two diferent test applications, one in Fw1.1 and
one in Fw2.0, that throws an unhandled exception. the one bulit in 1.1 does
only show a dialog saying: "An unhandled exception has occ..." and the one
bulit in 2.0 generates the dialog this thread is all about.

The difference between the dialog that my test application generates is that
this one has generated an "error report". Mine does not...!

Thanks for you reply!

Regards Daniel Carlson

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.