Hi all.
I got this error when I run the page on localhost.

Error Type:
Error Type:
(0x80020009)
Exception occurred.
/biotec_dwnstairs/sokongan_senarai.asp, line 8


Below is the portion of my code.
The commented shows line 8 where the error is.

VB Code:
  1. <%
  2.     set gpermohonan = server.CreateObject("adodb.recordset")
  3.     gpermohonan.open " SELECT * FROM permohonan WHERE sokong IS NULL and jpk = 1 ",conn
  4.     set gstaf = server.CreateObject("adodb.recordset")
  5.     gstaf.open "SELECT * FROM staf WHERE id='"&gpermohonan("id")&"'" ,conn 'line 8
  6. %>

Why the error occur?
Can anyone help me correct the error?
Thanks in advance.