[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Operation not allowed

Posted on 2005-04-11
1
Medium Priority
?
480 Views
Last Modified: 2010-05-18
I generate this error from the code below.
Can anyone tell me what I did wrong?
Thanks.

ADODB.Recordset error '800a0c93'
Operation is not allowed in this context.
/Help/request.asp, line 48

      SET rs = Server.CreateObject("ADODB.Recordset")
            rs.open "tblHD_Request", conn, 3, 3
            rs.AddNew
            rs("Request_type_ID") = FORM_HIDDEN
            rs("Requestor_ID") = hd_request_id
            rs("Requestor_Date") = FORM_DATE
            rs("Requestor_request") = FORM_DESCRIPTION
            
            hd_request_id = rs("HD_Request_ID")
            rs.Close      <--- Line 48
            Set rs = Nothing
0
Comment
Question by:Isaac
1 Comment
 
LVL 5

Accepted Solution

by:
kollu earned 1800 total points
ID: 13753333
It should have rs.update then rs.close.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Loops Section Overview
Screencast - Getting to Know the Pipeline
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question