Yesterday, I was trying to hook my Asp.Net 2.0 website up to IIS. The problem I was having though is that my Update commands would give me read-only errors. I checked the permissions to make sure the .MDF and the .LOG files had the correct permissions. I then checked to make sure that the read-only checkbox was unchecked and it was for both files. So I googled the problem and tried multiple solutions and nothing fixed the error. Finally, I tried to delete the .LOG file (I had a backup) to see if that would fix the problem and I received an error from not having the .LOG file. So I decided to take the .LOG file out of the Recycle Bin and put it back into the APP_DATA and then ran the solution to see if the Recycle Bin effected any of the permissions and sure enough problem solved. I have no idea how exactly the Recycle Bin fixed the .LOG file, but if anyone has an idea I'm curious to know?