excaliburwales
MIS
Hi there
Error is ....
Microsoft OLE DB Provider for SQL Server error 80004005
[DBNMPNTW]ConnectionOpen (CreateFile()).
An Intranet IIS 4 server on Windows NT makes an asp request to a Windows 2000 server with SQL 7 Server as the default instance - this connection works fine with the following code ....
myConnection.Open "Provider=sqloledb;" & _
"Data Source=dataserver;" & _
"Initial Catalog=pubs;" & _
"User Id=sa;" & _
"Password=*****"
The same Windows 2000 server also has loaded a SQL 2000 Server as a named instance - this code dosn't connect ...
myConnection.Open "Provider=sqloledb;" & _
"Data Source=dataserver\dataserver2000;" & _
"Initial Catalog=pubs;" & _
"User Id=sa;" & _
"Password=*****"
Both TCPIP and named pipes are listed as supported protocols for both the instances. The client machine has MDAC 2.6 installed.
Any idea how to connect to the named instance of the SQL 2000 Server ?
How can you connect directly useing the TCPIP protocol to a named instance of SQL Server?
Thanks
Error is ....
Microsoft OLE DB Provider for SQL Server error 80004005
[DBNMPNTW]ConnectionOpen (CreateFile()).
An Intranet IIS 4 server on Windows NT makes an asp request to a Windows 2000 server with SQL 7 Server as the default instance - this connection works fine with the following code ....
myConnection.Open "Provider=sqloledb;" & _
"Data Source=dataserver;" & _
"Initial Catalog=pubs;" & _
"User Id=sa;" & _
"Password=*****"
The same Windows 2000 server also has loaded a SQL 2000 Server as a named instance - this code dosn't connect ...
myConnection.Open "Provider=sqloledb;" & _
"Data Source=dataserver\dataserver2000;" & _
"Initial Catalog=pubs;" & _
"User Id=sa;" & _
"Password=*****"
Both TCPIP and named pipes are listed as supported protocols for both the instances. The client machine has MDAC 2.6 installed.
Any idea how to connect to the named instance of the SQL 2000 Server ?
How can you connect directly useing the TCPIP protocol to a named instance of SQL Server?
Thanks