Problem migrating to VS 2005

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi. I migrated a project to visual studio 2005. Everything seems to work
fine, but in the output windows I get many "A first chance exception of type
'System.Exception' occurred in ....."
I tryed to fill the program with try...catch blocks but none of them is able
to catch this exception.

I never had those things in vd.net 2003. Could anyone explain me what does
it means?

Thanks
Cristian Mori
 
MoriCristian said:
Hi. I migrated a project to visual studio 2005. Everything seems to work
fine, but in the output windows I get many "A first chance exception of
type
'System.Exception' occurred in ....."
I tryed to fill the program with try...catch blocks but none of them is
able
to catch this exception.

I never had those things in vd.net 2003. Could anyone explain me what does
it means?

Thanks
Cristian Mori

Christian, it would help a lot if you could provide some details.
What type of project are we talking about, and what language? I've migrated
quite a few projects without incident, but they may not be the same as
yours.
 
Hi Peter,
thanks for your reply, but I found an explanation one hour age on some blogs.

When an exception is thows, a first chance exception is recorded in the
output window, even if it is handled with a try catch block in your source
code or somewhere in the mscore. If the exception is not handled, the program
throw then a second chance excpetion, that is our usual exception of vs2003
tha show the poput saying "an unhandled exception...."

So, it is nothing wrong. It just means "somewhere your code threw an
exception but it was handled correctly"

Thanks!
Cristian
 
Back
Top