• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Are you having HotKey issues? Click here for tips and tricks.
Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs, VIDEOS AND MORE.
HP Recommended
Portatil HP Notebook 15-ba033ns
Microsoft Windows 10 (64-bit)

Hello.

 

Are there members who use SQL Server? There's a MDF file that I could open on Portatil HP Notebook 15-ba033ns,on Windows 8.1. However, after the Windows 10 update, I suddenly can't open it anymore. It gives the following message, File Appears To Have Been Truncated By The Operating System.

I googled for this, i get many solutions for all other databases except mdf file issue. Can someone help me?

 

Thanks in advance.

1 REPLY 1
HP Recommended

You’d need to install some version of SQL Server, then re-attach the MDF file. However, if you don’t have the matching LDF file (the log file), you don’t have the whole database. Because of this, an MDF file is not the correct way to transfer databases between servers. Instead, you need to make a backup using SQL Server Manager, then restore the backup on the other server. If you need more information take  a look here: how to open mdf file?

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.