Error printing report on windows server 2019 - temp directory
good morming. when we try print a report from an our software that use fastreport.net obtain the follow error:
System.ComponentModel.Win32Exception (0x80004005): Impossibile trovare il percorso specificato (specified path not found)
in Microsoft.Win32.NativeMethods.CreateDirectory(String path, SafeLocalMemHandle acl)
in System.CodeDom.Compiler.TempFileCollection.CreateTempDirectoryWithAce(String directory, String identity)
in System.CodeDom.Compiler.TempFileCollection.GetTempFileName(String tempDir)
in System.CodeDom.Compiler.TempFileCollection.EnsureTempNameCreated()
in System.CodeDom.Compiler.TempFileCollection.AddExtension(String fileExtension, Boolean keepFile)
in System.CodeDom.Compiler.TempFileCollection.AddExtension(String fileExtension)
in Microsoft.CSharp.CSharpCodeGenerator.FromSourceBatch(CompilerParameters options, String[] sources)
in Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, String[] sources)
in System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromSource(CompilerParameters options, String[] sources)
in FastReport.Code.AssemblyDescriptor.InternalCompile()
in FastReport.Code.AssemblyDescriptor.Compile()
in FastReport.Report.Compile()
in FastReport.Report.Prepare(Boolean append)
in FastReport.Report.Prepare()
The same REPORT lanched from our developer computer running without problems.
The software is tried with administrator user that have all the permission required.
The temp directory for the users is available without problems.
Best regards Antonio
Comments
https://forum.fast-report.com/en/discussion/comment/42685#Comment_42685