arielex
12-27-2002, 03:25 PM
Hi
I usually make a connection to a MSSQL database using these lines (ASP script):
set conn = Server.Createobject("ADODB.Connection")
conn.open "sdb", "sa", ""
now, i try these same lines in a .vbs script, which i run with cscript.exe. I get the error:
Object required: 'Server'
anyone???
tnx
Arie
I usually make a connection to a MSSQL database using these lines (ASP script):
set conn = Server.Createobject("ADODB.Connection")
conn.open "sdb", "sa", ""
now, i try these same lines in a .vbs script, which i run with cscript.exe. I get the error:
Object required: 'Server'
anyone???
tnx
Arie