单项选择题

A.Theclientandserverrunonseparatemachines.Whentheclienttriestoconnect,itreceivesaTNSerror.Bycarefullyexaminingtheenvironment,atnsnames.oraisfoundonlyontheOracleservermachine,amongotherthings.Aftercopyingthistnsnames.oraontotheclientmachine,theclientisabletoconnecttotheserver.Whichstatementistrue?()
A.tnsnames.oramustbeontheclientmachineforlocalnaming.
B.tnsnames.oramustberemovedfromtheserverfortheconnectiontowork.
C.tnsnames.oramustbeonboththeclientandservermachinesforlocalnaming.
D.tnsnames.oraisnotrequiredforlocalnaming;theproblemwasnotfixedbycopyingthefiletotheclient.