Howdy, Stranger!

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

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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.