asp连本地sql2000!!
我装了SQL SERVER2000 个人版
set conn = Server.CreateObject("ADODB.Connection")
conn.open "driver={sql server};server=(localhost);uid=xiehuiqing;pwd=;database=houtaiadmin"
sql="select top 1 * from uuser"
set rs=conn.execute(sql)
response.Write(rs("username"))
错误提示:
错误类型:
Microsoft VBScript 运行时错误 (0x800A01A8)
缺少对象: ''
请问是什么原因?