I am trying to deploy an ASP.NET MVC 4 web application to a production server (Windows Server 2008 R2 [x64] with SP1 installed, running IIS 7.5) that already has several other w
The problem was with my publish settings. I was using the following precompile options in Visual Studio 2012:
By selecting 'do not merge' or 'merge all outputs to a single assembly', the problem was alleviated.
UPDATE:
The problem resumed even with the other settings, it just didn't happen right away. I had to disable precompiling altogether.