471,887 Members | 1,690 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,887 software developers and data experts.

Need help on database connection in asp

I have some codes as following in asp:

set Conn=server.createobject("ADODB.Connection")
Conn.open "Driver=SQL server;PWD=asptest;UID=asptest;SERVER=SWIFT"

it works well.

but if i change codes like these:

set Conn=server.createobject("ADODB.Connection")
Conn.open "SERVER=SWIFT;UID=asptest;PWD=asptest"

It doesn't work.

Can anyone give me any idea on latter codes?


Mar 7 '07 #1
0 868

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Bobby | last post: by
7 posts views Thread by Tee | last post: by
16 posts views Thread by peshekeedweller | last post: by
5 posts views Thread by Eric Layman | last post: by
13 posts views Thread by PinkBishop | last post: by
6 posts views Thread by zaina | last post: by
reply views Thread by YellowAndGreen | last post: by
reply views Thread by zermasroor | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.