Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2003-01-01 : 15:04:25
|
| Jason writes "I am trying to connect to MS SQL Server 2000 database "A" at website "A" from web page "B" at website "B" using ASP. Websites A & B are on different servers.My current connection looks something like this:Provider=SQLOLEDB;Data Source=SEC210WIN2K;Initial Catalog=aaa;User ID=bbb;Password=ccc;From what I understand, it is looking for a database on the current server (SEC210WIN2K) that the domain currently is hosted on. I need it to look on another server on another domain.Reason: I have two websites. I want one website to connect to a database on my other website." |
|
|
skillile
Posting Yak Master
208 Posts |
Posted - 2003-01-01 : 15:11:36
|
| strconn="Provider=SQLOLEDB.1;Password=xxx;Persist Security Info=True;User ID=xxx;Initial Catalog=xxx;Data Source=http:\\10.10.10.1"Just point the site to the server. You can use an IP if the name is not being resolved.slow down to move faster... |
 |
|
|
|
|
|