Tuesday, May 06, 2025

Breaking News
>> Securing and encrypt View State and Cookies values  >> Page has one or more controls that do not correspond with   >> “The Controls collection cannot be modified because the control contains code blocks”  >> How to fix "Validation(): Element 'xxxx' is not supported  >> How to create a new session in ASP.NET programmatically  >> MySQL Database Backup using mysqldump command    

Editors Picks

Tuesday, October 9, 2012

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

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

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.

No comments :

Post a Comment

Contact Us

Name

Email *

Message *