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.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 connecting to a remote sql server

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2003-03-17 : 06:23:36
Henry writes "This worked when I ran IIS and Microsoft Sql on the same machine

Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open "EXECUTE gettop5","DSN=DSN;UID=UID;Password=Password",0,1

I now moved windows sql to a new box and for the life of me I am running into a memory block.

The question, what do I do to connect to my remote Microsoft sql box?

Thx"

samsekar
Constraint Violating Yak Guru

437 Posts

Posted - 2003-03-17 : 06:47:53
Have you reconfigured your DSN pointing to your new box?

Sekar
~~~~
Success is not a destination that you ever reach. Success is the quality of your journey.
Go to Top of Page
   

- Advertisement -