hi
i'm trying to develop a webpage that connects to a database. my webpage and database are in the same directory and i am currently using microsoft iis and asp (javascript).
i'm basically going off a tutorial at W3Schools on ADO. here's a link. the code that i'm using is:
<% set conn = Server.CreateObject("ADODB.Connection"); conn.Open "blahblah" %>
anyway, when i try to open my asp webpage it says "the page cannot be displayed" and shows the following error:
Error Type:
Microsoft JScript compilation (0x800A03EC)
Expected ';'
blahblah.asp, line 17, column 4
set conn = Server.CreateObject("ADODB.Connection");
---^
does anyone know what's wrong?
i'm trying to develop a webpage that connects to a database. my webpage and database are in the same directory and i am currently using microsoft iis and asp (javascript).
i'm basically going off a tutorial at W3Schools on ADO. here's a link. the code that i'm using is:
<% set conn = Server.CreateObject("ADODB.Connection"); conn.Open "blahblah" %>
anyway, when i try to open my asp webpage it says "the page cannot be displayed" and shows the following error:
Error Type:
Microsoft JScript compilation (0x800A03EC)
Expected ';'
blahblah.asp, line 17, column 4
set conn = Server.CreateObject("ADODB.Connection");
---^
does anyone know what's wrong?