Server\NamedInstance not found
I am trying to make a connection to a named instance of a server that has a "\" in the name. In this case it is a SQL2000 Server instance (named: "SQLSERVER\SQLSERVER2000") that is running on a server that also has a SQL7 Server instance (named: "SQLSERVER") running on it. Using the following, I can connect to the SQL7 instance, but I'm getting an error messsage when I try to connect to the SQL2000 server instance:
Error Type:
Microsoft OLE DB Provider for SQL Server (0x80004005)
[DBNMPNTW]Specified SQL server not found.
/whitepapers/databases.asp, line 9
Here's an example of the connection that I'm trying to use:
<%
sConnect = "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sqluser;Initial Catalog=master;Data Source=SQLSERVER\SQLSERVER2000"
Set oConn = Server.CreateObject("ADODB.Connection")
oConn.Open sConnect
%>
Any Ideas?
|