You work as a Web Developer at Certkiller.com. You create a 

题目
单选题
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.

参考答案和解析
正确答案: B
解析: 暂无解析
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  This application will be part of a solution that contains a Windows Communication Foundation (WCF) service project. The Web application will be used to make calls to a service identified in theWCF service project. Management is planning to host the Web application on a separate serverfrom the WCF service. They want the WCF service to perform remotely. You need to add areference to the WCF service.  What should you do?()

  • A、You should add an assembly reference to the project.
  • B、You should add a project reference to the project.
  • C、You should add a Web reference to the project.
  • D、You should add a service reference to the project.

正确答案:D

第2题:

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 decide to enable session state for the application. You need to determine whether the sessionID is maintained in the URL of the request.  What should you do?()

  • A、The RequestType property of the HttpRequest class should be accessed.
  • B、The IsCookieless property of the HttpSessionState class should be accessed.
  • C、The UrlDecode method of the HttpServerUtility class should be accessed.
  • D、The UrlEncode method of the HttpServerUtility class should be accessed.

正确答案:B

第3题:

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.

正确答案:B,C

第4题:

You are working with a team of developers on a Web site. You copy the Web site from the staging server to work on it locally. While making changes, you create new C# source code files and delete old ones. You need to ensure that your changes propagate to the staging server without affecting any files that you have not modified. Which tool should you use? ()

  • A、XCOPY
  • B、the Copy Web tool
  • C、the Publish Web tool
  • D、a Web Setup project

正确答案:B

第5题:

You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  A third-party assembly contains custom server controls. This assembly does not contain a strongname and it’s not part of the application’s Microsoft Visual Studio 2008 solution. You have to makesure that the other users are able to use the custom controls. You decide to configure theapplications project.  What should you do?()

  • A、You should add a project reference to the project.
  • B、You should add a Web reference to the project.
  • C、You should add a service reference to the project.
  • D、You should add an assembly reference to the project.

正确答案:D

第6题:

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.

正确答案:A

第7题:

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

  • A、ObjContext.SaveChanges(SaveOptions.DetectChangesBeforeSave);
  • B、ObjContext.SaveChanges(SaveOptions.AcceptAllChangesAfterSave);
  • C、ObjContext.SaveChanges(SaveOptions.All);
  • D、ObjContext.SaveChanges(SaveOptions.None);

正确答案:A

第8题:

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 create a folder named Dark in the App_Themes folder of the Web application. You also addfour skin files to this folder. You have to make sure that the controls on a page have their appearances overridden by the control definitions defined in the skin files. What should you do?  Which Page directive should you use?()

  • A、You should use the page directive: <%@ Page StyleSheetTheme="App_Themes.Dark"/>
  • B、You should use the page directive: <%@ Page Theme="App_Themes.Dark"/>
  • C、You should use the page directive: <%@ Page Theme="Dark"/>
  • D、You should use the page directive: <%@ Page StyleSheetTheme="Dark"/>

正确答案:C

第9题:

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 need to ensure that the application is able to load staff information from an XML file into aDataSet instance. The XML file contains an inline schema. You have to call a method of theDataSet class in order to load the information.  Identify how you can accomplish this?()

  • A、You should call the ReadXml method with the ReadSchema XML read mode.
  • B、You should call the ReadXml method with the InferTypedSchema XML read mode.
  • C、You should call the ReadXmlSchema method.
  • D、You should call the ReadXml method with the InferSchema XML read mode.

正确答案:A

第10题:

You work as a Web Developer at Certkiller.com. You make use of Microsoft ASP.NET 3.5 in orderto create a Web Site.  In a separate code file you create the following class:  public static class _Colors {  public static Color NormalActivityColor = Color.Green;  public static Color WarningActivityColor = Color.Yellow;  public static Color ErrorActivityColor = Color.Red;    public static Color GetRandomColor()  {  Random random = new Random((int)DateTime.Now.Ticks);  int randomArgbValue = random.Next();  Color color = Color.FromArgb(255, Color.FromArgb(randomArgbValue));  return color;  }  }  You need to ensure that the class is consumed by the Web Site. You have to configure the WebSite project.  What should you do?()

  • A、You should add the file to the App_Code folder of the project.
  • B、You should add a Register directive that will reference the file to every page that makes use ofthe class.
  • C、This can be accomplished by referencing the file in the assemblies segment of the Web.configfile.
  • D、This can be accomplished by referencing the file in the httpHandlers segment of the Web.configfile.

正确答案:A

更多相关问题