0

I have visual studio 2015. Almost every exception thrown by external APIs cause the following black screen with the title "Source Not Available" with the TargetInvocationException without any further information.

enter image description here

Does anybody know how can I get some details about the original exception?

rene
  • 41,474
  • 78
  • 114
  • 152
Jacob
  • 3,598
  • 4
  • 35
  • 56
  • googling the second line in that picture will lead you to a lot more helpful information than I think someone would be able to offer here. When I did it, the first link that came up showed how to determine what files were missing and what to do to resolve it. – Charles May Feb 17 '16 at 18:07

1 Answers1

0

The exception dialog should have a View details link (I'm not sure why it doesn't on your screenshot): TargetInvocationException usually has the InnerException property set to the actual thrown exception.

If it doesn't show on the first "black screen" as you call it, try debugging (F5) again, you should see the full exception dialog

Jcl
  • 27,696
  • 5
  • 61
  • 92