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
basim salih
NA
84
8.9k
help.. error on connection string
Dec 23 2017 9:02 PM
hi ...
i have a database with sql server 2012 authontication called "box"
i build an aplplication in c#.. what i want to do is :
attach this database file into client matchine to run an application without setup sql server.
1- from mycomputer --> manage--> i stoped the sql server serviice
2- i copy database files (box.mdf and box_log.ldf) inside application directory.
3- build connection string to connect with database as:
(
this work correctly:
conn.ConnectionString = "Data Source=BASIM-PC\\SQLSERVER2012;Initial Catalog=box;Persist Security Info=True;User ID=basimbox;Password=f1977";
but this error:c
onn.ConnectionString = @"Data Source=.\sqlexpress;Initial Catalog=box;Persist Security Info=True;User ID=basimbox;Password=f1977";
)
plz my friend help me!!!
Reply
Answers (
2
)
Deploy my application in c# into clients?
Need permission details from db