I get the above error message when I run the below code :
Using cn As New SqlConnection(ConfigurationManager.ConnectionStrings("Data Source=(LocalDB)\v11.0;AttachDbFilename=|DataDirectory|\SkedDataBasis.mdf;Integrated Security=True").ConnectionString)
Supposedly cn is Nothing. As a newbie and after much research I cannot find my mistake. Any help to make me understand my missing would be much appreciated.
Regards