I have a problem connecting my database (created in SQL Server 2008 R2 Express) with c# in vs 2013 

Here is the code I wrote

```
string connStr = ConfigurationManager.ConnectionStrings["newSchool"].ToString();
SqlConnection conn = new SqlConnection(connStr);

```

the error is `NullReferenceException`