Replacement for OLEDB connection in MX?

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Replacement for OLEDB connection in MX?

    My ISP used to have Cold Fusion 5 running on their servers, allowing me to
    connect to databases via OLEDB connection: <CFSET DB='C:\Web\Files\DB.mdb'>
    <cfquery name='Get_Files' datasource='#DB#' dbtype='OLEDB' username='Admin'
    password='' provider='Microsoft.Jet.OLEDB.4.0' providerdsn='#DB#'> SELECT *
    FROM Files ORDER BY Num </cfquery> They have since updated to CF Server MX,
    thus not allowing me to connect via OLEDB. Is there any way that I can work
    around this and still manually connect to databases without a DNS? Any help
    would be GREATLY appreciated.:confused;:cool;:confused;

    OFAH Webmaster Guest

  2. Similar Questions and Discussions

    1. SQL Server - OLEDB or ODBC connection
      What are the advantages/disadvantages between selecting an ODBC and an OLEDB connection between MX and a SQL Server 2000 db...?
    2. Dreamweaver ASP.NET OLEDB connection problem
      have some Dreamweaver ASP .NET OLE DB connectin problem - I have "The connection was made susessfull" message but doesn't see any table in it. Can...
    3. OLEDB connection string help
      I'm trying to connect to a SQL Server using dsn-less connection string such as "PROVIDER=SQLOLEDB;DATA...
    4. Help with OLEDB connection string
      Hi, I'm following the below example in order to create a connection to my Access database. My question is, is it possible to include the...
    5. OLEDB COnnection String to Oracle
      Does someone know the proper connection string for using OLE DB connection to an oracle server ? Jon Spartan
  3. #2

    Default Re: Replacement for OLEDB connection in MX?

    The unicode driver for Access in CFMX 6 uses JDBC/OLEDB/Jet. So you
    could set up a dummy (or live) DSN using the unicode driver and then
    query other databases using the IN statement (e.g SELECT * FROM
    tablename IN 'path to mdb file') and this, in theory(untested), would be
    using the OLEDB driver for all connections.

    HTH

    --
    Tim Carley
    [url]www.recfusion.com[/url]
    [email]info@NOSPAMINGrecfusion.com[/email]
    Mountain Lover Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139