Visual studio 2010 not detecting the namespaces
using System.Data.SqlClient;
using System.Web.Configuration;
Hence i am not able to use the below line
SqlConnection con = new SqlConnection(WebConfigurationManager.ConnectionStrings["myConnectionString"].ConnectionString);
It was working proper bt suddenly its not detecting. I googled itand found No connection could be made because the target machine actively refused it?.
But how to make it working ?
Should i turn firewall off.? What is the best solution for that?.