Why do i get 'Operation must use an updateable query' - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Why do i get 'Operation must use an updateable query'

When trying to execute the following SQL statement from my ASP script.


strSQL = "UPDATE tblOutlets SET " &_
"company='" & fixQuotes(form_company) & "', " &_
"address='" & fixquotes(form_address) & "'," &_
"area='" & fixquotes(form_area) & "' " & "WHERE " &_
"voucher_id = " & form_voucherid

Id appreciate any help you can give!

Comments

  • ravikanthravikanth Posts: 4Member
    try to print the query and execute in query analyser or what ever u use...

  • CrackerXCrackerX Posts: 3Member
    Hi,
    The problem is that I_USR_MACHINE does not have execute permissions on the folder where your database is located. If this is running on your local machine, set this up in IIS properties or ask your hosting provider to give full permissions.



    : When trying to execute the following SQL statement from my ASP script.
    :
    :
    : strSQL = "UPDATE tblOutlets SET " &_
    : "company='" & fixQuotes(form_company) & "', " &_
    : "address='" & fixquotes(form_address) & "'," &_
    : "area='" & fixquotes(form_area) & "' " & "WHERE " &_
    : "voucher_id = " & form_voucherid
    :
    : Id appreciate any help you can give!
    :
    :

  • DarkforcesDarkforces Posts: 2Member
    cheers mate that great ive got it sorted now

    : Hi,
    : The problem is that I_USR_MACHINE does not have execute permissions on the folder where your database is located. If this is running on your local machine, set this up in IIS properties or ask your hosting provider to give full permissions.
    :
    :
    :
    : : When trying to execute the following SQL statement from my ASP script.
    : :
    : :
    : : strSQL = "UPDATE tblOutlets SET " &_
    : : "company='" & fixQuotes(form_company) & "', " &_
    : : "address='" & fixquotes(form_address) & "'," &_
    : : "area='" & fixquotes(form_area) & "' " & "WHERE " &_
    : : "voucher_id = " & form_voucherid
    : :
    : : Id appreciate any help you can give!
    : :
    : :
    :
    :

Sign In or Register to comment.