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

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.