-1

I build a program in visual studio which has mdf file , I want to run the program on other computer has no sql server it is possible ? if not what I should do

anas
  • 9
  • 7
  • You need to have LocalDB or SQL Server Express installed and running locally to use mdf files. – Trevor Jan 11 '21 at 13:25
  • what I should use to create LocalDB – anas Jan 11 '21 at 13:28
  • https://www.microsoft.com/en-us/sql-server/sql-server-downloads Install this sql server on the local machine and use the connection string in your config file. – Sandeep Ingale Jan 11 '21 at 13:34
  • With no SQL Server instance it is not possible. It is the instance the one that provides you the information contained in the MDF file. You have been already given the download link to the SQL Server. – Cleptus Jan 11 '21 at 14:21
  • So you want to use a separate mdf file locally or do you want to connect to the same server on a remote machine? – jdweng Jan 11 '21 at 14:33
  • i want to use a separate mdf file locally – anas Jan 11 '21 at 16:40

1 Answers1

0

after searching I know that we should have LocalDB or SQL Server Express installed and running locally to use mdf files.

anas
  • 9
  • 7