Alteryx Designer Desktop Knowledge Base

Definitive answers from Designer Desktop experts.

Error: "Unhandled Exception" when starting Designer.

lepome
Alteryx Alumni (Retired)
Created

Environment Details



An "Unhandled Exception" thrown when starting Designer, appears when the user clicks on the splash screen. Looking at C:\ProgramData\Alteryx\ErrorLogs reveals the following error type: System.IO.DirectoryNotFoundException Message: Could not find a part of  the path 'F:\.....'

  • Alteryx Designer
    • all versions
An Unhandled Exception occurred.

A previous action may not have completed successfully.

Click OK to send the development team the error log so that we can fix this error in a subsequent release. 

idea Skyscrapers

The most recent error log in C:\ProgramData\Alteryx\ErrorLogs shows the following text [version numbers, processor, memory info, and specific path will be different from that shown below]:
Alteryx Designer x64 - 2020.1.2.24185
Type: System.IO.DirectoryNotFoundException
Message: Could not find a part of the path 'F:\Alteryx Staging Folder\Engine_5644_5c69c53e7d9846c89c178c8235ef0e5f_'.
Source: mscorlib
OS Version: Microsoft Windows NT 6.2.9200.0
OS Is x64 Capable: True
Processor: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
Private Memory: 239452160
--------------------------------------------
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
   at SrcUtils_DotNet.JupyterTempFolder..ctor(String tempPath)
   at AlteryxGuiToolkit.MainWindow..ctor(String[] args)
   at AlteryxGuiToolkit.Main.StartApp(String[] args). 


Cause


At some point in the past, the Default Temporary Directory was changed from the default location to a detachable drive.  When the drive is no longer available, Alteryx Designer can no longer start up.



Resolution


Solution A (if there is an Alteryx System Settings icon on your desktop)

  1. If the software is an Admin version of Designer or Server, you can change the System Settings to make the sure all the paths point to an accessible location.
    1. Double-click on the Alteryx System Settings icon on the desktop.
      idea Skyscrapers
    2. Click Next to get to Setup Type page.  Make sure that the correct radio button is selected.  If only Designer is licensed, that must be Designer Only.  If Desktop Automation or Server are licensed on the machine, then the corresponding radio buttons are probably already set, so you don't have to make any changes to this screen. 
      idea Skyscrapers
    3. Click Next to view the Global Workspace page.
      idea Skyscrapers
      Make sure that the path specified is accessible (not pointing to a detached drive).  Click Next.
    4. Verify the paths on the System Settings configuration pages that correspond to Server functions as applicable.
      1. Click Next until you get to the Controller General Configuration page if there is one. (There won't be a page with that name if only Designer is licensed.) 
        idea Skyscrapers
        Make sure that the path specified is accessible (not pointing to a detached drive).  Click Next.
      2. Click Next until you get to the Worker General Configuration page if there is one. (There won't be a page with that name if only Designer is licensed.) 
        idea Skyscrapers
        Make sure that the paths specified are accessible (and are not pointing to a detached drive). Click Next.
      3. Click Next until you get to the Gallery General Configuration page if there is one. (There won't be a page with that name if only Designer or Designer with Desktop Automation is licensed.)idea Skyscrapers
          Make sure that the path specified is accessible (and are not pointing to a detached drive). Click Next.
         
    5. Click Next until you get to the Engine General Configuration page.  Make sure that the paths specified are accessible (and are not pointing to a detached drive).  Uncheck the box beside Allow users to override these settings.
      idea Skyscrapers
      Click Next until you get to the page to Finalize Your Configuration.  Then click Finish, and then click Done.
  2. Start Designer. 
  3. If you found no paths that point to a detached drive in the preceding steps, verify the User Settings (Options > User Settings > Edit User Settings, then Details tab, and Default Temporary Directory) point to an accessible location such as the more typical folder, C:\ProgramData\Alteryx\Engine, then click on Save. 
    idea Skyscrapers
    The Override System settings checkbox will not be accessible at this time because you disallowed that in a prior step. 
    After you've been able to start Designer, you can go back into the system settings to Allow users to override the settings. 

Solution B (if there is no System Settings Icon on your desktop)

  1. If the software is a Non-admin version of Designer or you don't have a way to access the System Settings from outside Designer, you can change the paths in the User Settings by editing the UserSettings.xml file.
    1. Open File Explorer and navigate to the Engine folder in your user directory by typing or pasting %AppData%\Alteryx\Engine into the location box.
      idea Skyscrapers
    2. From there, open the folder corresponding to the currently-installed version of Designer.
      idea Skyscrapers
    3. Edit the file UserSettings.xml using a text editor such as Notepad++ or Notepad.
      idea Skyscrapers
    4. Scroll down about halfway and find the settings that specify paths. (You can use CTRL-f and search for a colon.)  Edit the path(s) to point to accessible location(s).
      idea Skyscrapers
    5. Save the edited file.
  2. Start Designer.