Post your complete error message. check whether you have configured the listener and tnsnames..