I have an ASP.NET 3.5 Web App, built in Visual Studio 2008. When I go to publish, all it says at the bottom is "Publish Failed.". When I go to the directory, both the App_Data and bin folders have had their security altered, and all of the security groups removed. In order to destroy the folders, the serverops team needs to reboot the server (Windows Server 2003) into safe mode.
Does anybody know why/how visual studio could be crippling the folder permissions, and, more importantly, how to stop it? This doesn't happen every time I publish, but has happened 3 times in the last couple months.
UPDATE:
When I came back after a long weekend last week, the files were once again accessible. It seems like there must be some kind of process either on the server or on a computer connecting to it that is locking the file.