Running Win 2k8 R2 SP1 64 bit as a web server box with IIS 7/.NET 4.
Periodically, I completely lose access to the membership database in one of my sites (ASPNETDB) which causes a "Network Service cannot access Membership DB..." error on the site and makes the whole thing go down! Obviously not good.
Here's what I've already tried (with an Administrator account):
- GUI tools to take ownership of that file, and of folder above it with propogation
- Command line tools from an elevated command prompt: takeown, subinacl, icacl
- Checked with Process Explorer and found no handles to the file
If I reboot the whole server the problem just goes away, but that is obviously not an efficient long term solution. Any other ideas on what/how to troubleshoot?