70-519 · Question #283
You are designing the deployment strategy for an ASP.NET Web application that consists of multiple pages. The Web application will be deployed to a server that hosts multiple ASP.NET applications…
The correct answer is A. Add the following XML element to the Web.config file in the root application directory: B. Add the following XML element to the Web.config file in the Login directory. See the full explanation below for the reasoning.
Question
You are designing the deployment strategy for an ASP.NET Web application that consists of multiple pages. The Web application will be deployed to a server that hosts multiple ASP.NET applications. The Web application design includes:
- Error pages named LoginErrors.htm and GenericErrorPage.htm.
- A subdirectory named Login that contains only the Login.aspx page.
You have the following requirements:
- Display the LoginErrors.htm page for all unhandled errors that are
generated from the Login.aspx page.
- Display the GenericErrorPage.htm page for all other unhandled errors.
You need to recommend an approach for displaying the error pages. Which two actions should you recommend? (Each correct answer presents part of the solution. Choose two.)
Options
- AAdd the following XML element to the Web.config file in the root application directory:
- BAdd the following XML element to the Web.config file in the Login directory:
- CAdd the following XML element to the Machine.conftg file in the .NET Framework installation
- DAdd the following XML element to the Machine.config file in the .NET Framework installation
How the community answered
(35 responses)- A71% (25)
- C9% (3)
- D20% (7)
Community Discussion
No community discussion yet for this question.