Timed out waiting for a program to execute.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am recieving this error on few pages. They are running fine on dev server.
It's only happening production for few pages.

I searched internet and it seems lot of people have this problem. But none
provided the solution.

Thanks
Reddy


Timed out waiting for a program to execute. The command being executed was
"c:\windows\microsoft.net\framework\v1.1.4322\vbc.exe"
@"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\doubleegamingsupply\d0039dff\d967cf47\vxvsxnhn.cmdline".
Description: An unhandled exception occurred during compilation using the
CodeDomProvider 'Microsoft.VisualBasic.VBCodeProvider'. Please review the
stack trace for more information about the error and where it originated in
the code.

Exception Details: System.Runtime.InteropServices.ExternalException: Timed
out waiting for a program to execute. The command being executed was
"c:\windows\microsoft.net\framework\v1.1.4322\vbc.exe"
@"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\doubleegamingsupply\d0039dff\d967cf47\vxvsxnhn.cmdline".

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.

Stack Trace:


[ExternalException (0x102): Timed out waiting for a program to execute. The
command being executed was
"c:\windows\microsoft.net\framework\v1.1.4322\vbc.exe"
@"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\doubleegamingsupply\d0039dff\d967cf47\vxvsxnhn.cmdline".]
System.CodeDom.Compiler.Executor.ExecWaitWithCaptureUnimpersonated(IntPtr
userToken, String cmd, String currentDir, TempFileCollection tempFiles,
String& outputName, String& errorName, String trueCmdLine)
System.CodeDom.Compiler.Executor.ExecWaitWithCapture(IntPtr userToken,
String cmd, String currentDir, TempFileCollection tempFiles, String&
outputName, String& errorName, String trueCmdLine)
System.CodeDom.Compiler.Executor.ExecWaitWithCapture(IntPtr userToken,
String cmd, TempFileCollection tempFiles, String& outputName, String&
errorName, String trueCmdLine)
System.CodeDom.Compiler.CodeCompiler.Compile(CompilerParameters options,
String compilerDirectory, String compilerExe, String arguments, String&
outputFile, Int32& nativeReturnValue, String trueArgs)
System.CodeDom.Compiler.CodeCompiler.FromFileBatch(CompilerParameters
options, String[] fileNames)
System.CodeDom.Compiler.CodeCompiler.FromDomBatch(CompilerParameters
options, CodeCompileUnit[] ea)
System.CodeDom.Compiler.CodeCompiler.FromDom(CompilerParameters options,
CodeCompileUnit e)

System.CodeDom.Compiler.CodeCompiler.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromDom(CompilerParameters options, CodeCompileUnit e)
System.Web.Compilation.BaseCompiler.GetCompiledType()
 
We've been having the same problem for some time now and, like you,
I've found tons of other people who have this issue but no resolutions.
The problem happens a [seemingly] random number of times (usually
between 2 and 5) within a [seemingly] random period of time after a new
compilation (either compiled directly on the server or compiled
elsewhere and the new .dll uploaded) and on [seemingly] random pages.
A "workaround" that I've found (as you likely have, searching on the
web) is to kill all of the vbc.exe processes and the aspnet_wp.exe
process and quickly delete everything in the Temporary ASP.NET
Files\<appname> folder. This has the nasty side-effect of also killing
every .NET session on every website hosted on the machine.

Another odd coincidence is that we're also only having these problems
in our production (and demo) environments that are hosted elsewhere (on
the same box). Our in-house development box doesn't have this problem
at all.
I am recieving this error on few pages. They are running fine on dev server.
It's only happening production for few pages.

I searched internet and it seems lot of people have this problem. But none
provided the solution.

Thanks
Reddy


Timed out waiting for a program to execute. The command being executed was
"c:\windows\microsoft.net\framework\v1.1.4322\vbc.exe"
@"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\doubleegamingsupply\d0039dff\d967cf47\vxvsxnhn.cmdline".
Description: An unhandled exception occurred during compilation using the
CodeDomProvider 'Microsoft.VisualBasic.VBCodeProvider'. Please review the
stack trace for more information about the error and where it originated in
the code.

Exception Details: System.Runtime.InteropServices.ExternalException: Timed
out waiting for a program to execute. The command being executed was
"c:\windows\microsoft.net\framework\v1.1.4322\vbc.exe"
@"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\doubleegamingsupply\d0039dff\d967cf47\vxvsxnhn.cmdline".

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.

Stack Trace:


[ExternalException (0x102): Timed out waiting for a program to execute. The
command being executed was
"c:\windows\microsoft.net\framework\v1.1.4322\vbc.exe"
@"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\doubleegamingsupply\d0039dff\d967cf47\vxvsxnhn.cmdline".]
System.CodeDom.Compiler.Executor.ExecWaitWithCaptureUnimpersonated(IntPtr

userToken, String cmd, String currentDir, TempFileCollection tempFiles,
String& outputName, String& errorName, String trueCmdLine)
System.CodeDom.Compiler.Executor.ExecWaitWithCapture(IntPtr userToken,
String cmd, String currentDir, TempFileCollection tempFiles, String&
outputName, String& errorName, String trueCmdLine)
System.CodeDom.Compiler.Executor.ExecWaitWithCapture(IntPtr userToken,
String cmd, TempFileCollection tempFiles, String& outputName, String&
errorName, String trueCmdLine)
System.CodeDom.Compiler.CodeCompiler.Compile(CompilerParameters options,
String compilerDirectory, String compilerExe, String arguments, String&
outputFile, Int32& nativeReturnValue, String trueArgs)
System.CodeDom.Compiler.CodeCompiler.FromFileBatch(CompilerParameters
options, String[] fileNames)
System.CodeDom.Compiler.CodeCompiler.FromDomBatch(CompilerParameters
options, CodeCompileUnit[] ea)
System.CodeDom.Compiler.CodeCompiler.FromDom(CompilerParameters options,
CodeCompileUnit e)
System.CodeDom.Compiler.CodeCompiler.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromDom(CompilerParameters
options, CodeCompileUnit e)
 
Back
Top