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 - 2001-03-15 : 00:00:24
|
Andrew writes "Hi there Thanks for your time i have a problem i am running sql 2000 if i create a dsn or filedsn i can access the sql server and have it do what i need , yet if i create the script in asp to connect to the database across the internet then it either wont connect or i get the error that "Not associated with a trusted SQL Server connection" here is the connection line i am using.
set conntemp=server.createobject("adodb.connection") conntemp.Open "provider=sqloledb;Server=24.42.236.251;database=tourney"
or
set conntemp=server.createobject("adodb.connection") conntemp.Open "provider=sqloledb;Data Source=24.42.236.251;database=tourney"
If it is set with a dsn or filedsn it works fine from the machine it is on yet the login fails if i try and address it by the ip number of my server when pages are on same machine. when the page is at another server across the internet i get the error message that server could not be found any help the great one can offer i would be very happy to accept.
Thanks Andrew" |
|
|
|
|
|