(migrated post from June 15th, 2007)
Found a strange behavior with a customer MOSS 2007 installation. Whenever a user accessed the main site/portal entrance, he is asked multiple times for his window login (we are using windows security). After providing the login some times, the page is loaded without any problem. Navigation to other pages within the portal exposes the same strange behavior. When accessing the site with the administrative account that we use for setup and configuration, everything works perfectly.
After analyzing the IIS log files, the problem was very easy to discover. Whenever a customization file (in our case a customized style sheet “custom.css”) is accessed, a 401 access denied error is listed. This doesn’t prevent the page from being loaded, because after some failing attempts, the CSS is skipped…
Short, the file permissions within the “templates/layouts/<lang-code>/styles/custom” for this file was not set properly. Even though the directory is enabled for permission inheritance, the file has only a limited set of permission… After inheriting the permissions from the parent directory, all login boxes are gone.
What do we learn from this? Whenever copying files into the 12-Hive, make sure that all Windows permissions are effectively inherited or set manually!