access Lotus notes database using ODBC and C# RRS feed

  • Question

  • Hello all,

    I want to access the Lotus notes database in my c# application.For that I installed NotesSQL 8.5 . I am trying to get the Notes data using ODBC It is throwing some error.Here I am attaching connection string.


    string sConnString = "Driver={Lotus NotesSQL 8.5 (32-bit) ODBC DRIVER (*.nsf)};" + "Server=serverXXXX;" + "database="DBName;" "Uid=userxxx;" + "Pwd=pwdxxx";

    OdbcConnection odbccon = new OdbcConnection(sConnString);


    while opening connection it is throwing error ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified" Please provide some is help full if any one provide sample code with getting data from Notes.

    Thanks and Regards

    Naresh Mesienni


    Naresh Mesineni (Friends are Forever)
    • Moved by edhickey Friday, July 8, 2011 2:27 PM (From:.NET 4: Windows Workflow Foundation)
    Friday, July 8, 2011 7:58 AM


  • Are you running in 64-bit Windows? If so, change the Platform option (Build...Configuration Manager) to x86 so that your app runs 32-bit.

    Paul ~~~~ Microsoft MVP (Visual Basic)
    Friday, July 8, 2011 3:27 PM

All replies