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.ex e"
@"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET
Files\root\f315a746\1e2bd43d\famzuazo.cmdline".
STACK TRACE:
at System.CodeDom.Compiler.Executor.ExecWaitWithCaptu reUnimpersonated(IntPtr
userToken, String cmd, String currentDir, TempFileCollection tempFiles,
String& outputName, String& errorName, String trueCmdLine)
at System.CodeDom.Compiler.Executor.ExecWaitWithCaptu re(IntPtr userToken,
String cmd, String currentDir, TempFileCollection tempFiles, String&
outputName, String& errorName, String trueCmdLine)
at System.CodeDom.Compiler.CodeCompiler.Compile(Compi lerParameters 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(Compi lerParameters options,
CodeCompileUnit e)
at
System.CodeDom.Compiler.CodeCompiler.System.CodeDo m.Compiler.ICodeCompiler.C
ompileAssemblyFromDom(CompilerParameters options, CodeCompileUnit e)
at System.Web.Compilation.BaseCompiler.GetCompiledTyp e().
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 2 1517
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" <sl*@openroad.ca> wrote in message
news:e%****************@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.ex e" @"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET Files\root\f315a746\1e2bd43d\famzuazo.cmdline".
STACK TRACE:
at System.CodeDom.Compiler.Executor.ExecWaitWithCaptu reUnimpersonated(IntPtr userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine)
at System.CodeDom.Compiler.Executor.ExecWaitWithCaptu re(IntPtr userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine)
at System.CodeDom.Compiler.CodeCompiler.Compile(Compi lerParameters 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(Compi lerParameters options, CodeCompileUnit e)
at System.CodeDom.Compiler.CodeCompiler.System.CodeDo m.Compiler.ICodeCompiler.C ompileAssemblyFromDom(CompilerParameters options, CodeCompileUnit e)
at System.Web.Compilation.BaseCompiler.GetCompiledTyp e().
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
Hi Girish
Thanks for the reply. Compilation on our dev server is fine. Its only when
we installer the web app on our production server (using an Installer
project) that we encounter this problem. The app installs fine and when we
test each page, most dynamically compile as well. There a just some random
pages which have problems dynamically compiling that first time you hit the
site. That error is thrown for those pages.
We will try to disable the antivirus this week to see if its the cuprit.
Thanks for your help and I'll post the results of the test.
Steve
"Girish bharadwaj" <gi*****@mvps.org> wrote in message
news:ek**************@TK2MSFTNGP15.phx.gbl... 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" <sl*@openroad.ca> wrote in message news:e%****************@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.ex e" @"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET Files\root\f315a746\1e2bd43d\famzuazo.cmdline".
STACK TRACE:
at System.CodeDom.Compiler.Executor.ExecWaitWithCaptu reUnimpersonated(IntPtr userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine)
at System.CodeDom.Compiler.Executor.ExecWaitWithCaptu re(IntPtr userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine)
at System.CodeDom.Compiler.CodeCompiler.Compile(Compi lerParameters 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(Compi lerParameters options, CodeCompileUnit e)
at System.CodeDom.Compiler.CodeCompiler.System.CodeDo m.Compiler.ICodeCompiler.C ompileAssemblyFromDom(CompilerParameters options, CodeCompileUnit e)
at System.Web.Compilation.BaseCompiler.GetCompiledTyp e().
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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: FireStarter |
last post by:
Guys, in the code that follows, why does the method F() still compile, even if
DBG is undefined? Inside method G(), the code inside <#if DBG> does not compile
(notice that I can write whatever I...
|
by: Plat |
last post by:
Okay, you'll probably think me crazy for asking this. And I am, but also
curious; so please humor me. :)
I'm wondering if there's a way to - using dynamic (server-side) compilation
- include a...
|
by: ktrvnbq02 |
last post by:
Hi,
We have an ASP.NET application built in Release mode via Visual Studio.
All of the C# code is in the code-behind files (i.e. *.aspx.cs files)
and there is no C# in the *.aspx files...
|
by: J.A. |
last post by:
Hi,
I'm trying to use the CSharpCompilerProvider to dynamically compile some
code. The test console app works fine but I get this error when using the
same code in an ASP.NET app:
error CS1619:...
|
by: OverTheTop |
last post by:
All the usual Newbie stuff applies...
I have a Windows2000 Server with ActivePerl and a module (DBD-Interbase) that worked fine. Trying to duplicate the environment on Windows2003 Server for...
| |
by: mwelsh1118 |
last post by:
Why doesn't C# allow incremental compilation like Java?
Specifically, in Java I can compile single .java files in isolation.
The resulting individual .class files can be grouped into .jar files....
|
by: Ajinkya |
last post by:
I have writen a program for a game called game.exe
Now it includes a player part to which has to be a function to be
writen by someone else.
Now I want to provide this exe to some tester who...
|
by: BSand0764 |
last post by:
I'm getting an error that I can't seem to resolve. When I compile the
Functor related logic in a test program, the files compile and execute
properly (see Listing #1).
However, when I...
|
by: Marc |
last post by:
I am studying ASP.NET and have a simple question reading the first lines in
this page:
http://msdn.microsoft.com/en-us/library/ms366723(VS.80).aspx
Are they talking about compilation of C#...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |