Yes, it should be easy....
I have a single box hosing IIS and SQL Server 2000. In my ASP script I've
tried using the following connection strings to attempt to connect to no
avail:
"Provider=SQLOLEDB;Server=servername\instancename, 1433;Database=TEST;network=DBMSSOCN;uid=TEST;pwd=T EST"
"Provider=SQLOLEDB;Server=local IP
address\instancename,1433;Database=TEST;network=DB MSSOCN;uid=TEST;pwd=TEST"
"Provider=SQLOLEDB;Server=external IP
address\servername\instancename;Database=TEST;netw ork=DBMSSOCN;uid=TEST;pwd=TEST"
Getting error:
"Microsoft OLE DB Provider for SQL Server (0x80004005)
[DBNETLIB][ConnectionOpen (Connect()).]Specified SQL server not found."
SQL Server is set up for SQL and Windows authentication. Server utility is
configured for both named pipes and TCP/IP. Port is set to 1433.
I can connect to the DB using Query Analyzer both from the local server
itself AND from a remote laptop over the internet.
So, what am I missing?????
Thanks in advance,
Chad