Well if it is its likely simply Windows security. You just need to make sure the ASP.Net user has read/write access to the file.
The quickest way to see if this is the issue it to give Everyone access to the database file - if that fixes it then you know it was permissions and can try to work out which user the ASP.Net app is trying to run as.