加班在线等求救:WINXP SP2 连接数据库出错
<%
On Error Resume Next
set conn = server.createobject("adodb.connection")
conn.open "provider=SQLOLEDB.1;User ID=myuser;password=123456;" & _
"Initial Catalog=store;Data Source=RINGS"
if err.number<>0 then
response.write "连接数据库出错!"
response.end
end if
%>
以上代码有WIN2000 SERVER,WINXP SP1的情况下,数据库连接是可以的,怎么装了WINXP SP2就提示“连接数据库出错!”呢?是不是SP2的防火墙问题呢?
高手,请指点呀。。。。。在线等,,,,,