nerdexam
Microsoft

70-519 · Question #239

An ASP.NET Web application hosted on a remote server throws NullReferenceException exceptions that are not handled. The stack trace does not include line numbers. The Microsoft Visual Studio 2010…

The correct answer is A. Deploy the PDB files for the assemblies to the remote server. See the full explanation below for the reasoning.

Question

An ASP.NET Web application hosted on a remote server throws NullReferenceException exceptions that are not handled. The stack trace does not include line numbers. The Microsoft Visual Studio 2010 remote debugging tools are installed on the remote server. You need to recommend an approach for identifying the line of code that is causing the exception. What should you recommend?

Options

  • ADeploy the PDB files for the assemblies to the remote server.
  • BSet the project-level Enable Code Analysis on Build property to true.
  • CSet the project-level Enable optimizations property to false.
  • DIn the Web.config file, set the debug value to true.

How the community answered

(26 responses)
  • A
    81% (21)
  • B
    4% (1)
  • C
    4% (1)
  • D
    12% (3)

Community Discussion

No community discussion yet for this question.

Full 70-519 Practice