I have a desktop project in which i have sql server and visual studio 2010
in my app.config i have the connection string defined as
connectionString="Data Source=ASPKCO-DANISH\SQLEXPRESS1;Initial Catalog=DMS2008;Integrated Security=True;Connect Timeout=300;MultipleActiveResultSets=True"
providerName="System.Data.SqlClient" />
connectionString="Data Source=ASPKCO-DANISH\SQLEXPRESS1;Initial Catalog=DMS2008;Integrated Security=True;Connect Timeout=30"
providerName="System.Data.SqlClient" />
and in code i am accessing it with below line
_objdocumentheader = null;
con = new SqlConnection(DMS_2008_Data.Properties.Settings.Default.DataConnection.ToString());
con.Open();
but it gives an error saying a network or instance specific errorplease assists
1 Reply
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.

Danish HabibPosted Oct 13, 2015, 5:27 AM