Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 249483
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T21:25:52+00:00 2026-05-11T21:25:52+00:00

As noted by the question’s title, I’m trying to connect to an Oracle database

  • 0

As noted by the question’s title, I’m trying to connect to an Oracle database from a Windows service and I am getting the following error message:

System.Exception: OCIEnvNlsCreate failed with return code -1 but error message text was not available.

Other applications on the same computer are connecting to Oracle without any issues and I have tried running the service both as the Local System and using my own user credentials. Any ideas how to resolve this situation?

  • 1 1 Answer
  • 2 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T21:25:52+00:00Added an answer on May 11, 2026 at 9:25 pm

    This error occurs with several related problems, any one of which may be yours.

    1. You need to make sure the Enviornment variables oracle needs are set properly in your windows settings. Examples include TWO_TASK, TNS_ADMIN, and NLS_LANG.

    2. If you have multiple Oracle installations, your program may not be finding the correct ORACLE_HOME and the corresponding correct libraries (DLLs). Make sure you have the PATH and ORACLE_HOME set correctly as well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

As noted by the question's title, what is the best way to preform unit
I been getting a really nasty error when updating a Service Reference for a
As I understand from this database design question , you should use nullable fields
I have the following error while trying to start my node app: TypeError: Cannot
Per this similar post , I tried the following but none-worked, with error noted
Note: This question has broadened in scope from previous revisions. I have tried to
As noted in an earlier question, How to Zip enumerable with itself , I
In a recent question it was noted that on OSX running sed on a
With the following being defined as is noted in the http library: func Handle(pattern
while looking at this question C# Similarities of two arrays it was noted that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.