Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Access database connection error

    Posted 12/27/09 10:54 AM

    Originally posted by: adgadg


    I have following error for the 'oil blending' example from ILOG OPL.

    Database error (state=IM002 code=0): MicrosoftODBC Driver Manager Data source name not found and no default
    driver specified, near "DRIVER={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=C:\temp\ilog\oil-tmp\oilDB.mdb//"

    I use in a .dat file:
    DBConnection db("access","oilDB.mdb");

    The oilDB.mdb is present at C:\temp\ilog\oil-tmp

    In general, the ILOG / CPLEX documentation is not sufficient clear at this point.

    Microsoft access is installed on my system and I can open the oilDB.mdb.

    Regards,
    Ad.
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Access database connection error

    Posted 03/08/10 03:43 AM

    Originally posted by: Brummel


    Hi Ad,

    you will most likely need to download an up-to-date driver.

    Go to: http://www.microsoft.com/downloads/details.aspx?FamilyID=7554F536-8C28-4598-9B72-EF94E038C891&displaylang=en

    After that, it should work.

    Regards,

    Sven
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: Access database connection error

    Posted 06/28/13 03:36 AM

    Originally posted by: gwangya


    What if I run on windows 7 - 64bit and the MS access 2010 installed on my PC is 32 bit?

    CPLEX installed on my PC is 64bit.

    This is my environment and I can't connect to my access DB.  Any clarification?


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 4.  Re: Access database connection error

    Posted 02/06/14 01:02 AM

    Originally posted by: Y7KC_Yan_Feng


    I have the same problem with connecting ILOG OPL to Access Database.

    I run the Oil example from ILOG OPL, I receive the following error:

    1) Database error (state=IM002 code=0): [Microsoft][ODBC Driver Manager] Data source name not found and no default
    driver specified, near "DRIVER={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=C:\Users\...\ oilDB.mdb//"
    2) CPLEX_Studio125\workspace\oil\ oilDB.mdb//.

    In dat file, I used:
    DBConnection db("access","oilDB.mdb");

    I use ILOG CPLEX V12.5 software, with Window 7, 64 bit, and Microsoft Office 2010. I can open the oilDB.mdb.
     
    I have installed the Microsoft Office 2007 system driver: Data Connectivity Components following the link:
     
     
    But, it still not work. Any advise at this point?

    Yan


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 5.  Re: Access database connection error

    Posted 03/08/16 10:43 PM

    Originally posted by: hoangho


    me too :( how to solve this ?


    #DecisionOptimization
    #OPLusingCPLEXOptimizer