i am installing AR Server on windows 2008 server, DB instance is oracle. In all my previous installation i selected oracle SID instead of oracle service name and provided the details. But in this installation whene i am selecting oracle sid and input the sid name then it give error " in valid database instance" while when i select service name in input the same (what i input suring selection of sid) then it goes to next installation screen succefully.

Please suggest what can be the issue. Also note that i tried completing the installation using oracle service name but it got failed at last screen and gives following error.

Throwable=[java.sql.SQLException: Listener refused the connection with the following error:ORA-12505, TNS:listener does not currently know of SID given in connect descriptorThe Connection descriptor used by the client was:OD-VA-W-AD-22:1521:ITSMSGARoracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:119)oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:115)oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:221)oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:648)oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:454)oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:493)oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:198)oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:29)oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:502)java.sql.DriverManager.getConnection(Unknown Source)java.sql.DriverManager.getConnection(Unknown Source)com.bmc.install.utility.jdbc.impl.OracleDatabaseHelperImpl.getConnection(OracleDatabaseHelperImpl.java:74)com.bmc.install.utility.jdbc.DatabaseHelper.getConnection(DatabaseHelper.java:233)com.bmc.install.utility.jdbc.DatabaseHelper.getConnection(DatabaseHelper.java:196)com.bmc.install.product.arsuitekit.platforms.arsystemservers.arserver.ARServerDBAUserInputValidationTask.getOracleSystemFilePath(ARServerDBAUserInputValidationTask.java:2216)com.bmc.install.product.arsuitekit.platforms.arsystemservers.arserver.ARServerDBAUserInputValidationTask.performValidation(ARServerDBAUserInputValidationTask.java:270)com.bmc.install.task.ValidationTask.execute(ValidationTask.java:53)com.bmc.install.task.InstallationTask.run(InstallationTask.java:80)java.lang.Thread.run(Unknown Source)]=============================================

Throwable=[java.sql.SQLException: Listener refused the connection with the following error:ORA-12505, TNS:listener does not currently know of SID given in connect descriptorThe Connection descriptor used by the client was:OD-VA-W-AD-22:1521:ITSMSGARoracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:119)oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:115)