operation must use updateable query

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default operation must use updateable query

    Hi everyone. I am bulding my site with Dreamweaver (my
    ASP knowladge is limited), and I am getting the above
    error while trying to insert a record.

    The connection code looks like that:
    <%
    // FileName="Connection_odbc_conn_dsn.htm"
    // Type="ADO"
    // DesigntimeType="ADO"
    // HTTP="false"
    // Catalog=""
    // Schema=""
    var MM_subscribers_STRING = "dsn=db;"
    %>

    * I did everything the guys from the forum told me to do
    about restrictions (enter my computer name in the IIS,
    checking that the file/directory is not read only, adding
    a read/write option in IIS) but it still does not work.

    I don't kno how to connect OLEDB (or whatever the name
    is..)
    and I work with access
    Note: I have also a problem with a query - when I call
    the whole table, No problem but when I try to get only
    few topics there is an error.

    What do I do? Help

    Tomas Guest

  2. Similar Questions and Discussions

    1. What is updateable Query?
      Hi everybody, Here I see that error message on the server my aspx file working: Exception Details: System.Data.OleDb.OleDbException: Operation...
    2. "Operation must use an updateable query".- after conversion to NTFS
      You need to set NTFS permissions for IUSR (which weren't in place, obviously, when using FAT32). Right-click the folder, hit sharing and...
    3. Operation must use an updateable query.
      This is the error that I get: Operation must use an updateable query. It worked previously before I installed Jet 4.0 SP 8 b/c Access 2003...
    4. Operation must use an updateable query Error
      Group, On a W2K3 / IIS 6.0 Server, we have a Web Site reading an .mdb fine. When it tries to save, it generates the following error: ...
    5. error '80004005'; Operation must use an updateable query.
      Are the users logging in with NT authentication? If so, the users will need the NTFS permissions on the mdb as opposed to the IUSR account. Ray...
  3. #2

    Default Re: operation must use updateable query

    Tomas wrote on 03 jun 2004 in microsoft.public.inetserver.asp.db:
    > Hi everyone. I am bulding my site with Dreamweaver (my
    > ASP knowladge is limited), and I am getting the above
    > error while trying to insert a record.
    >
    > The connection code looks like that:
    > <%
    > // FileName="Connection_odbc_conn_dsn.htm"
    > // Type="ADO"
    > // DesigntimeType="ADO"
    > // HTTP="false"
    > // Catalog=""
    > // Schema=""
    > var MM_subscribers_STRING = "dsn=db;"
    > %>
    >
    If you are using vbs the // is not the richt remarker,
    you should use '

    If you are using jscript, why the remarking out of these?

    [But then, my dreams do not weave]

    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress)
    Evertjan. Guest

  4. #3

    Default Re: operation must use updateable query

    > var MM_subscribers_STRING = "dsn=db;"

    Stop using a DSN!
    [url]http://www.aspfaq.com/2126[/url]
    > * I did everything the guys from the forum told me to do
    > about restrictions (enter my computer name in the IIS,
    Enter your computer name in IIS where? I have no idea what that means.
    > checking that the file/directory is not read only, adding
    > a read/write option in IIS)
    I have no idea what you did here either, but I don't think anyone has given
    you proper instructions. Probably the first thing you should do is make
    sure the MDB file is somewhere in your web structure, not in a more
    restricted place like c:\file.mdb.

    Unless you've changed the authentication settings, IIS runs ASP pages as a
    local user named IUSR_<your_machine_name>. Access, because it is a
    primitive file-based system, requires that the ASP user have read, write and
    change privileges on the folder (Access needs to grow the file occasionally,
    and also need to create an LDB file, which is used to lock access to
    specific portions of the database).

    So, what you need to do is open Windows Explorer. Right-click the folder
    where the database file is, click "Sharing and Security", and on the
    security tab, check for IUSR_<your_machine_name>. If he is not there, add
    him through the Add... button. Highlight him and make sure he has read,
    write, and modify permissions on the folder.
    > I don't kno how to connect OLEDB
    There are valid OLEDB connection strings displayed at
    [url]http://www.aspfaq.com/2126[/url]
    > No problem but when I try to get only
    > few topics there is an error.
    Can you think about SHOWING how you "try to get only few topics"? And is
    this the same error you get when you insert, or ... ?
    > What do I do? Help
    Go through some tutorials before taking on more than you can handle.

    --
    [url]http://www.aspfaq.com/[/url]
    (Reverse address to reply.)


    Aaron [SQL Server MVP] Guest

  5. #4

    Default Re: operation must use updateable query

    "Tomas" wrote in message news:173f501c44941$d3387150$a601280a@phx.gbl...
    : Hi everyone. I am bulding my site with Dreamweaver (my
    : ASP knowladge is limited), and I am getting the above
    : error while trying to insert a record.
    :
    : The connection code looks like that:
    : <%
    : // FileName="Connection_odbc_conn_dsn.htm"
    : // Type="ADO"
    : // DesigntimeType="ADO"
    : // HTTP="false"
    : // Catalog=""
    : // Schema=""
    : var MM_subscribers_STRING = "dsn=db;"
    : %>
    :
    : * I did everything the guys from the forum told me to do
    : about restrictions (enter my computer name in the IIS,
    : checking that the file/directory is not read only, adding
    : a read/write option in IIS) but it still does not work.
    :
    : I don't kno how to connect OLEDB (or whatever the name
    : is..)
    : and I work with access
    : Note: I have also a problem with a query - when I call
    : the whole table, No problem but when I try to get only
    : few topics there is an error.
    :
    : What do I do? Help

    Tomas...

    Why are you starting a new thread?
    news:172ed01c448c2$9aac3990$a401280a@phx.gbl

    --
    Roland Hall
    /* This information is distributed in the hope that it will be useful, but
    without any warranty; without even the implied warranty of merchantability
    or fitness for a particular purpose. */
    Technet Script Center - [url]http://www.microsoft.com/technet/scriptcenter/[/url]
    WSH 5.6 Documentation - [url]http://msdn.microsoft.com/downloads/list/webdev.asp[/url]
    MSDN Library - [url]http://msdn.microsoft.com/library/default.asp[/url]


    Roland Hall 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