TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Danish Habib
NA
694
244.1k
I have a project in which the connection string is defined a
Oct 13 2015 2:40 AM
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
<connectionStrings>
<add name="DMS_2008_Data.Properties.Settings.Default.DataConnection"
connectionString="Data Source=ASPKCO-DANISH\SQLEXPRESS1;Initial Catalog=DMS2008;Integrated Security=True;Connect Timeout=300;MultipleActiveResultSets=True"
providerName="System.Data.SqlClient" />
<!--<add name="DBPortal" connectionString="Data Source=ASPKCO-DANISH\SQLEXPRESS1;Initial Catalog=DMS2008;Integrated Security=True;Connect Timeout=30"
providerName="System.Data.SqlClient"/>-->
<add name="DMS2008_DataLayer.Properties.Settings.DataConnection"
connectionString="Data Source=ASPKCO-DANISH\SQLEXPRESS1;Initial Catalog=DMS2008;Integrated Security=True;Connect Timeout=30"
providerName="System.Data.SqlClient" />
</connectionStrings>
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 er
ror saying a network or instance specific error
please assists
Reply
Answers (
1
)
MVC5 Session Timeout
ckeditor save and load data