Skip to content
Advertisement

Make DataBase portable

I’m developing a local application with a DataBase in SQL Server 2008 and Visual Studio, C#, I created and connected to the Database in the application, but when I pass to work to another computer, copy the all solution files, the information that had been saved in it doesn’t exist, actually the entire Database doesn’t exist, so I ask: have a way to package the data and make it accessible in other computers (not at the same time)?

Advertisement

Answer

What exactly do you wish to achieve?

  • If you want a common database location which should be accessed by all, then you’d need to make certain that other machines have access to your local machine’s database server
  • If you want the entire code plus the database to be present separately on each machine, then you’d need to share a database backup along with the application code folder and each machine would require the database backup to be restored on their database server along with setting up the application.
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement