“CS0016: Could not write to output file” error when starting an app in IIS 7

后端 未结 13 944
广开言路
广开言路 2020-12-08 22:16

I am running Windows 7, and am not usually a developer in this setting, and have recently built a WCF Rest Service in C#, that I\'m now trying to deploy to IIS just on my lo

相关标签:
13条回答
  • 2020-12-08 22:42

    This error happens when I use a bat file to delete temporary files. It probably deletes the directory itself and the given permissions are gone. So you have to restore them somehow.

    The easiest way is to grant full control over following directories for Everyone:

    C:\Windows\Temp

    C:\Windows\Microsoft.NET\Framework[related framework]\Temporary ASP.NET Files\

    0 讨论(0)
提交回复
热议问题