Connection strings for SQL DB on a different domain?

  • Thread starter Thread starter Will
  • Start date Start date
W

Will

Hello,

I have a public web server running on one domain and an internal SQL
Server DB running on a different one. I want to create web services
that access the database, but I don't know what the ado.net connection
string should look like, or even if this is possible.

Is it sufficient to provide the domain in the datasource and User Id
fields as below?
"DataSource=DOMAIN\Database; User ID=DOMAIN\UserId"

Thanks,
Will.
 
Back
Top