Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Problems with connecting with ODBC source

Problems with connecting with ODBC source

Scheduled Pinned Locked Moved Database
helpdatabasesql-serversysadmintools
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Deques
    wrote on last edited by
    #1

    I have a problem with connecting to a sql server with ODBC source. I can create this source without any problems in administration tools -> ODBC sources. But when I try to connect to the SQL server I get an error saying that the ODBC source name doesnt exist. I have tried to connect directly to server via Excel import data and it works well, but with ODBC source I get this error. Someone with any idea of the problem

    W 1 Reply Last reply
    0
    • D Deques

      I have a problem with connecting to a sql server with ODBC source. I can create this source without any problems in administration tools -> ODBC sources. But when I try to connect to the SQL server I get an error saying that the ODBC source name doesnt exist. I have tried to connect directly to server via Excel import data and it works well, but with ODBC source I get this error. Someone with any idea of the problem

      W Offline
      W Offline
      Wendelius
      wrote on last edited by
      #2

      Few possibilities: - Verify that the DSN name is written correctly when using DSN. - When creating the source, use test functionality to verify, that configuration is valid. - Try to use System DSN if you have used User DSN.

      D 1 Reply Last reply
      0
      • W Wendelius

        Few possibilities: - Verify that the DSN name is written correctly when using DSN. - When creating the source, use test functionality to verify, that configuration is valid. - Try to use System DSN if you have used User DSN.

        D Offline
        D Offline
        Deques
        wrote on last edited by
        #3

        -I have verified it, everything is correct -Its tested and it is successfully connected -I have tried that Its just weird, i can create this odbc connection without any problems. but connecting with it just dont work i have gotten it to work in other places, but its this place i cant get it to work

        W 1 Reply Last reply
        0
        • D Deques

          -I have verified it, everything is correct -Its tested and it is successfully connected -I have tried that Its just weird, i can create this odbc connection without any problems. but connecting with it just dont work i have gotten it to work in other places, but its this place i cant get it to work

          W Offline
          W Offline
          Wendelius
          wrote on last edited by
          #4

          That's odd... Check that you don't have another DSN (system or user) with the same name. If not helpful: - delete the DSN - check from the registry that it's gone (HKEY_CURRENT_USER\Software\ODBC\ODBC.INI or HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI) - create it again (use a different name just in case) - again verify from registry that it's configured as it should be.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups