Monday, May 14, 2018

Error trying to attach a SQL database: CREATE FILE encountered operating system error 5(failed to retrieve text for this error. Reason: 15105)

If you are trying to attach a database using SQL management studio and you get the next error:

CREATE FILE encountered operating system error 5(failed to retrieve text for this error. Reason: 15105) while attempting to open or create the physical file

It is because you are not running management studio as an administrator and the account you are using doesn't have the rights to open the database file.

To solve this problem, right click on the SQL management studio shortcut and select:
Run as Administrator

That will let you attach the database.

2 comments:

  1. Easy "water hack" burns 2 lbs OVERNIGHT

    At least 160000 women and men are losing weight with a simple and secret "liquids hack" to drop 2 lbs each and every night in their sleep.

    It's very easy and works all the time.

    Here's how you can do it yourself:

    1) Grab a glass and fill it with water half the way

    2) Then follow this awesome hack

    so you'll become 2 lbs skinnier in the morning!

    ReplyDelete
  2. Great article and I especially liked the part where you talk about that nowadays, it's a fantastic career move to learn app development and become an app developer. Also, it’s not tough to find freelance app development companies near me. Users with coding experience have plenty of options too. Also, you find many freelancing projects on Eiliana.com to develop your skills.

    ReplyDelete