Using the "Open successful downloads folder" action on a job in the RIS client grid causes an unhandled exception error when the folder is inaccessible. This is likely to occur when running the client on a computer other than the computer on which the server runs, while the job is configured to use a local folder path.
Expected behavior and actual behavior.
Actual result: Unhandled exception dialog
Expected result: A non-exception message informing the user that the folder is inaccessible
Steps to reproduce the problem.
Launch the RIS client on a computer which cannot access the configured folders for a job
Connect to the RIS service
Select a job in the jobs grid
Right click the job, click Open successful downloads folder
An unhandled exception occurs when the folder is not accessible
Specifications like the version of RIS and platform and application version of D365FO.
RIS version 1.0.0
D365 July 2017 application, platform 10
Exception stack trace
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start(ProcessStartInfo startInfo) at RecurringIntegrationsScheduler.Forms.MainForm.OpenSuccessfulDownloadsFolderToolStripMenuItem_Click(Object sender, EventArgs e) in C:\Users\<user>\Source\Repos\Recurring-Integrations-Scheduler\Scheduler\Forms\MainForm.cs:line 764 at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)