Friday, October 3, 2014

Event ID: 1310 Source: ASP.NET 2.0.50727.0

Issue: WSUS and other MMC console will fail to list the content's. The root cause of this issue is an ASP.Net error with Event ID: 1310. Detailed Event ID is here.


Event ID: 1310
Event message: A compilation error has occurred.
Source: ASP.NET 2.0.50727.0
error CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\simpleauthwebservice\b1f83e7a\9a274e9f\App_global.asax.ar_utinm.dll' -- 'The file exists. '


Solution:

1. If there is more than 65535 files in your temp folder, the method GetTempFileName will throw this error.
2. Clear all the temp files in C:\Windows\temp folder which will now allow the Asp.net temp file to write in the temp folder.





No comments: