maybe not the error here, but you need a ";" at the end of the string ... see below. > adoConn.Open('driver=SQL > Server;server=sql0;uid=xxx;pwd=yyy;database=zzz;')