Question

We have our sites under a main folder we'll call call "d:\sites". "d:\sites" is shared as \server1\sites with read only access for our Dev and QA groups. I added another read only group to the share permissions (not NTFS) and the site started to recompile. I wasn't sure what I had just seen, so I did it on another server and the same behavior occurred.

We use dynamic recompilation, and I can't find a reference that says this should cause a recompile to occur (ref.[1]: http://msdn.microsoft.com/en-us/library/ms366723%28v=VS.100%29.aspx)

Has anyone else seen this, or know why it is happening?

Was it helpful?

Solution

If permissions are inherited from the parent, then adding this new permission changes the file. This change in the state of the file is picked up by IIS as a change, so the dynamic recompile is triggered. IIS treats even permission changes as if it was a change to the code base.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top