单项选择题

You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform.  You create an ASP.NET Web application using .NET Framework 4.0. The ASP.NET application is used to track employee performance. It uses Microsoft Windows authentication. Employees are members of a group named Employees.  Managers are members of a group named Managers.  The root folder of the application is named Details. The Details folder displays information about employees„ performance.  The Details folder has a subfolder named MoreDetails. You need to ensure that employees and managers can access pages stored in the Details folder. However, only managers can access pages stored in the MoreDetails folder.   
You make the following entries in the Web.config file in the Details folder.
You make the following entries in the Web.config file in the MoreDetails folder.
When managers try to access pages stored in the MoreDetails folder, they receive the following error message:"An error occurred during the processing of a configuration file required to service this request." You must ensure that managers are able to access pages stored in the MoreDetails folder. What will you do to accomplish this?()

A.Add the following directive between line 1 and line 2 in the Web.config file in the MoreDetails folder:<identity impersonate="false" /> 
B.Modify line 4 in the Web.config file in the MoreDetails folder as follows:<allow users="*" />
C.Add the following directive between line 1 and line 2 in the Web.config file in the MoreDetails folder:<identity impersonate="true" /> 
D.Replace line 1 in the Web.config file in the MoreDetails folder with <authentication mode="Windows" />
E.Add the following directive between line 1 and line 2 in the Web.config file in the Details folder: <identity impersonate="true" /> 


您可能感兴趣的试卷

你可能感兴趣的试题

2.单项选择题Which utility allows you to pre-compile and publish your Web site to a new location?()

A.Publish Web Site
B.Web-based installation
C.Web site project mode
D.Web services directory

3.单项选择题Which of the following is the correct collection of build events?()

A.Pre-Build, Post-Link, and Pre-Link
B.Pre-Build, Post-Build, and Post-Link
C.Pre-Build, Pre-Link, and Post-Build
D.Post-Link, Pre-Link, and Post-Build

6.单项选择题Which control allows you to bind to data items that are returned from a data source and display them?()

A.ListView Web Server Control
B.DetailsView Web Server Control
C.DataList Web Server Control
D.Data Web Server Control

最新试题

You have to store user data of 200 KB in an object. Which state management technique to use:()

题型:单项选择题

You are perfoming security testing on an existing asp.net web page.You notice that you are able to issue unauthorised postback requests to the page. You need to prevent unauthorised post back requests. which page directive you use?()

题型:单项选择题

Which class defines the contract that ASP.NET implements to provide membership services using custom membership providers?()

题型:单项选择题

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?()

题型:单项选择题

You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You create an ASP.NET Web application using .NET Framework 4.0. The Web application connects to a SQL Server database. You use the ADO.NET Entity Framework to handle persistence-ignorant entities. You create an ObjectContext object named ObjContext. Subsequently, you change properties on numerous entities. You are required to save the changed entity values in the SQL Server database. Which of the following code segments will you use?()

题型:单项选择题

Which class is used to specify a set of features to support on the XrnlReader object created by the Create method?()

题型:单项选择题

You are developing an ASP.NET Web application.The application is configured to use the membership and role providers. You need to allow all users to perform an HTTP GET for application resources, but you must allow only the user named Moderator to perform a POST operation.Which configuration should you add to the web.config file?()

题型:单项选择题

Which class provides paging functionality for data-bound controls that implement the IPageableItemContainer interface?()

题型:单项选择题

You need to ensure that when the button is clicked, both update panels update the tim without generating a postback.  What should you do?()

题型:单项选择题

You develop an ASP.NET Web page that includes multiple WebPartZone controls, an EditorZone. Users report that they cannot customize the layout of the page by moving WebParts from one.You need to ensure that users can successfully move Web Parts from one zone to another. What should you do?()

题型:单项选择题