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 153511
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:48:49+00:00 2026-05-11T09:48:49+00:00

I recently got a new machine at work, and moved from XP 32 Bits

  • 0

I recently got a new machine at work, and moved from XP 32 Bits to Vista 64 Bits.

Whatever I do I cannot get my .Net projects to connect to the oracle Server… I can connect to the database using oracle sqldeveloper, but not from my projects…

I Get This error (which is puzzling me…)

‘An error has occurred while establishing a connection to the server. When connecting to SQL Server, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 – Error Locating Server/Instance Specified)’

My first WTF was the ‘SQL Server’ part as my entire project remains unchanged and I don’t use SQL Server at all (in this project)…

My connection string is as follows:

<add name='DefaultDb' providerName='System.Data.OracleClient' connectionString='Data Source=ora11dev;User Id=user;Password=pass;Integrated Security=no;'/> 

I have re-installed the oracle client and oracle connection tools for .net but my problem persists….

Can any one point out something I might be missing?

EDIT:

When I open my connection I get this error: ORA-12154: TNS:could not resolve the connect identifier specified

And i have my tnsnames.ora correct…

  • 1 1 Answer
  • 0 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. 2026-05-11T09:48:50+00:00Added an answer on May 11, 2026 at 9:48 am

    Try setting the environment variable TNS_ADMIN to point to the directory where your tnsnames.ora file resides. This will tell you if you’ve got an issue with your client locating the proper Ora Networking files.

    Edit: What is the path name to visual studio? Are there parens in it, e.g., ‘C:\Program Files (x86)\Microsoft Visual Studio\’? If so, there is a known bug that is exposed with this scenario. The fixes are to install a patch, or to reinstall Visual Studio in a location that does not have parens in the path.

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

Sidebar

Related Questions

No related questions found

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.