|
-
Mar 2nd, 2001, 09:18 AM
#1
Thread Starter
Member
Hello,
I have two Win 2k Advanced Server boxes. One contains ASP pages. The other has MS SQL server on it.
The machines are connected with IP only. They are not "networked" together, no shared drives, etc.
I have been reading up on connection strings, but I can't figure out how to force a TCP/IP connection.
This is what I came up with, but it doesn't work.
<%
strConnect = "Driver={SQL Server}; Server=sql://sqlserv.example.com:1433; database=hous1; uid=floppy; pwd=32disk99"
%>
Thanks,
Scott
-
Mar 2nd, 2001, 09:30 AM
#2
Addicted Member
Are they both connected to the internet? If not and they arent on the same netowrk then you cant do it from a different server. if they are both on the internet try this string.
Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=<database name here>;Data Source=<server ip here>
just put the info in for initial catalog and datasource. And dont leave the<>
Hope this helps
-
Mar 2nd, 2001, 02:54 PM
#3
Hyperactive Member
jdavison,
Can this be done for AccessDB's also or only SQL?
Achichincle
VB6 (VSEE SP5, W2KPro)
ASP
HTML
-
Mar 2nd, 2001, 02:57 PM
#4
Addicted Member
Not as far as i know. SQL server runs as a server so it respond to the request, access has to be connected to directly. Not sure if odbc would allow for that or not since i have never tried it
-
Mar 2nd, 2001, 03:11 PM
#5
Hyperactive Member
Thanks.
It just further points at me having to upgrade to SQL7 for connectivity...
Achichincle
VB6 (VSEE SP5, W2KPro)
ASP
HTML
-
Mar 2nd, 2001, 03:22 PM
#6
Addicted Member
yep, wished i could convince them of that here
-
Mar 2nd, 2001, 05:16 PM
#7
Thread Starter
Member
Password?
The two machines are connected via internet...
How can I put in a password to the SQL database?
Thanks,
Scott
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
|