You are debugging an ASP.NET Web application by using the Visual Studio debugger. The application is incorrectly handling a SQL Exception on the login page. You need to break execution where the exception is thrown . What should you do?()A、Enable the User-unhandled option for SqlException in Visual Studio Exception configuration.B、Set the value of the customErrors element‟s mode attribute to “on” in the web.config file.C、Manually attach the Visual Studio debugger to Internet Explorer.D、Enable the thrown option for SqlException in Visual Studio exception configuration.

You are debugging an ASP.NET Web application by using the Visual Studio debugger. The application is incorrectly handling a SQL Exception on the login page. You need to break execution where the exception is thrown . What should you do?()

  • A、Enable the User-unhandled option for SqlException in Visual Studio Exception configuration.
  • B、Set the value of the customErrors element‟s mode attribute to “on” in the web.config file.
  • C、Manually attach the Visual Studio debugger to Internet Explorer.
  • D、Enable the thrown option for SqlException in Visual Studio exception configuration.

相关考题:

You have recently created an application, and want to capture all debugging text messages generated by it.You would like these debugging messages to display on the command line. The application that you created contains the following code:Debug.WriteLine (Start the processing);Console.WriteLine (Generated by Console.WriteLine);Debug.WriteLine (End the processing);You need to ensure that you are able to capture all debugging messages to the command line.What should you do?()A.B.C.D.

You work as an application developer at Certkiller .com. Certkiller .com uses an application that calculates monthly payments based upon client input.You are currently debugging this application using the Microsoft Visual Studio 2005 IDE.The application contains the following code:public double CalculateMonthlyPayment (Single rate, double principal) {//Implementation code}You have discovered that unexpected results are being returned by the application. You would like to pause execution and display a message box containing an error message in the event of a negative or zero rate value is Passed to the CalculateMonthlyPayment method.You need to ensure that this only occurs during debugging mode.What should you do?()A.B.C.D.

While troubleshooting a serial line problem, you enable ppp authentication debugging as shown below:Based on the command output above, what type of ‘handshake‘ was used for PPP authentication?() A. one-wayB. two-wayC. three-wayD. four-wayE. no handshakes required during authenticationF. None of the above

Which cisco ios command can help to determine the timing of various debug events,relative to each other,when you are debugging a complicated router issue?() A. service timestamps debug datetime msecB. show clock detailC. clock calendar-validD. service timestamps log datetime msec

在VRP5中以下哪条命令可以用于查看LDP状态机迁移过程()。 A.display mpls ldp sessionB.display mpls ldp peerC.debugging mpls ldp sessionD.debugging mpls ldp notification

在VRP5中以下哪条命令不能用于调试MPLS或者LDP()。 A.debugging mpls ldpB.debugging mpls lspcC.debugging mpls packetD.debugging mpls peer

显示OSPF运行过程中发生的各种事件的命令是() A.debugging ospf packetB.debugging ospf eventC.display ospfD.debugging ospf lsaoriginate

通过哪条命令可以查看S6506系统自愈信息?()A、display deviceB、display rxtxmemslotC、debugging rxtx memslotD、debugging rxtx evtslot

在打开debugging调试以后,可以使用()命令关掉debugging。A、nodebuggingallB、undodebuggingallC、undoterminalmonitorD、undoterminaldebugging

You are designing a test plan for an existing Windows Azure .NET 4 application.  Method calls return incorrect results for certain input parameters.   You need to recommend an approach for debugging the method calls.  What should you recommend?()  A、 Attach the remote debugger to the application.B、 Use the Microsoft Visual Studio 2010 Test Manager tool.C、 Use IntelliTrace to collect only eventsfrom the application.D、 Use IntelliTrace to collect events and call information from the application.

如果在交换机上分析以太网报文,可以使用以下哪条命令?()A、display interfaceB、debugging ethernet packetC、debugging ip packetD、display ip interface

如果S6506的SRPU的CPU占用率很高,需要现场通过console接口抓包分析,该使用哪条命令?()A、display cpuB、display rxtx evtslotC、debugging rxtx evtslotD、debugging rxtx–c300pktslot

Which cisco ios command can help to determine the timing of various debug events,relative to each other, when you are debugging a complicated router issue?()A、service timestamps debug datetime msecB、show clock detailC、clock calendar-validD、service timestamps log datetime msec

Certkiller.com has employed you as a system administrator. You are in the process of creating anASP.NET application using Microsoft.NET Framework v3.5. This application will be hosted on aserver named CERTKILLER-SR01. CERTKILLER-SR01 is configured to run Microsoft IIS 5.0.  You are assigned a computer named CERTKILLER-WS02. You make use of CERTKILLER-WS02to log on to the companies domain with an account named CKUser. CERTKILLER-SR01 andCERTKILLER-WS02 are both members of the Certkiller.com domain. To ensure productivity youneed to establish the necessary permissions to allow remote debugging.  What should you do?()A、Your best option would be to ensure that the Remote Debugging Monitor is set to make use of Windows Authentication.B、Your best option would be to ensure that the CKUser account is added to the domainAdministrators group.C、Your best option would be to ensure that the ASP.NET worker process is changed onCERTKILLER-SR01 to run as the local Administrator account.D、Your best option would be to ensure that the CKUser account is added to the localAdministrators group on CERTKILLER-SR01.

在VRP5中以下哪条命令不能用于调试MPLS或者LDP()。A、debugging mpls ldpB、debugging mpls lspcC、debugging mpls packetD、debugging mpls peer

在VRP5中以下哪条命令可以用于查看LDP状态机迁移过程()。A、display mpls ldp sessionB、display mpls ldp peerC、debugging mpls ldp sessionD、debugging mpls ldp notification

You create a Microsoft ASP.NET AJAX application by using the Microsoft .NET Framework version 3.5.  A JavaScript code segment in the AJAX application does not exhibit the desired behavior. Microsoft Internet Explorer displays an error icon in the status bar but does not prompt you to debug the script.  You need to configure the Internet Explorer to prompt you to debug the script.  Which two actions should you perform? ()A、Clear the Disable Script Debugging (Other) check box.B、Clear the Disable Script Debugging (Internet Explorer) check box. C、Select the Show friendly HTTP error messages check box.D、Select the Enable third-party browser extensions check box.E、Select the Display a notification about every script error check box.

You are debugging a Windows Communication Foundation (WCF) service. The service uses signed and encrypted messages.You need to configure logging so that you can read the contents of the messages. What should you do?()A、Set maxSizeMessagesToLog to 10B、Set logMessageAtServiceLevel to true.C、Set maxMessagesToLog to 10.D、Set logMessageAtTransportLevel to true.

You work as a Web Developer at Certkiller.com. You make use of Microsoft ASP.NET 3.5 tocreate a Web application.  The Certkiller.com network contains a test server named CERTKILLER-SR01. You deploy theapplication to CERTKILLER-SR01 and enable debugging. The application is hosted in MicrosoftInternet Information Services (IIS) 6.0. The application pool makes use of Network Serviceidentity.  You need to determine a way to configure the environment in order to permit you to debug theapplication from your development computer.  What should you do?()A、This can be achieved by installing the remote debugging components on CERTKILLER-SR01.B、This can be achieved by setting the mode feature of the customErrors element to Off in theWeb.config file.C、This can be achieved by creating a Debugger Users group on the workstation and adding youraccount to it.D、This can be achieved by clearing the Disable script debugging (Other) option in InternetExplorer on CERTKILLER-SR01.E、This can be achieved by ensuring that you have administrative privileges on CERTKILLER-SR01.

You are designing a plan for testing a Windows Azure service.   The service runs in the development fabric but fails on Windows Azure.   You need to recommend an approach for identifying errors that occur when the service runs on Windows Azure.  What should you recommend?()A、 Attach a debugger to the Windows Azure role instance.B、 Analyze debugging information captured by Windows Azure Diagnostics.C、 Modify the service configuration for the Windows Azure role to access development storage.D、 Analyze debugging information written to the output window of the Windows Azure role instance.

You are the newly appointed administrator at Certkiller.com. You are in the process of creating anASP.NET application using Microsoft .NET Framework v3.5.  During routine monitoring you discover that a JavaScript code fragment in the AJAX application isnot exhibiting the desired behavior. You notice an error icon in the status bar of Microsoft InternetExplorer but is does not prompt you to debug the script. You need to determine the appropriateaction you should take in order to configure Internet Explorer to prompt you to debug the script.  What should you do?()A、You should consider clearing the Disable Script Debugging (Other) check box.B、You should consider selecting the Display a notification regarding every script error check box.C、You should consider selecting the Enable third-party browser extensions check box.D、You should consider clearing the Disable Script Debugging (Internet Explorer) check box.E、You should consider selecting the Show friendly HTTP error messages check box.

单选题You are debugging an ASP.NET Web application by using the Visual Studio debugger. The application is incorrectly handling a SQL Exception on the login page. You need to break execution where the exception is thrown . What should you do?()AEnable the User-unhandled option for SqlException in Visual Studio Exception configuration.BSet the value of the customErrors element‟s mode attribute to “on” in the web.config file.CManually attach the Visual Studio debugger to Internet Explorer.DEnable the thrown option for SqlException in Visual Studio exception configuration.

单选题You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  You host the application on a server named ContosoTest that runs Microsoft IIS 6.0. You set up remote debugging on the ContosoTest server.  You need to debug the application remotely from another computer named ContosoDev. What should you do? ()AAttach Microsoft Visual Studio.NET to the w3wp.exe process.BAttach Microsoft Visual Studio.NET to the inetinfo.exe process.CAttach Microsoft Visual Studio.NET to the Msvsmon.exe process.DAttach Microsoft Visual Studio.NET to the WebDev.WebServer.exe process.

单选题How do you start an event-triggered debug session?()ASelect Start from the Debug menu in CRS Script Editor.  BSelect Reactive Script... from the Debug menu in CRS Script Editor.  CSelect Debugging from the Trace menu in CRS Application Administration.  DSelect Start Trace from the Trace menu in CRS Application Administration.

多选题You are the newly appointed administrator at Certkiller.com. You are in the process of creating anASP.NET application using Microsoft .NET Framework v3.5.  During routine monitoring you discover that a JavaScript code fragment in the AJAX application isnot exhibiting the desired behavior. You notice an error icon in the status bar of Microsoft InternetExplorer but is does not prompt you to debug the script. You need to determine the appropriateaction you should take in order to configure Internet Explorer to prompt you to debug the script.  What should you do?()AYou should consider clearing the Disable Script Debugging (Other) check box.BYou should consider selecting the Display a notification regarding every script error check box.CYou should consider selecting the Enable third-party browser extensions check box.DYou should consider clearing the Disable Script Debugging (Internet Explorer) check box.EYou should consider selecting the Show friendly HTTP error messages check box.

单选题You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  The application resides on a server named ContosoTest that runs Microsoft IIS 5.0.  You use a computer named ContosoDev to log on to the Contoso.com domain with an account named  ContosoUser.  The ContosoTest and ContosoDev servers are members of the Contoso.com domain. You need to set up the appropriate permission for remote debugging.  What should you do?()ASet the Remote Debugging Monitor to use Windows Authentication.BAdd the ContosoUser account to the domain Administrators group.CAdd the ContosoUser account to the local Administrators group on the ContosoTest server.DChange the ASP.NET worker process on the ContosoTest server to run as the local Administrator account.

多选题You create a Microsoft ASP.NET Web application by using the Microsoft .NET Framework version 3.5.  When you review the application performance counters, you discover that there is an unexpected increase in the value of the Application Restarts counter. You need to identify the reasons for this increase.  What are three possible reasons that could cause this increase?()ARestart of the Microsoft IIS 6.0 host.BRestart of the Microsoft Windows Server 2003 that hosts the Web application.CAddition of a new assembly in the Bin directory of the application.DAddition of a code segment that requires recompilation to the ASP.NET Web application.EEnabling of HTTP compression in the Microsoft IIS 6.0 manager for the application.FModification to the Web.config file in the system.web section for debugging the application.

单选题You are designing a test plan for an existing Windows Azure .NET 4 application.  Method calls return incorrect results for certain input parameters.   You need to recommend an approach for debugging the method calls.  What should you recommend?()A Attach the remote debugger to the application.B Use the Microsoft Visual Studio 2010 Test Manager tool.C Use IntelliTrace to collect only eventsfrom the application.D Use IntelliTrace to collect events and call information from the application.