How to create C# desktop application setup file along with database

259 Views Asked by At

I created a C# application for my client with a database so I created a setup file which runs fine on my PC, but on my client's PC, it shows this error error msg

error message

I need to submit it to my client but it's showing this error; I think I am having problems with my connection string or during setup creation.

Can anyone here help me out?

Thanks in advance

1

There are 1 best solutions below

1
Makhele Sabata On

When creating the setup file.. you need to include the database files .mdf files in the setup. this video explains it well