using vb scipt
what have i done wrong???Code:Sub OpenDatabase(ByRef dbConn) Set dbConn = Server.CreateObject("ADODB.Connection") dbConn.ConnectionTimeout = 15 dbConn.CommandTimeout = 30 dbConn.Open "PWD=sa;DATABASE=bnw"
i always get an error when trying access it this way????
this code comes from my
code.inc file that i call up on every use that i want to open my SQL7 database ??
the name of my database is BNW
my server is nt004
password for it is sa
maybe coz i have not included my server nt004 in it??
how do i do this????


Reply With Quote