Connection strings for SQL DB on a different domain?

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top