CS0016: Could not write to output file...

Discussion in 'ASP .Net' started by =?Utf-8?B?SUtkZXY=?=, Feb 15, 2006.

  1. Hi all,
    I have win2003 server and NET 1.1 framework. Created simple ASP .NET app
    with one page that has button and a label. When trying to run got the CS0016
    error (see below). My temp env. variables are fine and NETWORK SERVICE has
    full access to ASP .NET temp folder.
    Please help,
    Thank you!
    IK


    Server Error in '/WebApplication1' 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\webapplication1\0ce05c64\4984f2c7\en6eo2cp.dll' -- 'The directory name
    is invalid. '

    Source Error:

    [No relevant source lines]

    Source File: Line: 0

    Show Detailed Compiler Output:

    c:\windows\system32\inetsrv>
    "c:\windows\microsoft.net\framework\v1.1.4322\csc.exe" /t:library /utf8output
    /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.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\microsoft.net\framework\v1.1.4322\temporary asp.net
    files\webapplication1\0ce05c64\4984f2c7\assembly\dl2\25864670\c1712474_5032c601\webapplication1.dll"
    /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll"
    /R:"c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.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\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\webapplication1\0ce05c64\4984f2c7\en6eo2cp.dll" /D:DEBUG /debug+
    /optimize- /warnaserror /w:1
    "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
    Files\webapplication1\0ce05c64\4984f2c7\en6eo2cp.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\webapplication1\0ce05c64\4984f2c7\en6eo2cp.dll' -- 'The directory name
    is invalid. '


    Show Complete Compilation Source:
    ......
    =?Utf-8?B?SUtkZXY=?=, Feb 15, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John Soulis [MSFT]

    RE: first web application and cs0016

    John Soulis [MSFT], Apr 1, 2004, in forum: ASP .Net
    Replies:
    5
    Views:
    1,550
    Marc Pelletier
    Apr 4, 2004
  2. FrzzMan[
    Replies:
    3
    Views:
    1,639
    FrzzMan[
    May 30, 2004
  3. =?Utf-8?B?VmlrcmFt?=
    Replies:
    1
    Views:
    4,714
    Guest
    Jan 12, 2005
  4. Replies:
    1
    Views:
    3,547
  5. Mark A. Richman

    CS0016: Could not write to output file

    Mark A. Richman, Mar 21, 2006, in forum: ASP .Net Security
    Replies:
    0
    Views:
    496
    Mark A. Richman
    Mar 21, 2006
Loading...

Share This Page