ID #1165

How can I attach an .MDF file?

It is recommended that you backup your database every day. Please note that at the time of server crash backup files are the main resources for recovery. However attaching .MDF files are always the second option.

The steps to attach an .MDF file are.

  1. Copy .mdf file in ‘FusionRetail6\Data’ folder of server
  2. Go to ‘C:\FusionRetail6\ ‘
  3. Delete the ‘FusionRetail.exe.config’ file.
  4. Run the FusionRetail6 software it will open the Database Manager click on the Next button
  5. Select the ServerName, Authentication, UserName, Password (Default Username is sa with blank password) and Click on Next button
  6. Select ‘attach’ from the list and Click on Next button
  7. Specify the database name (as per your need) and select the appropriate MDF file and click on the Next button it will ask for your confirmation click on ‘yes’ it will attach the MDF file.
  8. Now select station and press Next button
  9. Finish

For more info on Database setting please visit:

Alternatively you can use Microsoft SQL Server Management Studio Express attach MDF file.

  1. Start > Programs > Microsoft SQL Server 2005
  2. Open Microsoft SQL Server Management Studio Express
  3. Connect the server
  4. Right click on Database in Object Explorer
  5. Will find a list of options
  6. Click on Attach
  7. Click on Add
  8. Select .Mdf file from browse screen
  9. Click ok on browse screen
  10. Delete log file using remove button
  11. Click Ok and the database should attach.

Tags: Database, Settings

Related entries:

You cannot comment on this entry