单项选择题
You work as an application developer at Contoso.com. You use Microsoft .NET Framework 3.5 and Microsoft ADO.NET to develop an application. The Contoso.com network contains a Microsoft SQL Server 2005 server named DB01. Your application retrieve records from a
database named Trades that resides on DB01. The application connects to Trades by using an instance of the SqlConnection class with the following connection string.
"Data Source=DB01;UID=’mhamm’;PWD=’password’;"
When the application calls the Open method of the SqlConnection object, it displays the following: "Cannot open user default database. Login failed. Login failed for user ’mhamm’".
You need to make sure that you can connect to Trades when the user account for the connection is mhamm.
What should you do? ()
A. Change the connection string as follows:Data Source=DB01;Initial Catalog=Trades;UID=mhamm; PWD=password;"
B. Create a login for Mia Hamm on DB01.
C. Create a database user object in Trades and map the object to the SQL Server 2005 Login of Mia Hamm.
D. Change the connection string as follows:"Server=DB01;Database=Trades;UID=mhamm;PWD=password;"
相关考题
-
单项选择题
Your network contains an internal network and a perimeter network that are separated by a firewall. The perimeter network contains an Exchange Server 2010 Edge Transport server. You plan to deploy an internal Exchange Server 2010 organization that meets the following requirements:.Support EdgeSync synchronization .Support encrypted delivery of outbound e-mail messages to the Edge Transport server .Minimize the attack surface of the internal network Which TCP ports should you allow from the internal network to the perimeter network?()
A.3389 and 25
B.3389 and 636
C.50636 and 25
D.50636 and 135 -
问答题
试阐述《典论论文》文以气为主的内涵及其在文论史上的重要意义。 -
单项选择题
YouneedtocopytheconfigurationofanEdgeTransportServer.YouruntheExport-edgeconfig.ps1script.Whatotheractionshouldyouperform?()
A.Export-exchange certificate
B.Export-transport rule connection
C.Backup system state
D.You must log on by using an account that is a member of the local Administrators group on that computer
