IIS 7 and 503 error for file copy access denied problem

iisiis-7windows 7

I'm running Windows 7 SP 1 and have just turned on IIS 7. Just trying to access the default page it creates I get a 503 error, and the application pool stops. I look in the event log and I find the error:

Windows cannot copy file \?\C:\Users\Default\AppData\Local\Microsoft\Windows\Temporary Internet Files\SQM\iesqmdata_setup0.sqm to location \?\C:\Users\TEMP.IIS APPPOOL.000\AppData\Local\Microsoft\Windows\Temporary Internet Files\SQM\iesqmdata_setup0.sqm. This error may be caused by network problems or insufficient security rights.

DETAIL – Access is denied.

I tried making the TEMP.IIS APPPOOOL.000 folder available to everyone. I tried making Users available to everyone. No luck, it still dies with the same error.

What is happening here, and how can it be fixed?

Best Answer

It sounds like you're having the same problem as details in this IIS.NET forums thread. You didn't mention if you have x64 Windows 7 or not. Suspect that your development machine is misconfigured somehow; sounds like the uninstallation and reinstallation of IIS7 would help/fix.

Suggested courses of action:

  • Open IIS and its Application Pools. Open "DefaultAppPool" and any other Application Pools in use.
  • Click Advanced Settings for each of these. Ensure the "Load User Profile" is set to 'False'
  • Also ensure that the "Set Application Pool Defaults" has the Load User Profile set to False."