I am getting and error on my ASP page written in VB Script
here is the code
<%
Set Conn = server.CreateObject("ADODB.Connection"
Conn.Open "driver=SQL Server;server=mysite.webplace.com;uid=xxxx;pwd=yyyy;database=mydb;" <<<<<<< This is line 14 >>>>>>>
Set RS1 = Conn.Execute("SELECT * From Customers Where [WEBLogin] = '" & login & "' AND [WEBPassword] ='" & pass & "'"
%>
here is the error
---------------------
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC SQL Server Driver][Named Pipes]SQL Server does not exist or access denied.
/asp/tableof.asp, line 14
------------------
The Host company says the error refers to me trying to connect using Named Pipes, I should be connecting using TCP/IP. Can some one help me with the syntax???
This does not work either
<%
Set Conn = server.CreateObject("ADODB.Connection"
Conn.Open "Provider=SQLOLEDB;Data Source=000.00.000.000;Initial Catalog=mydb;User ID=xxxx; Password=yyyy"
Set RS1 = Conn.Execute("SELECT * From Customers Where [WEBLogin] = '" & login & "' AND [WEBPassword] ='" & pass & "'"
%>
the error is different but still no access
--------------
Microsoft OLE DB Provider for SQL Server error '80004005'
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
/asp/tableof.asp, line 14
-------------------
TIA DougP, MCP
here is the code
<%
Set Conn = server.CreateObject("ADODB.Connection"
Conn.Open "driver=SQL Server;server=mysite.webplace.com;uid=xxxx;pwd=yyyy;database=mydb;" <<<<<<< This is line 14 >>>>>>>
Set RS1 = Conn.Execute("SELECT * From Customers Where [WEBLogin] = '" & login & "' AND [WEBPassword] ='" & pass & "'"
%>
here is the error
---------------------
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC SQL Server Driver][Named Pipes]SQL Server does not exist or access denied.
/asp/tableof.asp, line 14
------------------
The Host company says the error refers to me trying to connect using Named Pipes, I should be connecting using TCP/IP. Can some one help me with the syntax???
This does not work either
<%
Set Conn = server.CreateObject("ADODB.Connection"
Conn.Open "Provider=SQLOLEDB;Data Source=000.00.000.000;Initial Catalog=mydb;User ID=xxxx; Password=yyyy"
Set RS1 = Conn.Execute("SELECT * From Customers Where [WEBLogin] = '" & login & "' AND [WEBPassword] ='" & pass & "'"
%>
the error is different but still no access
--------------
Microsoft OLE DB Provider for SQL Server error '80004005'
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
/asp/tableof.asp, line 14
-------------------
TIA DougP, MCP