Congratulations - C# Corner Q4, 2022 MVPs Announced
Why Join
Become a member
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
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
guna s
2.2k
12
6.6k
How to Deploy a setup with database in another machine -- Urgent
Dec 20 2011 2:05 AM
Hi
I have attached a screenshot of the error iam facing after installing the setup.exe file in another machine and on opening the project, it shows the error in the screenshot when i click the login button..
Note:
I have included mdf file in my project using the connection string
SqlConnection con = new SqlConnection("Data Source=.;AttachDbFilename=|DataDirectory|\\project.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True");
after this i created the setup file..
can u pl help me how to create setup file with sql database
Thanks in advance.
Reply
Answers (
8
)
problem with running the windows forms application after reinstalling it
Serial key-urgent