Question : WSUS error:  Compiler Error Message: CS0016:  Could not write to output file...access is denied

Hello, all-

I have an issue regarding a WSUS installation that has me completely unnerved.  The error message is given after completing a WSUS install, then accessing the home administration page.  WSUS was up and running smoothly for over one year, then I noticed this and have been unable to troubleshoot it effectively.

I've completely removed WSUS and all downloaded components to start from scratch...error remains constant.

Here is the error in its entirety:

Server Error in '/WSUSAdmin' Application.
--------------------------------------------------------------------------------

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0016: Could not write to output file 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\wsusadmin\f88e1ebf\ae1e5c8d\isolbzpj.dll' -- 'Access is denied. '

Show Detailed Compiler Output:


c:\windows\system32\inetsrv> "c:\windows\microsoft.net\framework\v1.1.4322\csc.exe" /t:library /utf8output /R:"c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\wsusadmin\f88e1ebf\ae1e5c8d\assembly\dl2\0afdce00\00f74862_2f67c501\adminstrings.dll" /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll" /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\wsusadmin\f88e1ebf\ae1e5c8d\assembly\dl2\235055fe\00819851_2f67c501\admincontrols.dll" /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll" /R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\wsusadmin\f88e1ebf\ae1e5c8d\assembly\dl2\01e9e814\0016535c_2f67c501\administration.dll" /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll" /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\wsusadmin\f88e1ebf\ae1e5c8d\isolbzpj.dll" /D:DEBUG /debug+ /optimize- /warnaserror /w:1  "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\wsusadmin\f88e1ebf\ae1e5c8d\isolbzpj.0.cs"


Microsoft (R) Visual C# .NET Compiler version 7.10.6310.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

error CS0016: Could not write to output file 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\wsusadmin\f88e1ebf\ae1e5c8d\isolbzpj.dll' -- 'Access is denied. '

 ******

Please note that I have verified file access permissions for the following:

1.  %systemroot%\temp, %systemroot%\tmp
2.  %systemroot%\WINDOWS\Microsoft.NET, including all child objects

I can't believe it is a file permissions issue as the error states because I've done the following, simply to test:

1.  I've ensured localmachine\aspnet account has full permissions to folders and child objects
2.  I've added localmachine\aspnet account to the localmachine\administrators group
3.  I've done steps 1 and 2 for the network service account
4.  Effective permissions shows these accounts to have full control.

Am I missing something?

The way things have gone lately, I'm seriously considering getting away from Microsoft's instability.

Thanks,
Matt

Answer : WSUS error:  Compiler Error Message: CS0016:  Could not write to output file...access is denied

It seems unlikely to me considering the errors.

Since you started from scratch again anyway could you do this(?) :

follow these instructions in order

1.  Uninstall WSUS
2.  Uninstall IIS (if you can, not sure if you have other things on the server that depend on it)
3.  Uninstall MSDE
4.  Install SQL 2005 Express (replacement for MSDE) http://www.microsoft.com/downloads/details.aspx?FamilyID=220549B5-0B07-4448-8848-DCC397514B41&displaylang=en
5.  Install IIS with asp.net  
6.  Install WSUS  http://www.microsoft.com/windowsserversystem/updateservices/downloads/WSUS.mspx
Random Solutions  
 
programming4us programming4us