Menu

Oracle Connection Error

0 votes

After installing dbFront I get an Oracle connection error?

  • The type initializer for 'OracleInternal.Network.AddressResolution' threw an exception.
  • Value cannot be null.
  • Parameter name: path1

How can I resolve this?

in Database Connection by (7.0k points)
recategorized by

1 Answer

0 votes

Oracle has a variety of connection errors, some with an unclear relationship to the actual issue.

Error

  • The type initializer for 'OracleInternal.Network.AddressResolution' threw an exception.
  • Value cannot be null.
  • Parameter name: path1

Solution

This issue is that the file "sqlnet.ora" is missing the keyword "NAMES.DIRECTORY_PATH". If no previous value existed then a reasonable starting value is:

NAMES.DIRECTORY_PATH=(hostname)

Multiple options are possible. Beware of referring to non-existing services.

NAMES.DIRECTORY_PATH=(tnsnames, ldap, ezconnect)
by (64.3k points)
Welcome to the dbFront Q&A site, where you can ask questions and receive answers from other members of the community.
 | Minimalist Answer Theme by Digitizor Media
 |
Powered by Question2Answer
...