Environment
Operating system: Win10 Family General version x64
Account Type: Administrator
supermap:9d
An error occurred when opening a custom application: Could not find part of the path "C:\Users\user\AppData\Local\Temp\Select2.cur"
Exception text **************
System.IO.DirectoryNotFoundException: Could not find part of path "C:\Users\user\AppData\Local\Temp\Select2.cur".
In System.io.__error.winioerror (Int32 errorCode, String Maybefullpath)
In System.IO.FileStream.Init (String path, FileMode mode, FileAccess access, Int32 rights, Boolean Userights, FileShare Shar E, Int32 buffersize, fileoptions options, Security_attributes secattrs, String Msgpath, Boolean bfromproxy, Boolean Uselon Gpath, Boolean Checkhost)
In System.IO.FileStream. ctor (string path, FileMode mode, FileAccess access, FileShare share, Int32 buffersize, fileoptions options, String Msgpath , Boolean Bfromproxy, Boolean Uselongpath, Boolean checkhost)
In System.IO.File.InternalWriteAllBytes (String path, byte[] bytes, Boolean checkhost)
In System.IO.File.WriteAllBytes (String path, byte[] bytes)
In SuperMap.UI.MapControl.Cursors.LoadActionCursor (String cursorname)
In SuperMap.UI.MapControl.Cursors.get_Select2 ()
In SuperMap.UI.MapControl.GetDefaultCursor ()
In SuperMap.UI.MapControl.SetActionCursor (Boolean wait)
In SuperMap.UI.MapControl.DoMouseMove (MouseEventArgs e)
In SuperMap.UI.MapControl.OnMouseMove (MouseEventArgs e)
In System.Windows.Forms.Control.WmMouseMove (message& m)
In System.Windows.Forms.Control.WndProc (message& m)
In System.Windows.Forms.ScrollableControl.WndProc (message& m)
In System.Windows.Forms.UserControl.WndProc (message& m)
In SuperMap.UI.MapControl.WndProc (message& m)
In System.Windows.Forms.Control.ControlNativeWindow.OnMessage (message& m)
In System.Windows.Forms.Control.ControlNativeWindow.WndProc (message& m)
In System.Windows.Forms.NativeWindow.Callback (IntPtr hWnd, Int32 msg, INTPTR wparam, INTPTR lparam)
Solve
This is only a case, the suspicion is the operating system or operating system +supermap problem; After observation, the application based on the super-graph will automatically delete the system's temporary folder, very strange, who deleted the Temp folder, system users? Application? A hyper-map environment? Other software? Like this kind of problem is very difficult to determine. The workaround is to create a new administrator user who can temporarily resolve this error.
Failed to find part of Temp\select2.cur