8
Answers

How to Deploy a setup with database in another machine -- Urgent

guna s

guna s

12y
4.4k
1


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.





Answers (8)