Connecting to MS Access Datasource

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

  1. #1

    Default Re: Connecting to MS Access Datasource

    not working for me, I have the same exact issue.
    Scooby Doobie Doo Guest

  2. Similar Questions and Discussions

    1. Can't set up access datasource
      After some struggle, I managed to upgrade my development latop from MX 6.1 to 7.0. I set up SQL databases as datasources with no problems....
    2. Cannot Create MS Access Datasource
      I have seen this problem posted on google groups but really no definitive answer. Machine Specifications: Windows Server 2003 Macromedia...
    3. Connecting Coldfusion MX 7 to a datasource
      Hi everyone! I am trying to connect Coldfusion MX 7 to a datasource on my webhost's server. The server has MySQL 4.0.25-standard however the only...
    4. Cannot add new Access datasource
      hi, I?m using CF 6.1, when I try to add a new Microsoft Access datasource from the CF admin I get the following error: The ColdFusion MX ODBC...
    5. losing access to datasource
      We have the datasource set up in the coldfusion administrator and the database exists where it should. The website has been using the datasource...
  3. #2

    Default Re: Connecting to MS Access Datasource

    I have a mapped drive ,Z: which points to \\Hartlanddc1\Access\, and have
    entered the unc path in the "database file" area in the CF Administrator.
    \\Hartlanddc1\Access\MIS\MIS.mdb

    I get the following error...
    Connection verification failed for data source: IntranetMIS
    []java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC
    Socket][Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database
    engine cannot open the file '(unknown)'. It is already opened exclusively by
    another user, or you need permission to view its data.
    The root cause was that: java.sql.SQLException: [Macromedia][SequeLink JDBC
    Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet
    database engine cannot open the file '(unknown)'. It is already opened
    exclusively by another user, or you need permission to view its data.

    I've been looking around through the forums and see a couple other items
    related to this that talk about setting permissions on the ODBC Services, and
    on the Access Database. I'm not exactly sure where to find the permissions on
    the ODBC Service, and I have tried setting my admin account to have full
    permission on the database.

    This is a brand new server running CF MX 6.1, on a Win2003 Server SP1.

    On my old CF 4.5 server (also Win2003) I have a mapped drive, and the mapped
    letter in the "database file" area of the CF Administrator, and the connection
    to that datasource works.

    If you have any suggestions, please let me know.

    Thanks,
    Heather

    HKVan1 Guest

  4. #3

    Default Re: Connecting to MS Access Datasource

    You can modify the permissions on the ODBC services by going to control panel,
    then the administrative tools and then services. Look for ColdFusion ODBC
    Server or something like that. I don't remember the exact name right now.
    Hope that this helps. Thanks.

    Chris

    cgsj_usa@yahoo.com Guest

  5. #4

    Default Re: Connecting to MS Access Datasource

    That did it! Thanks!
    HKVan1 Guest

  6. #5

    Default Re: Connecting to MS Access Datasource

    Glad I could help.
    cgsj_usa@yahoo.com Guest

  7. #6

    Default Re: Connecting to MS Access Datasource

    I'm having a similar problem with CFMX 7 running on a windows XP Pro server. We
    have server instances setup and running, and everything is working fine with
    all of the SQL Server datasources. But, when I try to add an Access datasource
    I get this error:

    Unable to update the ColdFusion MX 7 ODBC Server.
    An exception occurred when invoking an external process.
    The cause of this exception was that: java.io.IOException: CreateProcess:
    D:\JRun4\servers\MOST.org\cfusion.ear\cfusion.war\ WEB-INF\cfusion\db\slserver54\
    admin\swcla.exe -i
    D:\JRun4\servers\MOST.org\cfusion.ear\cfusion.war\ WEB-INF\cfusion\db\slserver54\
    admin\MOST.inp error=2.

    If I try and delete the unsuccessful datasource, I get the CF gray screen of
    death error message in the CF Admin. It says:
    An exception occurred when invoking an external process.
    The cause of this exception was that: java.io.IOException: CreateProcess:
    D:\JRun4\servers\MOST.org\cfusion.ear\cfusion.war\ WEB-INF\cfusion\db\slserver54\
    admin\swcla.exe -l dsd 'Macromedia ColdFusion MX 7 ODBC Server' 'MOST' error=2.

    The error occurred in _sl54del.cfm: line 12
    Called from msaccess.cfm: line 56
    Called from msaccess.cfm: line 39
    Called from msaccess.cfm: line 1
    Called from _sl54del.cfm: line 12
    Called from msaccess.cfm: line 56
    Called from msaccess.cfm: line 39
    Called from msaccess.cfm: line 1

    -1 : Unable to display error's location in a CFML template.

    I've tried the solutions listed below, but it's still not working. Does
    anyone have any other suggestions? It looks like it's some sort of permission
    problem writing into the jrun folder, but I'm not sure.

    Thanks,
    Cathy



    cltuxbu Guest

  8. #7

    Default Re: Connecting to MS Access Datasource

    Quote Originally Posted by HKVan1 View Post
    That did it! Thanks!
    Recently I encountered the same error on my app (Coldfusion & MS Access 97).

    [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Cannot open database '|'.

    What does permission have to do with this issue? Sorry, I'm a newbie just trying to learn :) My app was working fine until 2 weeks ago. And a handful of accounts' ID field (primary key) is being replaced with a checkbox and a + sign; although the real value is still there (hidden) and could be retrieve via query. When I tried to correct the IDs to its true value, Access errored out and closed the db. Your help is greatly appreciated.

    -tk-
    Unregistered 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