Results 1 to 11 of 11

Thread: [RESOLVED] Unexpected Error

Threaded View

  1. #2
    Junior Member
    Join Date
    Jun 2012
    Posts
    21

    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
  •  



Click Here to Expand Forum to Full Width