Timout error in report rendering

Stimulsoft Reports.NET discussion
Post Reply
Tobias
Posts: 102
Joined: Mon Nov 24, 2008 8:44 am

Timout error in report rendering

Post by Tobias »

On a custome machine sometimes I get an ExternalException when rendering a report. Any idea what may cause this?

Code: Select all

System.Runtime.InteropServices.ExternalException (0x00000102): Timeout beim Warten auf die Ausführung eines Programms. Ausgeführter Befehl: ""C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe"" /noconfig /fullpaths @""C:\Users\Kasse\AppData\Local\Temp\uewf5krf.cmdline"".
   bei System.CodeDom.Compiler.Executor.ExecWaitWithCaptureUnimpersonated(SafeUserTokenHandle userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine)
   bei System.CodeDom.Compiler.Executor.ExecWaitWithCapture(SafeUserTokenHandle userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine)
   bei Microsoft.CSharp.CSharpCodeGenerator.Compile(CompilerParameters options, String compilerDirectory, String compilerExe, String arguments, String& outputFile, Int32& nativeReturnValue, String trueArgs)
   bei Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   bei Microsoft.CSharp.CSharpCodeGenerator.FromSourceBatch(CompilerParameters options, String[] sources)
   bei Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, String[] sources)
   bei Stimulsoft.Base.StiCompiler.Compile(String textToCompile, String outputAssembly, LanguageType languageType, StiOutputType outputType, String[] referencedAssemblies, List`1 resources) in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Base\StiCompiler.cs:Zeile 138.
   bei Stimulsoft.Report.StiReport.Compile(String path, Stream stream, StiOutputType outputType, Boolean autoCreate, Object standaloneReportType) in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\StiReport.Compile.cs:Zeile 435.
   bei Stimulsoft.Report.StiReport.Compile() in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\StiReport.Compile.cs:Zeile 135.
   bei Stimulsoft.Report.Engine.StiReportV2Builder.RenderSingleReport(StiReport masterReport, StiRenderState renderState) in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\Engine\EngineV2\Builders\StiReportV2Builder.cs:Zeile 129.
   bei Stimulsoft.Report.StiReport.RenderReport(StiRenderState renderState) in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\StiReport.Render.cs:Zeile 326.
   bei Stimulsoft.Report.StiReport.Render(StiRenderState renderState, StiGuiMode guiMode) in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\StiReport.Render.cs:Zeile 204.
   bei Stimulsoft.Report.StiReport.Render(Boolean showProgress) in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\StiReport.Render.cs:Zeile 74.
   bei CasPos.StimulsoftFormRenderer.Render(Action`1 registerData) in D:\Users\Tobias\sandbox\caspostouch\src\CasPos.Common\StimulsoftFormRenderer.cs:Zeile 30.
   bei CasPos.ViewModels.ReportsViewModel.<>c__DisplayClass19_2.<<CreateNewReport>b__1>d.MoveNext() in D:\Users\Tobias\sandbox\caspostouch\src\caspos\ViewModels\ReportsViewModel.cs:Zeile 0.
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Timout error in report rendering

Post by Lech Kulikowski »

Hello,

It is difficult to say something about the issue without a sample that reproduces it.

Thank you.
Tobias
Posts: 102
Joined: Mon Nov 24, 2008 8:44 am

Re: Timout error in report rendering

Post by Tobias »

I can't reproduce this. I've updated Stimulsoft, the .Net Framework and added csc.exe to the virus scanners exclusion list - I will know in a couple of weeks if this worked or not.
Andrew
Posts: 4104
Joined: Fri Jun 09, 2006 3:58 am

Re: Timout error in report rendering

Post by Andrew »

Hello Tobias,

Okay, keep us updated on this.
Thank you.
Post Reply