In order to run this sample, the ASP.NET process account (either the local ASPNET or Network Service account, by default) needs read/write permission to the ~/App_Data/Database.mdf and ~/App_Data/Database_log.ldf files in the sample directory SQL Server Express Local Databases