I get this message (pretty self explainatory):
System.Data.SqlClient.SqlException: SQL Server does not exist or access denied.
When trying to connect to a DB with this code:
' This is where I get the error.
I know this connection string works from the sever (in a DMZ) to the SQL server because I tested it in a UDL file. What could be wrong? (Especially since I am not relying on ASP.Nets user account but a working SQL account?)
System.Data.SqlClient.SqlException: SQL Server does not exist or access denied.
When trying to connect to a DB with this code:
Code:
Dim objConn As New SqlConnection("Password=******;User ID=******;Initial Catalog=DP2;Data Source=Dell2400")
objConn.Open()
I know this connection string works from the sever (in a DMZ) to the SQL server because I tested it in a UDL file. What could be wrong? (Especially since I am not relying on ASP.Nets user account but a working SQL account?)