PRB: CS0013 or CS0016 Compilation Errors in ASP.NET Web Applications
On This PageSYMPTOMSWhen you view a Microsoft ASP.NET Application in a Web browser, you may
receive the following error messages: For the Microsoft .NET Framework version 1.1, the error message is the following: CS0016: Could not write to output file
'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\application1\c11b43f6\cf3ec03\rizcntet.dll' . The directory name is
invalid. For the .NET Framework 1.0, the error message is the following:CS0013: Unexpected error writing metadata to file
'C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET
Files\application2\3fc72f26\eb731247\ev2bslce.dll'. The directory name is
invalid. CAUSEThe system TEMP and TMP
variables point to a folder that does not exist. The compiler generates temporary files in the folder where the TEMP and the
TMP variables point to before the files are copied to the
Temporary ASP.NET Files folder. However, the folder where the system
variables point to is deleted when you restart the computer. Therefore, the
compiler cannot generate the temporary files. RESOLUTION
MORE INFORMATIONSteps to Reproduce the Behavior
REFERENCESFor more information about how to grant permissions to a folder,
visit the following Microsoft Developer Network (MSDN) Web site: Securing Your ASP.NET Application and Web Services http://msdn2.microsoft.com/en-us/library/aa302435.aspx (http://msdn2.microsoft.com/en-us/library/aa302435.aspx)
| Article Translations
|
Back to the top
