• By running the command in your post I found out that my .mdf and .ldf files were read only so it did help me.

    Thank you!