|
Blue Forest http://www.lslnet.com at 8:28 on August 25, 2006
OLE DB initialization string is not consistent with the specified requirements. (On-line reply to wait, thank you)
Ask experts for help out
As follows :
"%Language=VBScript%>
"Html>
"Inquiries into the database title>" /title>
"Body>
<%
Set conn=Server.CreateObject ( "ADODB.connection")
Set comm=Server.CreateObject ( "ADODB.command")
Conn.ConnectionString= "Driver={SQL Server;}
Server=5420D169AC3E40F;UID=bydz; "&" PWD=server;DATEBASE=bydz "
Conn.Open
If conn.State=1 then response.Write ""> b connecting successful "/b><p>"
Comm.ActiveConnection=conn
Comm.commandText= "select * from 14.00"
Comm.Prepared=true
Set rs=comm.Execute
Set rs=nothing
Set conn=nothing
Set comm=nothing
%> |
|