Cannot execute a program. The command being executed was "C:

Stimulsoft Reports.WEB discussion
Post Reply
javadzarrin
Posts: 6
Joined: Wed Feb 11, 2009 2:54 am
Location: Iran, Tehran

Cannot execute a program. The command being executed was "C:

Post by javadzarrin »

We have been using stimulreport.web in a web site with approximately 300 concurrent user.
Some times when number of users increases, suddenly all reports crashes with exception.
Then we should recycle web site to solve this error. We installed stimulreport.web full version on web server but the error has not gone. This is an urgent case.
regards, Javad Zarrinabadi.
The exception is:


Exception information:
Exception type: ExternalException
Exception message: Cannot execute a program. The command being executed was "C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe" /noconfig /fullpaths @"C:\Windows\TEMP\ighdypyj.cmdline".
at System.CodeDom.Compiler.Executor.ExecWaitWithCaptureUnimpersonated(SafeUserTokenHandle userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine)
at System.CodeDom.Compiler.Executor.ExecWaitWithCapture(SafeUserTokenHandle userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine)
at Microsoft.CSharp.CSharpCodeGenerator.Compile(CompilerParameters options, String compilerDirectory, String compilerExe, String arguments, String& outputFile, Int32& nativeReturnValue, String trueArgs)
at Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
at Microsoft.CSharp.CSharpCodeGenerator.FromSourceBatch(CompilerParameters options, String[] sources)
at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, String[] sources)
at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromSource(CompilerParameters options, String[] sources)
at Stimulsoft.Base.StiCompiler.Compile(String textToCompile, String outputAssembly, LanguageType languageType, StiOutputType outputType, String[] referencedAssemblies, List`1 resources)
at Stimulsoft.Report.StiReport.Compile(String path, Stream stream, StiOutputType outputType, Boolean autoCreate, Object standaloneReportType)
at Stimulsoft.Report.StiReport.Compile()
at Stimulsoft.Report.Engine.StiReportV2Builder.RenderSingleReport(StiReport masterReport, StiRenderState renderState)
at Stimulsoft.Report.StiReport.RenderReport(StiRenderState renderState)
at Stimulsoft.Report.StiReport.Render(StiRenderState renderState, StiGuiMode guiMode)
at Stimulsoft.Report.StiReport.Render(Boolean showProgress)
at Stimulsoft.Report.Web.StiWebViewer.RenderReport(StiReport report)
at Stimulsoft.Report.Web.StiWebViewer.ProcessReport()
at Stimulsoft.Report.Web.StiWebViewer.set_Report(StiReport value)
at Aspx_BgtTableReport.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Windows cannot open this program because the license enforcement system has been tampered with or become corrupted
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Cannot execute a program. The command being executed was

Post by HighAley »

Hello, javad.

We use standard .Net Framework methods and compile with .Net Framework compiler. The compiler crashes with its internal error, we can't change anything there.
But you could change the way you use our product. If you use the same report template many times, it's better to compile it once and use the compiled report. It will help to avoid your exception.
You could read more at the Stimulsoft Programming Manual http://www.stimulsoft.com/en/documentat ... b=compiled
and Stimulsoft Knowledge Base. http://support.stimulsoft.com/index.php ... assemblies
http://support.stimulsoft.com/index.php ... assemblies
http://support.stimulsoft.com/index.php ... m-assembly
http://support.stimulsoft.com/index.php ... rom-memory

Let us know if you need any additional help.

Thank you.
Post Reply