CS0016: Could not write to output file

M

Mark A. Richman

I get the following error when browsing my default site or SharePoint Central Administration, immediately following a successful install of stsv2.exe:

Compiler Error Message: CS0016: Could not write to output file 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\245cb86b\34627c1\App_global.asax.xv4voalg.dll' -- 'The directory name is invalid. '

The following KB article does not fix my problem: http://support.microsoft.com/default.aspx?scid=kb;en-us;825791 and only seems to apply to ASP.NET 1.1 and 1.0 anyway.

I've granted NETWORK SERVICE Full Control over the Temporary ASP.NET Files folder.

What else can I do?

Here's my event log:

Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1310
Date: 3/20/2006
Time: 10:28:12 AM
User: N/A
Computer: RICHMAN
Description:
Event code: 3007
Event message: A compilation error has occurred.
Event time: 3/20/2006 10:28:12 AM
Event time (UTC): 3/20/2006 3:28:12 PM
Event ID: 9a0d7adf030e4965b3206989edc0c4c6
Event sequence: 3
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/3/Root-1-127873420877152082
Trust level: Full
Application Virtual Path: /
Application Path: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\template\admin\1033\
Machine name: RICHMAN

Process information:
Process ID: 2548
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: HttpCompileException
Exception message: (0): error CS0016: Could not write to output file 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\245cb86b\34627c1\App_global.asax.yooiaaem.dll' -- 'The directory name is invalid. '

Request information:
Request URL: http://localhost:4617/default.aspx
Request path: /default.aspx
User host address: 127.0.0.1
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 1
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Web.Compilation.AssemblyBuilder.Compile()
at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
at System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp)
at System.Web.Compilation.BuildManager.CompileGlobalAsax()
at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)


Custom event details:

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.


I have never seen this error before, and it may be meaningful:

Event Type: Error
Event Source: .NET Runtime
Event Category: None
Event ID: 1022
Date: 3/20/2006
Time: 10:28:07 AM
User: N/A
Computer: RICHMAN
Description:
..NET Runtime version 2.0.50727.42 - Failed to CoCreate profiler.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top