Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

ROI.EXE has stopped working Dynamics SL 2011

(1) ShareShare
ReportReport
Posted on by 130

I ran into an issue where when trying to print invoices through the AP Edit screen we were getting the ROI.EXE has stopped working error.  After doing a fair amount of research on the problem, I stumbled upon a workaround, but would like to know why this fixes the issue.

 

The workaround was to set the windows default printer to the printer in the office that prints the invoices.  Once that change was made in windows, SL was then able to successfully print the invoices we needed.  Inside SL we do not have the option enabled to use the windows default printer enabled, and the printer templates are set up properly. It just seems odd that changing the default printer would fix this irritating issue.

Any suggestions on this would be greatly appreciated, and hopefully someone else finds this helpful.

Computer background-

All windows 7 x86 machines, server running SBS 2011, with MS Dynamics running on SQL12.

*This post is locked for comments

  • Brent Lightsey Profile Picture
    on at
    RE: ROI.EXE has stopped working Dynamics SL 2011

    Adam Leonard 's approach worked very well for me. One of our printer's had gone offline. That printer was saved in the template of a report. We changed the printer to a valid printer, saved the template again, and the error was cleared.

  • pstgeorge Profile Picture
    30 on at
    RE: ROI.EXE has stopped working Dynamics SL 2011

    I too have stumbled upon the same symptoms where no matter how I print i get the same error on ALL reports... I can print to File, to PDF to a PDF printer and a Known good locallly installed printer and I IMMEDIATLY get the error and ROI.exe crashes...

  • medgar Profile Picture
    54 on at
    RE: ROI.EXE has stopped working Dynamics SL 2011

    Hi.  I'm getting this error, and no matter how I change the printer settings, I still get the error.  I've even tried having it print to file rather than a printer, and it still didn't work.  Anyone have any thoughts?

  • Ajit Kannan Profile Picture
    1,246 on at
    RE: ROI.EXE has stopped working Dynamics SL 2011

    Hi,

    In a Terminal Server or Citrix environment, every time that you log on, the name of the printer may change slightly.

    Open Printer Options (98.220.00) and specify a valid printer / Use Windows Default printer.

    Check beneath link more detail

    http://ajitkannan-erp.blogspot.in/2013/08/report-roi-has-stop-working-in-dynamics.html

    Thanks,

    Ajit Kannan

  • JHoyt Profile Picture
    45 on at
    RE: ROI.EXE has stopped working Dynamics SL 2011

    I run in to this situation in our environment where some printers get a designation as (redirected) on our network..      As soon as I change the default printer to a valid static printer on the network the problem goes away.  The problem appears to be because the (redirected) printer has a different "location" because the number after redirected changes from day to day.

  • Adam Leonard Profile Picture
    2,151 on at
    Re: ROI.EXE has stopped working Dynamics SL 2011

    Hi,

    One of the many reasons you will see an ROI.exe has stopped working error message is becuase it has found an invalid printer somewhere that it's trying to print to.  Typically, the change is made to set a valid windows default printer and then tell SL to use windows defualt printer (and save as default).  This is most common in Terminal Server environments using this KB:

    952385

    How to configure Microsoft Dynamics SL to use the local Windows default printer

    mbs.microsoft.com/.../KBDisplay.aspx

    Printers in SL can be designated at many different levels in different places.  For instance, you can specify a printer with a specific .rpt file (the file that is the actual report).  These are stored in the SL root directory under the module-specific folder they are associated with.  If you open one of these in Crystal Reports, you can go to file > printer settings and see what printer is set up in the actual .rpt file.  From time-to-time we find it is necessary to check the "No printer" checkbox on the .rpt file so that it skips looking for a printer on the .rpt file.

    Another level/section where the printer can be specified is within SL under file > printer settings.  There must be a valid printer set up here.  These typically are the printers that show within windows.  Obviously the printers in windows are dynamic (as are their names) as exemplified by a terminal server environment appending a session ID to these printers.  This is what can cause issues.

    Templates within SL can save printer information as well.  So if a template was created to save a printer that is no longer valid, this can cause the behavior you are seeing.

    My best suggestion would be to start at the rpt level and double check everything.  Check the report file itself, check within SL to ensure all printers are valid (file > printer setup), check your templates (delete/re-create them) and try the steps from the KB article above.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

#1
Community Member Profile Picture

Community Member 136

#2
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 102 Super User 2025 Season 1

#3
REUser Profile Picture

REUser 8

Featured topics

Product updates

Dynamics 365 release plans