You are here
Home > Software Development > Web Development > Asp.Net > IIS: Solution for error code CS0016 on IIS 10

IIS: Solution for error code CS0016 on IIS 10

If the following error is generated after deployed in IIS

CS0016: Could not write to output file ‘c:\Windows\Microsoft.NET\Framework64\v4.x.xxxxx\Temporary ASP.NET

This could be a fix:

Step 1: Give modify permission to IIS_IUSRS on “c:\Windows\Microsoft.NET\Framework64\v4.x.xxxxx\Temporary ASP.NET” folder

Step 2: Give modify permission to IIS_IUSRS on “c:\Windows\Temp” folder

Step 3: Restart IIS ( may required)

Leave a Reply

Top