Microsoft
70-519 · Question #70
An ASP.NET Web application hosted on a remote server throws MullReferenceException 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 MullReferenceException 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.
- CIn the Web.config file, set the debug value to true.
- DSet the project-level Optimize code property to false.
How the community answered
(20 responses)- A85% (17)
- C10% (2)
- D5% (1)
Community Discussion
No community discussion yet for this question.