"Ray Mitchell" <Ra*********@MeanOldTeacher.com> wrote in message
news:bS****************@newsread2.news.pas.earthli nk.net...
Hello,
I have a VS 2003 application that gets the following error window:
"An unhandled exception of type 'System.ArgumentNullException' occurred in
mscorlib.dll"
"Additional information: Value cannot be null."
When I click the break button it says, "There is no source code available
for the current location."
When I click the help button it says that I should have handled the
exception. It seems that if an unhandled exception occurs in one of
Microsoft's dlls, how do I handle it or even catch it? How do I go about
debugging this? Is the source code for mscorlib.dll available?
Thanks,
Ray Mitchell
Ra*********@MeanOldTeacher.com
I think I've been stung by this before, and probably will be again.
Apparently due to an undocumented "feature", occasionally VS2003 apparently
forgets which files have been modified and fails to rebuild them but marks
them as rebuilt, or maybe it just does a bad build that it keeps
propagating. Anyway if I rebuild the entire solution the problem
disappears. Looking back to when I was doing a lot of builds I now remember
encountering this about once or twice a week on all the machines I was
using. I found the simple answer was just to simply do a complete rebuild
every time. It takes a little longer, but not as much time as I've spent
chasing this phantom on several occasions. Thanks to you guys for your
suggestions.
Ray