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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T05:15:09+00:00 2026-06-01T05:15:09+00:00

I have put my tns connection into the .ora file and am now able

  • 0

I have put my tns connection into the .ora file and am now able to conenct to it using SQL plus and can ping it :tnsping myConn.

I’ve also added the connection to the ODBC Manager and connecting successfully when tetsing conneciton through the ODBC tool.

now i’m having an issue making a connection to it using vb.net

i’ve tried the following:

  oODBCConnection = New Odbc.OdbcConnection(connStr)
            oODBCConnection.Open()

where my connStr is:

Data Source=tns.dev;User Id=MyUser;Password=MyPass;

per: http://www.connectionstrings.com/oracle and http://www.shabdar.org/c-sharp/101-connect-to-oracle-using-asp-net-and-csharp.html

what am i doing wrong? it’s telling me i need to specify a driver, how do i do it?

Thank you!

the error i’m getting is:

ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

  • 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. Editorial Team
    Editorial Team
    2026-06-01T05:15:10+00:00Added an answer on June 1, 2026 at 5:15 am

    ODBCConnection was incorrect.

    solution:

     Dim myConnection As OleDbConnection
        Dim myCommand As OleDbCommand
      Dim myConnection As New OracleConnection(connStr)
                myConnection.Open()
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have put my site in dropbox so you can see it http://dl.dropbox.com/u/13722201/Dorset%20Designs/home.html when
I have put together an image scroller using jquery, like this function rotateImages(whichHolder, start)
I have put a form on a web page where the user can send
I have put together a menu using a md array, but I am having
I have created a web page and have put it under Inetpub/wwwroot/Test. Now I
hi i have put this together this morning for a friend using MVC he
Yesterday I have put the question which was answered correctly but now I want
I have put together a HTTP driven API using the WCF WebAPI that uses
I have put multiple markers on my map by click event and now I
I have put much time and effort into drawing certain 3d plots and surfaces

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.