none
Error IM002 [Microsoft][ODBC]Data source name not found and no default driver specified RRS feed

  • Question

  • My connection string,

    string strConnection = "Driver={Microsoft Text Driver (*.txt;*.csv)};Dbq=" + this.dirCSV.Trim() + ";Extensions=asc,csv,tab,txt;Persist Security Info=False";

    I am getting an error

    [Microsoft][ODBC]Data source name not found and no default driver specified.

    Does anyone have any idea what's the solution for this.

    Thanks,

    Rushabh Shah.


    Rushabh
    Wednesday, March 16, 2011 5:01 PM

Answers

  • Hell Rushabh,

    Thanks for posting. From what you side, I am afraid that this issue is not related to Office development. Would you tell us more information about this question? So I could redirect you to an appropriate forum. Also you could go to Forums Home for the right entry link.

    Thanks for your understanding and have a nice day.


    Bessie Zhao [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by ShahRushabh Tuesday, November 8, 2011 3:29 PM
    Wednesday, March 23, 2011 10:06 AM