B
brett
I get a "SQL Server does not exist or access denied" when I try to
connect to my local sql server. Here's my code:
SqlConnection conn = new SqlConnection("Integrated Security=True;
Database=NorthWind; Server=local");
SqlCommand cmd = new SqlCommand("Select * from categories", conn);
conn.Open();
I can connect fine through EM. I've read sometimes ASPNET account may
need to be added to something. Please provide some details or any
suggestions.
Thanks,
Brett
connect to my local sql server. Here's my code:
SqlConnection conn = new SqlConnection("Integrated Security=True;
Database=NorthWind; Server=local");
SqlCommand cmd = new SqlCommand("Select * from categories", conn);
conn.Open();
I can connect fine through EM. I've read sometimes ASPNET account may
need to be added to something. Please provide some details or any
suggestions.
Thanks,
Brett