You work as a Web Application Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You create an ASP.NET Web application using the .NET Framework. The application is installed in a Network Load Balancing cluster. You are evaluating a bug statement. When a failure takes place in the Web application, the client occasionally gets an error page as anticipated. At other times, the client gets an exception stack with the error message, which is not anticipated. You are required to find out the configuration setting that causes the unanticipated error.
Which of the following configuration settings causes the unanticipated error?
A . <customErrors mode="Off" />
B . <compilation debug="false" />
C . <compilation debug="true" />
D . <customErrors mode="On" />
Answer: A
Leave a Reply