Compiler Error Message CS0016
|
SYMPTOMS
After installing WSUS RC, while accessing WSUS Admin page, you see this error.
Compiler Error Message: CS0016: Could not write to output file 'c:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\wsusadmin\78d58f56\64305bda\ldreytb9.dll' -- 'Could not executeCVTRES.EXE.'
Show Detailed Compiler Output: C:\WINNT\system32> "c:\winnt\microsoft.net\framework\v1.1.4322\csc.exe"
/t:library /utf8output
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\mscorlib.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\wsusadmin\78d58f56\64305bda\assembly\dl2\f7c0cc50\0004d6e7_222cc501\ad
minstrings.dll"
/R:"c:\winnt\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d5 0a3a\system.enterpriseservices.dll" /R:"c:\winnt\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.da ta.dll" /R:"c:\winnt\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\sys tem.web.mobile.dll" /R:"c:\winnt\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system ..drawing.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net files\wsusadmin\78d58f56\64305bda\assembly\dl2\60919fe3\009c4cde_222cc501\ad mincontrols.dll" /R:"c:\winnt\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml ..dll" /R:"c:\winnt\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\s ystem.web.services.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net files\wsusadmin\78d58f56\64305bda\assembly\dl2\6c99f30a\008b69eb_222cc501\ad ministration.dll" /R:"c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll" /R:"c:\winnt\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web ..dll" /out:"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\wsusadmin\78d58f56\64305bda\ldreytb9.dll" /D:DEBUG /debug+ /optimize- /warnaserror /w:1 "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\wsusadmin\78d58f56\64305bda\ldreytb9.0.cs" Microsoft (R) Visual C# .NET Compiler version 7.10.6001.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:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\wsusadmin\78d58f56\64305bda\ldreytb9.dll' -- 'Could not execute CVTRES.EXE.' Show Complete Compilation Source:
Line 1:
//-------------------------------------------------------------------------- ----
Line 2: // <autogenerated>
Line 3: // This code was generated by a tool.
Line 4: // Runtime Version: 1.1.4322.2032
Line 5: //
Line 6: // Changes to this file may cause incorrect behavior and will be lost if
Line 7: // the code is regenerated.
Line 8: // </autogenerated>
Line 9: //-------------------------------------------------------------------------- ----
Line 10:
Line 11: namespace ASP {
Line 12: using System; Line 13: using System.Collections;
Line 14: using System.Collections.Specialized;
Line 15: using System.Configuration;
Line 16: using System.Text; Line 17: using System.Text.RegularExpressions;
Line 18: using System.Web;
Line 19: using System.Web.Caching;
Line 20: using System.Web.SessionState;
Line 21: using System.Web.Security;
Line 22: using System.Web.UI;
Line 23: using System.Web.UI.WebControls;
Line 24: using System.Web.UI.HtmlControls;
Line 25:
Line 26:
Line 27: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
Line 28: public class global_asax : Administration.Global {
Line 29:
Line 30: private static bool __initialized = false;
Line 31:
Line 32: public global_asax() {
Line 33: if ((ASP.global_asax.__initialized == false)) {
Line 34: ASP.global_asax.__initialized = true;
Line 35: } Line 36: }
Line 37: }
Line 38: }
Line 39:
Workaround
You see this error if you have previously run IISLockdown on this machine.
If so, please check the permissions on C:\WINNT\Microsoft.NET\Framework\v1.1.4322\cvtres.exe. Depending on the options used, IISLockdown many have denied ASP.NET access to this file.
ASP.NET requires Read & Execute permissions on this file.
Last Modified 4/11/05 9:32 AM
|