Re: Dynamic compilation errors

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Girish bharadwaj (girishb_at_mvps.org)
Date: 10/23/04


Date: Fri, 22 Oct 2004 23:19:42 -0400

Sometimes Index Service seems to cause problems with copying files over.
But, the problem you are seeing does seem to be related to NAV being on that
box. Do you get any compiler errors? I remember seeing a Internal Compiler
Error 128 when aspnet_wp could not compile the files because of resource
constraints.

-- 
Girish Bharadwaj
http://msmvps.com/gbvb
"Steve" <sly@openroad.ca> wrote in message 
news:e%23fF4NGuEHA.3320@TK2MSFTNGP15.phx.gbl...
> Hi
>
> I'm receiving the following error whenever a new build is placed onto our
> production server:
>
> Timed out waiting for a program to execute. The command being executed was
> "c:\winnt\microsoft.net\framework\v1.1.4322\vbc.exe"
> @"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
> Files\root\f315a746\1e2bd43d\famzuazo.cmdline".
>
> STACK TRACE:
>
> at 
> System.CodeDom.Compiler.Executor.ExecWaitWithCaptureUnimpersonated(IntPtr
> userToken, String cmd, String currentDir, TempFileCollection tempFiles,
> String& outputName, String& errorName, String trueCmdLine)
>
> at System.CodeDom.Compiler.Executor.ExecWaitWithCapture(IntPtr userToken,
> String cmd, String currentDir, TempFileCollection tempFiles, String&
> outputName, String& errorName, String trueCmdLine)
>
> at System.CodeDom.Compiler.CodeCompiler.Compile(CompilerParameters 
> options,
> String compilerDirectory, String compilerExe, String arguments, String&
> outputFile, Int32& nativeReturnValue, String trueArgs)
>
> at System.CodeDom.Compiler.CodeCompiler.FromFileBatch(CompilerParameters
> options, String[] fileNames)
>
> at System.CodeDom.Compiler.CodeCompiler.FromDomBatch(CompilerParameters
> options, CodeCompileUnit[] ea)
>
> at System.CodeDom.Compiler.CodeCompiler.FromDom(CompilerParameters 
> options,
> CodeCompileUnit e)
>
> at
> System.CodeDom.Compiler.CodeCompiler.System.CodeDom.Compiler.ICodeCompiler.C
> ompileAssemblyFromDom(CompilerParameters options, CodeCompileUnit e)
>
> at System.Web.Compilation.BaseCompiler.GetCompiledType().
>
>
> It seems to happen only to random pages within our application.  It looks
> like the cmdline file is being locked and doing an IISReset would solve 
> the
> problem temporarily.  After the next build this problem re-surfaces.
>
> I've searched the web for this problem and it seems that a lot of people
> experience similar errors but there are not very many solutions.  Some
> people suggest it involves IISLockdown which we have on our server.  I've
> made sure that I've given proper permissions to all ASP.NET directories 
> but
> it still doesn't work.  We have 2 apps with different security models
> experiencing this behaviour.  One app uses windows authentication with
> impersonation and the other just used standard windows authentication.
> We've made sure that both the aspnet account and the impersonated accounts
> have full access to the .NET framework directories (and temp directories).
>
> Also, I recently read that it may be an antivirus software which is 
> locking
> the cmdline file.  We do have Norton Corporate edition running on our 
> server
> but I'm unsure as to whether this is the cause of the problem.
>
> If anyone has any suggestions and/or comments, they would greatly be
> appreciated.  Thank you.
>
>
> Steve
>
>
> 


Relevant Pages

  • Re: Letter to US Sen. Byron Dorgan re unpaid overtime
    ... Big-O notation isn't mathematics per se, it's computer science notation ... "length of the string". ... outrun something compiled and optimized by a good C compiler. ... > either general computing culture or culture outside computing. ...
    (comp.programming)
  • Re: [EGN] Hoisting Loop Invariants (Was: Re: [EGN] Numerical Accuracy)
    ... compiler out there somewhere that did as you claim. ... > the programmer has this knowledge, then the programmer should not use ... >> string in a loop, regardless of the blatant inefficiency of doing so. ...
    (comp.programming)
  • Re: How to convert Infix notation to postfix notation
    ... and make all strings const save where the intent ... function whose contract is to change the string. ... the compiler "just" prevents the string ... try to do using the pointer you get. ...
    (comp.lang.c)
  • Re: PL/I string representations
    ... >> of the language, so it was interesting to me, hopefully it will be to ... I found a workable compiler for Fortran in 1971 (with a bug ... >> The specified length is the minimum, and each time a character ... >> string is assigned to E, the length is stored with it. ...
    (comp.programming)
  • Why C Is Not My Favourite Programming Language
    ... C has no string type. ... compiler take care of the rest. ... Why does any normal language ... the programmer fail. ...
    (comp.lang.c)