-1

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

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
  • When working on your PC, are you connecting to a database residing on your PC? – cChacon Jun 16 '22 at 22:34
  • Using poor quality images is not a good practice to ask questions, edit your question and post the error as a text or at least as a screenshot. – ahmed Jun 16 '22 at 22:52
  • Refer to this question, you may find what you are looking for: https://stackoverflow.com/questions/29832375/clickonce-prerequisites-where-is-sql-server-express-2014-localdb – ahmed Jun 16 '22 at 22:54

1 Answers1

0

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

Makhele Sabata
  • 582
  • 6
  • 16