Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Attach sql server 2012 error, Unable to open the physical file

I got message box

Unable to open the physical file "C:\Project Basdat\DAYCARE.mdf". Operating system error 5: "5(failed to retrieve text for this error. Reason: 15105)". (Microsoft SQL Server, Error: 5120)

when trying to attach database file that I made from another pc.

I use Windows 10.

Help :(

like image 331
Yeremia Danang P Avatar asked Feb 07 '23 22:02

Yeremia Danang P


1 Answers

The link I posted previously is broken so I removed it. If you run SQL Server Management Studio as administrator it should work just fine.

like image 62
Petaflop Avatar answered Feb 09 '23 22:02

Petaflop