Connecting Tech Pros Worldwide Forums | Help | Site Map

connecting developer 2000 to existing database

Newbie
 
Join Date: Oct 2007
Posts: 14
#1: Nov 12 '07
I have an existing database 8i . I just installed Developer 2000 for Windows NT
I am failing to connect to the database.

How should I configure it?

I tried using SQL Net Easy Configuration and Also changed tnsnames.ora

but I am getting error "invalid or unknown NLS parameter value specified" when connecting to SQL PLUS 3.3 or Forms

Please help

amitpatel66's Avatar
Moderator
 
Join Date: Mar 2007
Location: Hyderabad, India
Posts: 2,192
#2: Nov 12 '07

re: connecting developer 2000 to existing database


Quote:

Originally Posted by julietmachiwa

I have an existing database 8i . I just installed Developer 2000 for Windows NT
I am failing to connect to the database.

How should I configure it?

I tried using SQL Net Easy Configuration and Also changed tnsnames.ora

but I am getting error "invalid or unknown NLS parameter value specified" when connecting to SQL PLUS 3.3 or Forms

Please help

It's likely a missing NLS-LANG setting in your Windows PC client registry. The NLS_LANG variable is in the Home0 directory in the Windows registry is not the only NLS_LANG, and you need to locate the Oracle directory in the registry and find NLS_LANG. This variable may be set to "NA", and a change to AMERICAN_AMERICA.WE8ISO8859P15 may fix your connectivity issue.

Cause: There are two possible causes: Either an attempt was made to issue an ALTER SESSION statement with an invalid NLS parameter or value; or the NLS_LANG environment variable contains an invalid language, territory, or character set.

Action: Check the syntax of the ALTER SESSION statement and the NLS parameter, correct the syntax and retry the statement, or specify correct values in the NLS_LANG environment variable.

Follow the below steps:

1. Go to regedit
2. Go to path /HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE/HOME0
3. Change the variable NLS_LANG as mentioned above (either to NA or AMERICAN_AMERICA.WE8ISO8859P15)

This should help!!
Newbie
 
Join Date: Oct 2007
Posts: 14
#3: Nov 12 '07

re: connecting developer 2000 to existing database


Tried changing redit Still its giving same error
Newbie
 
Join Date: Oct 2007
Posts: 14
#4: Nov 12 '07

re: connecting developer 2000 to existing database


Quote:

Originally Posted by amitpatel66

It's likely a missing NLS-LANG setting in your Windows PC client registry. The NLS_LANG variable is in the Home0 directory in the Windows registry is not the only NLS_LANG, and you need to locate the Oracle directory in the registry and find NLS_LANG. This variable may be set to "NA", and a change to AMERICAN_AMERICA.WE8ISO8859P15 may fix your connectivity issue.

Cause: There are two possible causes: Either an attempt was made to issue an ALTER SESSION statement with an invalid NLS parameter or value; or the NLS_LANG environment variable contains an invalid language, territory, or character set.

Action: Check the syntax of the ALTER SESSION statement and the NLS parameter, correct the syntax and retry the statement, or specify correct values in the NLS_LANG environment variable.

Follow the below steps:

1. Go to regedit
2. Go to path /HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE/HOME0
3. Change the variable NLS_LANG as mentioned above (either to NA or AMERICAN_AMERICA.WE8ISO8859P15)

This should help!!

Still giving same error after having done the above
amitpatel66's Avatar
Moderator
 
Join Date: Mar 2007
Location: Hyderabad, India
Posts: 2,192
#5: Nov 12 '07

re: connecting developer 2000 to existing database


Check here for more details
amitpatel66's Avatar
Moderator
 
Join Date: Mar 2007
Location: Hyderabad, India
Posts: 2,192
#6: Nov 12 '07

re: connecting developer 2000 to existing database


What to consider when setting NLS_LANG:

a) The variable needs to be in Uppercase on Unix Systems.

b) If there is any mistake in the value setting of this variable (eg: a spelling mistake), you may encounter the ORA-12705.
For a list of valid languages, territories and character sets the relevant
National Language Support Guide for your version should be consulted.

c) Completely unsetting the NLS_LANG will use the default value, that is AMERICAN_AMERICA.US7ASCII.
This should always fix the ORA-12705, however we strongly advice to set the NLS_LANG,
because we are only dealing correctly with characters that can be represented completely with 7 bits.
As soon as special characters (usually stored using the 8th bit) are used, this will result in conversion problems.

Format of NLS_LANG:

LANGUAGE_TERRITORY.CHARACTERSET
debasisdas's Avatar
Moderator
 
Join Date: Dec 2006
Location: Bangalore ,India
Posts: 7,508
#7: Nov 12 '07

re: connecting developer 2000 to existing database


Both the threads are merged for better management of the forum.
Reply