"ROI.EXE has stopped working" error in Microsoft Dynamics SL 2011

This article provides a solution to a ROI.EXE has stopped working error message that occurs in Microsoft Dynamics SL 2011.

Applies to:   Microsoft Dynamics SL 2011, Microsoft Dynamics SL 2011 Service Pack 1
Original KB number:   2720173

Symptoms

When you try to print any report in Microsoft Dynamics SL 2011, you receive the following error:

ROI.EXE has stopped working

Cause

An invalid printer is specified in Microsoft Dynamics SL Printer Options.

Resolution

Open the Printer Options (98.220.00) screen and select a valid printer.

More information

In a Terminal Server or Citrix environment, every time that you sign in, the name of the printer may change slightly. For example, the printer name may end with TCP#10 one time and TCP#13 the next time that you sign in. Even though these may be the same physical printer, Microsoft Dynamics SL sees them as separate printers. In this scenario, we recommend that you select Use Windows Default printer instead in the Printer Options (98.220.00) screen so that Microsoft Dynamics SL won't store the printer name.