Unable to connect to an Oracle database - HxGN SDx - Update 64 - Administration & Configuration

Administration and Configuration of HxGN SDx

Language
English
Product
HxGN SDx
Search by Category
Administration & Configuration
SmartPlant Foundation / SDx Version
10

The following are common Oracle database connection errors; many of these are caused by typographical errors during initial installation or a problem in the Oracle connection. For more information on Oracle errors, please see the Oracle documentation.

Error Messages

ORA-12154: "TNS:could not resolve service name"

ORA-12198: "TNS:could not find path to destination"

ORA-12203: "TNS:unable to connect destination"

ORA-12224: "TNS:no listener"

ORA-12571: "TNS:packet writer failure"

Solutions

You can do the following to try to resolve these errors:

  1. Check that you can connect to the database server and the data database using the following Oracle utilities:

    • tnsping <service name>

    • sqlplus =<data database user>/<password>@<service name>

    SHARED Tip Replace the strings in italics with the appropriate information for your database.

  2. Use the Oracle Net Configuration Assistant utility to check and test the <service name>. For more information, see the Oracle documentation.

  3. Recycle your Internet Information Services (IIS) application pools on the HxGN SDx application server. If the Oracle server has been recently rebooted, or if the instance used by HxGN SDx has been restarted, IIS connections to the instance need to be reset.