No read permission on access database odbc connection

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

  1. #1

    Default No read permission on access database odbc connection

    I've developed a number of coldfusion pages on my local machine and had a
    number of problems with the dreaded error:

    Record(s) cannot be read; no read permission on 'xxxx'.

    I eventually managed to sort the problem on my local machine by re-creating
    all the databases from scratch and importing all the records from the old
    database. This eventually worked after several attempt going around in circles.
    However I've now come to publishing the pages on our web server but cannot get
    around the "no read permission on xxx" error again when connecting to tables in
    the database, I've tried the trick of re-creating the databases and copying all
    the data into the new tables but this time its not worked.

    I've set up a test database called TEST1.MDB it has one table in it called
    TEST with one field called TESTFIELD, the database has protection via a
    workgroup administration file and I've set up a user called WEBSERVER within
    User and Group Accounts within Access 2002. I've used User and Group
    Permissions to make the user a member of the Admin group and have also assigned
    Read Design, Modify Design, Administer, Read Dada, Update Date, Insert Data and
    Delete Data permissions to table TEST to user WEBSERVER.

    I've set up a datasource name using Coldfusion administrator to the TEST1.MDB
    database, the connection tests OK.

    When using the following cfquery tag:
    <cfquery name="Recordset1" datasource="test" username="WEBSERVER"
    password="WEBSERVER">
    SELECT *
    FROM C:\DATA\Work\Shared\wwwroot\scweb\Databases\test1. TEST
    </cfquery>

    i get the error: Record(s) cannot be read; no read permission on 'TEST'.

    I don't think the problem is with access to the TEST1.MDB database file itself
    as if i change the cfquery tag to look for table TESTDUMMY then the error
    changes to: "The Microsoft Jet database engine cannot find the input table or
    query 'TESTDUMMY'. Make sure it exists and that its name is spelled correctly.
    " - indicating the connection has managed to at least get inside the TEST1.MDB
    file and see what tables are there.

    I'm pulling my hair out now with this as I can see no logical explanation as
    to why this is now working. Any help most gratefully received.

    Yours,

    Simon




    mdirect Guest

  2. Similar Questions and Discussions

    1. How to make a ODBC connection to Informix database.
      Hello, First you must have Informix SDK or Informix Connect installed on your PC. Second, you must get informations from your DBA Is your server...
    2. Help using Access database connection
      I am using access, but when it connects using the supplied driver in CF MX7 suddenly I can see the full path name under for instance my tables in...
    3. Error in ODBC connection to Pick D3 database in CF 7.0.1
      I've updated CF 5.0 over Windows 2000 to CF 7.0.1 and queries over Pick D3 ODBC conection give an "ColdFusion MX 7 ODBC Server" error: "ColdFusion...
    4. DW8 connection to MS Access database
      I'm new to database design and I've been trying to connect to an MS Database on my local computer. I've been going round in circles trying asp,...
    5. Access and database connection
      I get the following error when I try to run my web page in asp.net. The Microsoft Jet database engine cannot open the file...
  3. #2

    Default Re: No read permission on access database odbcconnection

    Hi Everyone,

    I managed to sort this one in the end myself - it was the System Database File
    missing under the Coldfusion data sources. I had created a .mdw workgroup
    information file which contained the security information. I was presuming that
    the odbc connection to the database would have picked up and access default
    ..mdw file however this obviously wasn't the case, I would image it was using
    the default system.mdw file on the server. I put in our own .mdw file and now
    works ok.

    Great stuff.


    mdirect Guest

  4. #3

    Default Re: No read permission on access database odbcconnection

    Typo?

    <cfquery name="Recordset1" datasource="test" username="WEBSERVER" password="WEBSERVER">
    SELECT *
    FROM C:\DATA\Work\Shared\wwwroot\scweb\Databases\test1. MDB
    </cfquery>


    BKBK 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