Failed to update database “XXX.MDF” because the database is read-only

After a few hours of Googling and testing things I finally solved this problem so I thought I’d write the solution down both for my own and other’s benefit. What I did to get the error:I had just done some changes to one of my web sites using Visual Studio 2005 and ASP.NET 2.0 with… Continue reading Failed to update database “XXX.MDF” because the database is read-only