ORA-12705 Cannot access NLS data files or invalid environment specified


I’d been getting this error when trying to connect to an Oracle Database using SQLPlus, unless I happened to be in the Oracle home bin directory.

Trawling for an answer it turns out you need to modify a registry entry which indicates the NLS parameter used by SQLPlus when it attempts to ALTER SESSION at login;

Navigate to registry key [ HKEY_LOCAL_MACHINE \ Software \ Oracle ] and rename or delete the NLS_LANG value.

Published by

Phil Harding

SharePoint Consultant, Developer, Father, Husband and Climber.

9 thoughts on “ORA-12705 Cannot access NLS data files or invalid environment specified

  1. are you kidding?
    after hours searching lot of error page, you just give us simple help but it’s work ….

    thanks

  2. Banging my head against the brick wall (you know the one we’ve all head butted before) thinking it was a driver error. I don’t like messing with the registry but this worked a treat. Thanks alot 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s