Login or Sign Up to become a member!
LessThanDot Sit Logo

LessThanDot

Data Management

Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary. Once you register for an account you will have immediate access to the forums and all past articles and commentaries.

LTD Social Sitings

Lessthandot twitter Lessthandot Linkedin Lessthandot friendfeed Lessthandot facebook Lessthandot rss

Note: Watch for social icons on posts by your favorite authors to follow their postings on these and other social sites.

Your profile

    Search

    XML Feeds

    Google Ads

    « 2011 Quarter 2 Goal ReviewUser Groups? Those Still Exist? They Do, and You Should Be Going To One »
    comments

    This is a problem I ran into recently. I have a 64-bit operating system.

    I'm running Excel 2010, which is 32-bit. There is also a 64-bit version. (You can get this information by going to File > Help.)

    I went to Programs > Administrative Tools > Data Sources (ODBC). I set up a System DSN. I tested it and it works fine. Hurray!



    Then I opened Excel 2010 and went to Data > From Other Sources > From Microsoft Query. The DSN isn’t there. What happened?



    I scratched my head over this for a while, and then emailed my team. One of my senior DBAs had run into this before and pointed me to this Microsoft KB article: http://support.microsoft.com/kb/942976. On a 64-bit computer, the DSN will be set up as 64-bit. However, a 32-bit application can’t see a 64-bit DSN. Excel 2010 is a 32-bit application.
    To solve this problem, I needed to set up a 32-bit DSN. I did that by going running the 32-bit ODBC Data Source Administrator tool from C:\Windows\SysWOW64\odbcad32.exe. I created the same DSN, with _32Bit in the name.

    I went back to Excel > Data > From Other Sources > From Microsoft Query. My 32-bit DSN is in the list.



    What I learned is that 64-bit operating systems contain both 64-bit and 32-bit ODBC administration tools. You must use the appropriate tool for the application you are working with.

    About the Author

    User bio imageJes Schultz Borland is a Consultant with Brent Ozar PLF, and a Microsoft SQL Server MVP. She holds an AAS - Programmer/Analyst degree, and has worked with SQL Server since 2007, focusing on Reporting Services and day-to-day administration. She is an active member of PASS, Director of Communication for MADPASS, founder of Tech on Tap, and a LessThanDot.com blogger. She's a frequent presenter at user groups, SQL Saturdays, and other community events. She is also an avid runner and chef.
    Social SitingsTwitterLinkedInLTD RSS Feed
    Instapaper

    6 comments

    Comment from: SQLDenis [Member] Email
    SQLDenis Keep in mind that Excel 2010 comes in a 32 bit as well as a 64 bit version. I will check later today at home where I do have a 64 bit version of office 2010 installed to see if I see the DSN
    06/30/11 @ 11:36
    Comment from: Naomi Nosonovsky [Member]
    Naomi Nosonovsky I have Excel 2010 64 bit. I'll test later tonight if I can access 64 bit DSN.

    BTW, took me quite a while to find the About dialog.
    06/30/11 @ 11:51
    Comment from: Jes Schultz Borland (grrlgeek) [Member]
    Jes Schultz Borland (grrlgeek) Denis, you're correct. Thanks for pointing that out.
    06/30/11 @ 14:05
    Comment from: SQLDenis [Member] Email
    SQLDenis Confirmed that 64 bit Excel can see 64 bit DSN
    06/30/11 @ 17:52
    Comment from: Jes Schultz Borland (grrlgeek) [Member]
    Jes Schultz Borland (grrlgeek) Great, thanks Denis!
    06/30/11 @ 19:13
    Comment from: genomon [Member]
    genomon Thanks, Jes! Had this problem in Access as well.
    07/01/11 @ 15:15

    Leave a comment


    Your email address will not be revealed on this site.

    Your URL will be displayed.
    (Line breaks become <br />)
    (Name, email & website)
    (Allow users to contact you through a message form (your email will not be revealed.)