Click here to Skip to main content
12,065,606 members (43,640 online)
Click here to Skip to main content
Add your own
alternative version

Stats

64.1K views
3 bookmarked
Posted

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

, 4 Feb 2012 CPOL
Rate this:
Please Sign up or sign in to vote.
While using Microsoft Text Driver to read CSV data to DataSet in C# in your 64 bit machine
While you are trying to read a CSV file and trying to get the data in a DataSet using Microsoft Text Driver in your 64 bit machine, you will be shown an error message as:

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

Try the solution as I do. It worked for me:
  1. Go to IIS and Application Pools in the left menu.
  2. Click the project name in the listing.
  3. Click the Set Application Pool Defaults.
  4. In General Tab, make the Enable 32 Bit Application entry to "True"
Now it works.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author


You may also be interested in...

Comments and Discussions

 
QuestionTY Pin
damianrodriguez88@gmail.com18-Jul-14 6:01
memberdamianrodriguez88@gmail.com18-Jul-14 6:01 
QuestionRROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified Pin
Member 105753845-Feb-14 21:31
memberMember 105753845-Feb-14 21:31 
Questionweb service Pin
Abdul Rahman El Habboub10-May-13 0:13
memberAbdul Rahman El Habboub10-May-13 0:13 
QuestionThanks. Pin
Mannava Siva Aditya16-Dec-12 19:30
memberMannava Siva Aditya16-Dec-12 19:30 
QuestionKeep it up.. Pin
tulasiram397517-Aug-12 3:38
membertulasiram397517-Aug-12 3:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.160207.1 | Last Updated 4 Feb 2012
Article Copyright 2011 by udhaya2code
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid