Hey folks - I'm in over my head and could use a hand.
I set up a hardware firewall/router (SonicWall TZ170) that sits behind my cable modem. Attached to the firewall are several PC's (LAN) as well as a webserver (open to the www) and a SQLServer (2000). The webserver gets it's data from the standalone SQL server machine. Everything worked well on the LAN -- but when I added the firewall... I can still hit the webserver from the LAN as well as the but any page needing SQL data gives me this error:
Error Type:
Microsoft OLE DB Provider for SQL Server (0x80004005)
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
/includes/connectOpen.asp, line 12
My connectionstring(connectOpen) (which used to work fine) is:
Dim objConn
Set objConn=server.CreateObject("adodb.connection")
objConn.ConnectionString="Provider=SQLOLEDB; " & _
"User ID=xid; " & _
"Password=xpassword; " & _
"Initial Catalog=xcatalog; " & _
"Data Source=xservername\xsqlName;"
objConn.Open
I can still hit the SQL Server with query Analyzer and Enterprise manager, I can still see the server on the network. Why would this change?
Please let me know if I can provide additional info or if you have any ideas.
Thanks.
I set up a hardware firewall/router (SonicWall TZ170) that sits behind my cable modem. Attached to the firewall are several PC's (LAN) as well as a webserver (open to the www) and a SQLServer (2000). The webserver gets it's data from the standalone SQL server machine. Everything worked well on the LAN -- but when I added the firewall... I can still hit the webserver from the LAN as well as the but any page needing SQL data gives me this error:
Error Type:
Microsoft OLE DB Provider for SQL Server (0x80004005)
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
/includes/connectOpen.asp, line 12
My connectionstring(connectOpen) (which used to work fine) is:
Dim objConn
Set objConn=server.CreateObject("adodb.connection")
objConn.ConnectionString="Provider=SQLOLEDB; " & _
"User ID=xid; " & _
"Password=xpassword; " & _
"Initial Catalog=xcatalog; " & _
"Data Source=xservername\xsqlName;"
objConn.Open
I can still hit the SQL Server with query Analyzer and Enterprise manager, I can still see the server on the network. Why would this change?
Please let me know if I can provide additional info or if you have any ideas.
Thanks.