469,318 Members | 1,926 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,318 developers. It's quick & easy.

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 846

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
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.