錯(cuò)誤類型:ADODB.Connection (0x800A0E7A)未知的運(yùn)行時(shí)錯(cuò)誤/2/第7章/Vote/index.asp, 第 5 行<%'Server對(duì)象的CreateObject方法建立Connection對(duì)象Set Conn=Server.CreateObject("ADODB.Connection")Conn.ConnectionString="driver={SQL Server};Database=Vote"Conn.Open%>我覺得是server=Ntserver;UID=sa;PWD=sa;錯(cuò)誤我運(yùn)行asp.net是可以數(shù)據(jù)庫(kù)連接的,server=(local);uid=sa;就可以。問題補(bǔ)充: <%'Server對(duì)象的CreateObject方法建立Connection對(duì)象Set Conn=Server.CreateObject("ADODB.Connection")Conn.ConnectionString="driver={SQL Server};server=Ntserver;UID=sa;PWD=sa;Database=Vote"Conn.Open%>
如下情況,為什么會(huì)出現(xiàn)(0x800A0E7A)錯(cuò)誤?
catspeake
2023-01-03 22:18:10