Since installing a few updates at the end of June, we ran into a problem with a couple IIS servers. Because there's a lot of information on these issues I wanted to add this to the search results as a recent fix for the troubles.
When you Browse to the IIS server, you may end up with the following, though the TL;DR are:
The webpage throws a Runtime or Compile error and Event ID 1310:
Exception message: (0): error CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\rdweb_pages\decbd09c\9f1642a3\App_Web_default.aspx.cdcab7d2.j7qh1wlj.dll' -- 'Access is denied. '
Tuesday, July 4, 2017
Wednesday, May 6, 2015
I tend to only have this happen on new installs of XP, which due to software requirements, still have to get installed from time to time. It doesn't seem to matter whether I launch AU from the Start Menu or from within IE, or if I click the "Express" or "Custom" update options.
Sometimes, you can force it from the command line:
These days I find Internet Explorer needs to be updated first.
(Or just google "Download Internet Explorer".)
I uncheck the prompt to install updates as I prefer to have control over what it installs.
Once it's installed, you can either wait or use the above command line to check for updates. There won't be many at first, but it does seem to get the ball rolling.