We are having an issue where after generating a certain number of reports server side, the Stimulsoft.Report.Compile() method starts failing and then continues to fail until we restart the service that is generating the reports. This seems to have started happening recently, possibly with the last release of Reports Ultimate. Any help would greatly be appreciated. This is affecting our production environment at the moment.
Here is the stack trace:
System.IO.FileNotFoundException: Could not find file 'C:\Users\kPlatform\AppData\Local\Temp\hnsy5nsl.dll'.
File name: 'C:\Users\kPlatform\AppData\Local\Temp\hnsy5nsl.dll'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.File.InternalReadAllBytes(String path, Boolean checkHost)
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 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(String path, Stream stream, StiOutputType outputType, Boolean autoCreate)
at Stimulsoft.Report.StiReport.Compile(String path, StiOutputType outputType, Boolean autoCreate)
at kahua.Platform.Feature.Report.ReportController.bindVariables(StiReport report, PlatformReportModel reportModel)
at kahua.Platform.Feature.Report.ReportController.generatePreviewThumbnail(Entity reportEntity, PlatformReportModel reportModel, String attributeName, Boolean addingLanguage)
at kahua.Platform.Feature.Report.ReportController.AddPortableViewToAttribute(PlatformReportModel reportModel, Entity entity, String attributeName, Boolean addingLanguage)
at kahua.Platform.Feature.Render.RenderController.processRenderPortableViewQueueItem(RenderPortableViewQueueItem queueItem)
at kahua.Services.Private.Queue.Processor.Worker.RenderPortableView.Execute(String message)
at kahua.Services.Private.Queue.Processor.QueueProcessor.Process()
report.Compile() starts failing -> Could not find file
-
- Posts: 28
- Joined: Tue Oct 04, 2011 7:13 pm
- Location: USA
Re: report.Compile() starts failing -> Could not find file
Hello.
It seems that you have an issue with report assemblies. Please, try to use Interpretation mode.
For more information read Something You Should Know When Working with Compiled Report article from our blog.
Thank you.
It seems that you have an issue with report assemblies. Please, try to use Interpretation mode.
For more information read Something You Should Know When Working with Compiled Report article from our blog.
Thank you.