单项选择题
You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.
An exception management framework is not used in the Web application. You need to ensure thatthe application log the unhandled exceptions automatically to the event log. You need to configurethe Web.config file to accomplish this. Identify the configuration that will assist you in thisscenario?()
A.You should consider using the <healthMonitoring enabled="true"/> configuration.
B.You should consider using the <deployment retail="true"/> configuration.
C.You should consider using the <customErrors mode="On"/> configuration.
D.You should consider using the <trace enabled="true"/> configuration.
相关考题
-
多项选择题
You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5. You host the Web application in Microsoft Internet Information Services (IIS) 6.0. You browse theapplication and receive the following error message: Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable.Please hit the "Refresh" button in your web browser to retry your request. You view the Application event log and discover the following message: It is not possible to run two different versions of ASP.NET in the same IIS process. Please use theIIS Administration Tool to reconfigure your server to run the application in a separate process. To ensure productivity you need to solve this problem as quick as possible. What should you do?()
A.You should change the IIS isolation mode.
B.You should assign the application to another application pool.
C.You should configure all applications that are part of your application's application pool in orderto use the same version of ASP.NET.
D.You should run the Aspnet_regiis.exe Tool.
E.You should restart the application pool that hosts the application. -
单项选择题
You work as a Web Developer at Certkiller.com. You create a Web application using MicrosoftASP.NET 3.5. Certkiller.com hosts the application in Microsoft Internet Information Services 7.0. You attempt tobrowse the application and receive the following error message: Service Unavailable HTTP Error 503. The service is unavailable. You check and discover that you are able to browse successfully to other application that formspart of the same IIS Web site. The hosted applications on the network make use of ASP.NET 3.5.There are not previous versions of ASP.NET is installed. You need to resolve this error as soon aspossible. What should you do?()
A.You should run the ServiceModel Metadata Utility tool (Svcutil.exe).
B.You should change the pipeline mode associated with the application pool that hosts theapplication.
C.You should run the ASP.NET Registration Tool (Aspnet_regiis.exe).
D.You should make sure that the application pool that hosts the application is initiated. -
单项选择题
You work as a Web Developer at Certkiller.com. You make use of Microsoft ASP.NET 3.5 tocreate a Web application. A page in the application holds the code that calls the Write and Warn methods of theTraceContext class. The code also adds an instance of EventLogTraceListener to the System.Diagnostics.Trace.Listeners collection. You need to ensure that the Write and WarnActualTests.commethods of the TraceContext class will write ASP.NET trace messages to the event logautomatically. You have to configure the Web application to accomplish this. What should you do?()
A.A
B.B
C.C
D.D
