Unable to connect to SQL database - C#, VS2012, SQL Server 2012
问题 I have SQL Server 2005, 2008 and 2012 installed on my Windows 7 64bit PC. Here is my Configuration Manager, and I do see that the Agent is Stopped... not sure if this is required. I've split it out into two images so the size shows up larger Here is what is shown in the VS2012 Database Explorer window. This is a SQL Server 2012 database Here is my code string selectSql = "select * from Tasks"; string connectionString = "Data Source=adamssqlserver;Database=master;Integrated Security=True;";