"System.IO.DirectoryNotFoundException" occurs when attempting to load Reflection Desktop

  • 7025206
  • 22-Jul-2021
  • 16-Sep-2021

Environment

Reflection Desktop (including Pro, for X, for IBM, or for UNIX and OpenVMS) 16.0 and higher

Situation

The following Exception Errors can occur and appear in the Windows Event Viewer when attempting to load the Reflection Workspace:

Application: Attachmate.Emulation.Frame.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.DirectoryNotFoundException
   at System.IO.__Error.WinIOError(Int32, System.String)
   at System.IO.FileStream.Init(System.String, System.IO.FileMode, System.IO.FileAccess, Int32, Boolean, System.IO.FileShare, Int32, System.IO.FileOptions, SECURITY_ATTRIBUTES, System.String, Boolean, Boolean, Boolean)
   at System.IO.FileStream..ctor(System.String, System.IO.FileMode, System.IO.FileAccess, System.IO.FileShare, Int32)
   at Attachmate.Utilities.TempFileHelper.GetTempFileNameWithExtension(System.String)
   at Attachmate.Emulation.Frame.UIManager.LoadSystemUI(System.String)
   at Attachmate.Emulation.Frame.UIController.InitUiManager(System.String)
   at Attachmate.Emulation.Frame.UIController.LoadSystemUI()
   at Attachmate.Emulation.Frame.FrameApplication.Run()
   at Attachmate.Emulation.Frame.Program.Main()


Faulting application name: Attachmate.Emulation.Frame.exe, version: 17.0.434.0, time stamp: 0x5f9bcad3
Faulting module name: KERNELBASE.dll, version: 6.3.9600.19724, time stamp: 0x5ec50c3e
Exception code: 0xe0434352
Fault offset: 0x000156e8
Faulting process id: 0xa94
Faulting application start time: 0x01d746a7369bd7dc
Faulting application path: C:\Program Files (x86)\Micro Focus\Reflection\Attachmate.Emulation.Frame.exe
Faulting module path: C:\Windows\SYSTEM32\KERNELBASE.dll
Report Id: 776bdc96-b29a-11eb-80e9-000c29e7689b
Faulting package full name:
Faulting package-relative application ID:

Resolution

The cause of this problem is a missing Windows Temporary file folder.  The Windows Environment Variables for TEMP and TMP need to be set to a valid existing folder location.