Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update query in ASP creates an error.

Status
Not open for further replies.

qwert231

Programmer
Sep 4, 2001
756
US
I have what seems to be a permissions problem updating a database. I am now on XP with IIS5 and FPE2k2. It worked with same database on NT4Wk with IIS4 FPE2k2.
I've tried adjusting the permissions on the file, the folder and thru IIS.

>Here is the error.
Error Type:
Microsoft JET Database Engine (0x80004005)
Operation must use an updateable query.
/includeSets.asp, line 62

>Here is the code:
Set objComm = Server.CreateObject("ADODB.Command")
objComm.ActiveConnection = strConnect
objComm.CommandText = "UPDATE tblNewOrderNum SET yOrders = '"&nNum&"'"
objComm.CommandType = adCmdText
objComm.Execute
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top