Which two actions should you perform to configure the Internet Explorer to prompt you to debug the script?
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? (Each correct answer presents part of the solution.
Choose two.)
What should you do to debug the application remotely from another computer named ContosoDev?
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?
What should you do to ensure that the application successfully updates each caption and stores it in the datab
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.
You create a Web page to display photos and captions. The caption of each photo in the database can be modified by using the application.
You write the following code fragment.
<asp:FormView DataSourceID="ObjectDataSource1" DataKeyNames="PhotoID" runat="server">
<EditItemTemplate>
<asp:TextBox Text='<%# Bind("Caption") %>’ runat="server"/>
<asp:Button Text="Update" CommandName="Update" runat="server"/>
<asp:Button Text="Cancel" CommandName="Cancel" runat="server"/>
</EditItemTemplate>
<ItemTemplate>
<asp:Label Text='<%# Eval("Caption") %>’ runat="server" />
<asp:Button Text="Edit" CommandName="Edit" runat="server"/>
</ItemTemplate>
</asp:FormView>
When you access the Web page, the application throws an error.
You need to ensure that the application successfully updates each caption and stores it in the database.
What should you do?
What should you do to ensure that the error message displayed in the validation control ?
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.
You write the following code fragment. (Line numbers are included for reference only.)
01 <asp:RequiredFieldValidator
02 ID="rfValidator1" runat="server"
03 Display="Dynamic" ControlToValidate="TextBox1"
04
05 >
06
07 </asp:RequiredFieldValidator>
08
09 <asp:ValidationSummary DisplayMode="List"
10 ID="ValidationSummary1" runat="server" />
You need to ensure that the error message displayed in the validation control is also displayed in the validation summary list.
What should you do?
Which two actions should you perform to ensure that the following requirements are met?
You create a Microsoft ASP.NET Web application by using the Microsoft .NET Framework version 3.5.
You deploy the application on a Microsoft IIS 6.0 Web server. The server runs on a worker process isolation mode, and it hosts the .NET Framework version 1.1 Web applications.
When you attempt to browse the application, the following error message is received:
"It is not possible to run different versions of ASP.NET in the same IIS process. Please use the IIS Administration Tool to reconfigure your server to run the application in a separate process." You need to ensure that the following requirements are met:
All the applications run on the server All the applications remain in process isolation mode All the applications do not change their configuration.
Which two actions should you perform? (Each correct answer presents part of the solution.
Choose two.)
What should you do to install the database elements for both the providers on the local computer?
You create a Microsoft ASP.NET Web application by using the Microsoft .NET Framework version 3.5.
The computer that hosts the ASP.NET Web application contains a local instance of Microsoft SQL Server 2005. The instance uses Windows Authentication. You plan to configure the membership providers and the role management providers.
You need to install the database elements for both the providers on the local computer.
What should you do?
What should you do to compile the project on your computer?
You are maintaining a Microsoft ASP.NET Web Application that was created by using the Microsoft .NET Framework version 3.5.
You obtain the latest version of the project from the source control repository. You discover that an assembly reference is missing when you attempt to compile the project on your computer.
You need to compile the project on your computer.
What should you do?
What should you do to ensure that the content pages can optionally replace the static navigation menu?
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.
All the content pages in the application use a single master page. The master page uses a static navigation menu to browse the site.
You need to ensure that the content pages can optionally replace the static navigation menu with their own menu controls.
What should you do?
What should you do to ensure that the OrderError.htm Web page is displayed for unhandled errors?
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.
The application contains two Web pages named OrderDetails.aspx and OrderError.htm.
If the application throws unhandled errors in the OrderDetails.aspx Web page, a stack trace is displayed to remote users.
You need to ensure that the OrderError.htm Web page is displayed for unhandled errors only in the OrderDetails.aspx Web page.
What should you do?
What should you do to disable the non-week days in the Calendar control?
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.
To add a Calendar server control to a Web page, you write the following code fragment.
<asp:Calendar SelectionMode="DayWeek" ID="Calendar1" runat="server"> </asp:Calendar>
You need to disable the non-week days in the Calendar control.
What should you do?