[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
- by shah
Web server and SQL server both are running on the different machine.
The below is the connection string that we are using to connect MS SQL database from classic ASP web application.
set oConn = server.createobject("ADODB.Connection")
oConn.open "PROVIDER=SQLOLEDB;Data Source=xxx.xxx.x.xx,1433;Network Library=DBMSSOCN;Initial Catalog=databasename;User ID=xxxxx;Password=xxxxx;"
No idea why it's loosing the database connection in the middle of uploading the page. Here is error message that we got.
Microsoft OLE DB Provider for SQL Server error '80004005'
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
Already verified SQL server 2005 remote connection settings and default port number.
* Remote connections are enabled in SQL Server as per
http://support.microsoft.com/kb/914277
Please help.
Thanks,