Welcome to Synthiam!

The easiest way to program the most powerful robots. Use technologies by leading industry experts. ARC is a free-to-use robot programming software that makes servo automation, computer vision, autonomous navigation, and artificial intelligence easy.

Get Started
Canada
Asked

Question

New to JD and the Community,

My high school students build JD but they always get this message when they try to save a program.  Does anyone know why and how to fix this issue?

Thanks

Version: 2019.01.04.00
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files (x86)\EZ-Robot Inc\EZ-Builder\EZ-Builder\ProjectHistory.txt'.
   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.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)
   at System.IO.File.WriteAllLines(String path, String[] contents)
   at YjxgrMR9pnc473AJK7.xqG1dKIH2wIRyD86TB.jrQp5enZst(String  )
   at EZ_Builder.FormMain.NTnOI183qJ(Object  , EventArgs  )
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Windows.Forms.RibbonItem.OnClick(EventArgs e)
   at System.Windows.Forms.RibbonButton.OnClick(EventArgs e)
   at System.Windows.Forms.RibbonMouseSensor.Control_MouseClick(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.OnMouseClick(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Ribbon.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


ARC Pro

Upgrade to ARC Pro

Synthiam ARC Pro is a cool new tool that will help unleash your creativity with programming robots in just seconds!

PRO
Synthiam
#1  
Wow - that’s an interesting error. The path for that file should be the My Documents, which is requested by the operating system. Meaning, ARC asks Windows where the My Documents folder is to save files. 

For some reason, Windows is returning the installation folder as the My Documents folder. I can’t even imagine a configuration option that would cause it. 

Can you check with your IT department if they know why the My Documents folder is returning the installation folder? Perhaps a security setting or a misconfiguree network share. 

One thing I wonder is I’d the my Documents folder is on a network share but not configured correctly in windows? Or not accessible?

If you load File Explorer and press My Documents, where does it take you? You can right click on the My Documents icon and see the path. That’s the path that Windows should also give ARC. 

Is ARC running in some strange security isolated pool? Or something that tries to isolate it from windows?

I hope your IT department can assist because with hundreds of thousands of installations of ARC over the last 6 years, this has never happened before - because the function used to request the My Documents folder is a generic function provided by Microsoft
#2  
A lot of schools I know block the computers "My Documents" file on the local drive, and uses the "my documents" file on a network drive. Killams computer configuration could be similar and blocking the directory.