|
-
Jun 28th, 2012, 11:31 AM
#2
Junior Member
Re: Unexpected Error
The issue is likely related to your development environment. I believe by default your development environment expects YOU to handle certain exceptions, Null Reference being one of them.
To fix, in VS 2008 (Similar for other versions of VS) go to:
(On the toolbar) Debug > Exceptions (Or CTRL + ALT + E)
This brings up a list of all exceptions and how they're handled.
Navigate the Tree List to:
Common Runtime Exceptions > System > System.NullReferenceException
Check the checkbox that says "THROWN". Click OK and run the program via Debug Mode. The program should now throw that same exception and you'll see exactly what's going on.
Enjoy 
P.S. This happened to me 2 days ago ;-).
Last edited by nycdev; Jun 28th, 2012 at 11:37 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|