Finding DNS

Posted on 2011-05-05
Last Modified: 2012-05-11
I went through the control panel and made a DNS connection (tested it and it worked).  I'm now in Access 2010 front-end, trying to use the wizard to import & link tables to a SQL Server.  I don't see the DNS I made anywhere.  Someone have a good step-by-step on how to do this? It's been awhile.
Question by:gcgcit
    LVL 56

    Expert Comment

    by:Jim Dettman (Microsoft MVP/ EE MVE)

     When you created the DSN, did you create a file, user, or system DSN?

      Also, are you working on a 64 bit OS?   For 64 bit, there are two ODBC managers; one for 64 and one for 32.  Access is a 32 bit app, so you must create it with the 32 bit ODBC manager or it won't see it (the 32 bit one is in the WOW64 directory).


    Author Comment

    I'm in a 64 bit, Windows 7 and Access 2010.  I was in control panel to make DSN, got my admin to log in, created it, tested connection and rebooted.  Now I'm in Access 2010 pressed Import & Link ODBC Database and when I type the DNS name but I don't know what folder to link to.
    LVL 56

    Accepted Solution


      Unless your using the 64 bit edition of Office (most are not), you need to create the DSN with the 32 bit version of the ODBC manager:

     %systemdrive%\Windows\SysWoW64\ Odbcad32.exe

      Make sure you a system DSN with it.

      In Access 2010, Click External Data, ODBC Database, then select "Link to data source by creating a linked table".

      The ODBC dialog will popup and you should see your DSN.



    Author Closing Comment

    Thank you, very helpful as always.  Fixed it.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
    I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
    Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
    Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now