在win2000的服务里面OracleServeOffice(我见的数据库office)已经运行了,连接串也对,昨天用的时候是好的.不过,好像office的TNSNAMES.ORA好像没有了,我在{Oracle_home}\network\admin\下面只看到了sample,没看到我的office,我用Oracle Net Manager 配置命名服务时,连接测试时报错:
初始化首次测试请使用用户名: scott, 口令: tiger
正在尝试使用以下用户 ID 连接:scott
测试没有成功。
ORA-28759: Failed to open file在输入的字段中可能有错误, 
或者服务器连接未就绪。

解决方案 »

  1.   

    TNS-12154 TNS:could not resolve service nameCause: The service name specified is not defined correctly in the TNSNAMES.ORA file.Action: Make the following checks and correct the error: Verify that a TNSNAMES.ORA file exists and is in the proper place and accessible. See the operating system specific manual for details on the required name and location. Check to see that the service name exists in one of the TNSNAMES.ORA files and add it if necessary. Make sure there are no syntax errors anywhere in the file. Particularly look for unmatched parentheses or stray characters. Any error in a TNSNAMES.ORA file makes it unusable.用Net configuration assistant在重新配置一下