题目内容 (请给出正确答案)
[主观题]

你正在开发一个 Web 应用。这个 Web 应用使用如下的代码段去连接数据库;conn.ConnectionString =

“Server=(local);Initial Catalog=NorthWind;IntegratedSecurity=SSPI;”你在Microsoft SQL Server里为每个Web应用的用户都创建了登录。但是,当你在运行Web应用的时候却收到了如下的错误:“用户‘COMPUTERNAME\ASPNET’登录失败”。为了解决这个问题,你应该通过那两个步骤来完成?()

A. 在IIS里,拒绝匿名访问。

B. 在Web.config文件,设置允许模拟身份(enable impersonation)。

C. 在IIS里,允许匿名访问。

D. 在Web.config文件,设置不允许模拟身份(disable impersonation)。

E. 在Web.config文件,设置验证模式为Windows。

查看答案
如搜索结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能会需要:
您的账号:
发送账号密码至手机
发送
更多“你正在开发一个 Web 应用。这个 Web 应用使用如下的代…”相关的问题

第1题

YournetworkconsistsofasingleActiveDirectorydomain.AlldomaincontrollersrunWindowsServer2008

R2.YouneedtoidentifytheLightweightDirectoryAccessProtocol(LDAP)clientsthatareusingthelargestamountofavailableCPUresourcesonadomaincontroller.Whatshouldyoudo()

A.ReviewperformancedatainResourceMonitor.

B.ReviewtheHardwareEventslogintheEventViewer.

C.RuntheLANDiagnosticsDataCollectorSet.ReviewtheLANDiagnosticsreport.

D.RuntheActiveDirectoryDiagnosticsDataCollectorSet.ReviewtheActiveDirectoryDiagnosticsreport.

点击查看答案

第2题

您正在开发一个应用程序,存储公司的销售及技术支持团队的数据。当某个用户实体查询关于特定团队的详细信息,您需要确保名称和每个人的联系信息可以作为一个单一的集合。您还需要确保数据集合的类型安全。你应该选择哪个?()

A.

B.

C.

D.

点击查看答案

第3题

YournetworkconsistsofasingleActiveDirectorydomain.AlldomaincontrollersrunWindowsServer2008R2.Youneedtocaptureallreplicationerrorsfromalldomaincontrollerstoacentrallocation.Whatshouldyoudo()

A.Configureeventlogsubscriptions.

B.StarttheSystemPerformancedatacollectorset.

C.StarttheActiveDirectoryDiagnosticsdatacollectorset.

D.InstallNetworkMonitorandcreateanewcapture.

点击查看答案

第4题

创建一个Microsoft Windows的基本应用程序,该应用程序包含一系列的处理器密集型方法调用,需要不同的数据库连接。在测试期间一个错误被提出。错误的说明中指出,应用程序在处理器密集型调用期间,该方法执行到一半以上就挂起。但是在您的单位用同样的方法却测试成功。你需要复制这个错误。你应该从测试人员这里确定哪两个因素?()

A.Security credentials of the logged on user (登录用户的安全凭据.)

B.Code access security settings (代码访问安全设置)

C.Hardware settings (硬件设置)

D.Network settings (网络设置)

E.Database settings (数据库设置)

点击查看答案

第5题

YouworkinacompanywhichisnamedWiikigoCorp.ThecompanyusesSQLServer2008.Youaretheadministrato

rofthecompanydatabase.NowyouareinchargeofaSQLServer2008instance.YouconfiguretheSQLServerinstancetousethe-T1222and-T1204traceflagsduringstartup.Youmustmakesurethatyourfailurerecoveryplanperformsbackupoftheuseofthetraceflags.Sowhatactionshouldyouperformtoachievethisgoal?()

A.Youshouldbackupthemasterdatabase

B.Youshouldbackupthedefault.trcfile

C.YoushouldbackuptheSQLServerregistryhive.

D.Youshouldbackuptheresourcedatabase

点击查看答案

第6题

You are developing a Windows Communication Foundation (WCF) service. The following code de

fines and implements the service. (Line numbers are included for reference only.)01 [ServiceContract(SessionMode = SessionMode.Allowed)]02 public interface ICatchAll03 {04 [OperationContract(IsOneWay = false, Action = "*", ReplyAction = "*")]05 Message ProcessMessage(Message message);06 }0708 public class CatchAllService : ICatchAll09 {10 public Message ProcessMessage(Message message)11 {1213 ...14 return returnMsg;15 }16 }You need to ensure that two identical copies of the received message are created in the service.Which code segment should you insert at line 12?()

A.

B.

C.

D.

点击查看答案

第7题

YouworkinacompanywhichusesSQLServer2

008.Youaretheadministratorofthecompanydatabase.NowyouareinchargeofaSQLServer2008instance.ThereisadatabasenamedDB1intheinstance.Thelatestdifferentialbackupisperformedat15:30,thefullbackupwasperformedat13:30,anddatabasesnapshotswerecreatedat16:30andat17:30.Thebackupsandthedatabasesnapshotsarestoredonadifferentdiskfromthedatabasefiles.At17:05,theharddiskcontainingthedatabasefilesfailsat17:02hours.YoumustrestoreDB1whilereducedatalosstotheleast.

Sowhatactionshouldyouperformtoachievethisgoal?()

点击查看答案

第8题

YouworkinacompanywhichisnamedWiikigoCorp.ThecompanyusesSQLServer2008.Youaretheadministrato

rofthecompanydatabase.NowyouareinchargeofaSQLServer2008instance.ThereisadatabasenamedDB1intheinstance.Inthedatabase,asmallpercentageofdataismodifiedeveryday.Everdayinthemorning,youhavetocreatearead-onlycopyofthedatabaseforreportingpurposesandmakesurethatyouuseaslittlediskspaceaspossible.Intheoptionsbelow,whichstrategyshouldyouuse?()

A.Youshouldusedatabasesnapshots

B.Youshouldusedatabasebackupandrestore

C.Youshouldusedatabasebackupandrestorealongwithcompression

D.Youshoulduseschema-boundviewsinaread-onlydatabase.Thedatabaseresidesonthesameinstance.

点击查看答案

第9题

our company has an Active Directory domain. The company has a main office and a branch off

ice. Both the offices have domain controllers that run active directory-integrated DNS zones. All client computers are configured to use the local domain controllers for DNS resolution. The domain controllers at the branch office location are configured as read-only domain controllers (RODC). You change the IP address of an exisiting server named SRV2 in the main office. You need the branch office DNS servers to reflect the change immediately.What should you do?()

A.Run the dnscmd /zoneupdatefromDs command on the branch office server.

B.Run the dnscmd /zoneupdatefromDs command on a domain controller in the main office.

C.Change the domain controllers at the branch offices from RODCs to standard domain controllers.

D.Decrease the minimum (default) TTL option to 15 minutes on the start of authority (SOA) record for the zone.

点击查看答案

第10题

你是Contonso的一个网站开发人员。您正在创建一个在线库存网站让德国和美国的员工使用。当一个用户选择一个特定的项目从库存中。该网站需要显示美国和德国这两个国家的价格成本。在这两个区域里,价格必须正确的显示。你想创建一个函数来执行这项任务。你应当使用哪个代码?()

A.

B.

C.

D.

点击查看答案
热门考试 全部 >
相关试卷 全部 >
账号:
你好,尊敬的上学吧用户
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改
谢谢您的反馈

您认为本题答案有误,我们将认真、仔细核查,
如果您知道正确答案,欢迎您来纠错

警告:系统检测到您的账号存在安全风险

为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!

微信搜一搜
上学吧
点击打开微信
警告:系统检测到您的账号存在安全风险
抱歉,您的账号因涉嫌违反上学吧购买须知被冻结。您可在“上学吧”微信公众号中的“官网服务”-“账号解封申请”申请解封,或联系客服
微信搜一搜
上学吧
点击打开微信