|
-
Feb 6th, 2001, 04:54 AM
#1
Thread Starter
Member
hey there!
Well I tried somethig else but Is till get errors .. here's my revised code:
*********
aConnect = "Provider=SQLOLEDB.1;Persist Security Info=False;Data Source=DEV-SVR;Initial Catalog=Alchemy;User ID=Guest;Password=;ConnectionTimeout=10;"
Set conn = Server.CreateObject("ADODB.Connection")
conn.Mode = abModeReadWrite
conn.ConnectionString = aConnect
conn.Open "SELECT * from Users"
'Set objRec = Server.CreateObject("ADODB.Connection")
While not conn.EOF
Response.Write conn("Users_UID") & " "
Response.Write conn("Users_PWD") & " "
conn.MoveNext
Wend
conn.Close
*********
An here's the new Erroe
*********
Microsoft OLE DB Provider for SQL Server (0x80004005)
[DBNMPNTW]ConnectionOpen (CreateFile()).
thanks for your help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|