Perhaps you have multiple oracle homes on your client machine -- TOAD is using one of them, and SQL*Plus is from the other. The two homes have different tnsnames files.