The SID or Service_name in your tnsnames.ora file must match that of your database server. Depend on your oracle naming convention, you may also need to check your SQLnet.ora file and see if the correct domain name is appended to your service name. Good luck.