davidl
08-12-2004, 01:06 AM
Greetings,
I need some help with the SqlConnection. I am getting a
"[SqlException: SQL Server does not exist or access denied.]" when
performing an SqlConnection.Open();
I am using the connection string you provided, substituting the database password. The code I am using is:
connection = new SqlConnection();
connection.ConnectionString = "Data Source=mssql06;Initial Catalog=DB_83134;User ID=xxxxxxx;Password=xxxxxxx";
What am I doing wrong?
Regards,
David
I need some help with the SqlConnection. I am getting a
"[SqlException: SQL Server does not exist or access denied.]" when
performing an SqlConnection.Open();
I am using the connection string you provided, substituting the database password. The code I am using is:
connection = new SqlConnection();
connection.ConnectionString = "Data Source=mssql06;Initial Catalog=DB_83134;User ID=xxxxxxx;Password=xxxxxxx";
What am I doing wrong?
Regards,
David