Compile Visual Studio program with database and move to another PC

Asked

Viewed 450 times

0

Just a basic question, when making a database form in visual studio and after compiled is necessary the computer where I will pass the files to run have the sql installed or I can run the good program without any errors? I ask because when doing a test on another PC passing the build files to run on another PC appears a network error the instance when establishing connection with SQL Server. But while continuing the program runs and writes in the good database because in the build files has 2 files from the database one with extension mdf and ldf, I do not know if in the future something can happen or how can I do to run and ignore this error so that it does not appear more?

  • I suggest you start learning the basics. This is not correct, but explaining everything is practically a course. I have no idea what you did since you didn’t show it, but if you made a mistake, don’t trust me. It’s like eating a yogurt full of green goo on top and saying it didn’t kill you.

1 answer

1

  • I understood, in case I do not have access to install software, I just pass the compiled files to a folder from another PC the only folder q I have access to, I will read the file and search another way, I did a search and found the sqlite has the Compact q I do not know if they are the same, but thanks!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.