Click here to Skip to main content
Click here to Skip to main content

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


Comments and Discussions

 
QuestionTY Pinmemberdamianrodriguez88@gmail.com18-Jul-14 6:01 
QuestionRROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified PinmemberMember 105753845-Feb-14 21:31 
Questionweb service PinmemberAbdul Rahman El Habboub10-May-13 0:13 
QuestionThanks. PinmemberMannava Siva Aditya16-Dec-12 19:30 
QuestionKeep it up.. Pinmembertulasiram397517-Aug-12 3:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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
Web01 | 2.8.141223.1 | Last Updated 4 Feb 2012
Article Copyright 2011 by udhaya2code
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid