web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

System Message 7011: ROI Get RIPARAM Failed for Reporting: Error 56019

(0) ShareShare
ReportReport
Posted on by 98

I'm running Dynamics SL 2015 on Windows Server 2016 MS SQL 2014

Im from Mexico and I have a local solution that makes invoices into xml and pdf formats in order to attend fiscal regulations. I have this report that if a execute directly from my report window, everything goes Ok, but when I call it from my local solution (that is integrated with SL)  it crashes like this:

ErrorReporteFE.png

I have tried everything:

  1. Several things from Crystal Reports, like Printer option, formulas in Record Selection, I have added RptCompany
  2. I have reviewed ODBC connection, security permissions in folders where files are exported, in fact xml file is right there, so there is not a permissions issue.
  3. I have reviewed that .dll are up to date

and you know what was the most funny thing? Some instances worked, so I'm in shock because, it stoped working suddenly...

I'm really desperate, as this is my final step at the sales cycle and my sales people is very angry at this....

Any advice?

I have the same question (0)
  • Suggested answer
    Erich Strelow F Profile Picture
    16 on at

    In fact, the string showed doesn't seem to be a valid CR formula. I miss the curly brackets. Did you try the following expression instead?

    {XEInvcData.RefNbr}='GU007110'

    The "one-liner" definition of a Selection Formula is that of an expression that is added to the WHERE SQL clause. But that's to put it simple. 

    The selection formula really gets locally parsed inside the CR engine. It's expressed in a hybrid language that is either a Pascal-ish or a VB-ish dialect, hence the curly bracket thing. CR then tries to extract elements from the expression that can be mapped to the SQL WHERE clause. Elements that can't be pushed to the SQL query turns into run-time filters that CR uses to discard rows on the client end.

    Other things to check:

    1. See if there's already a record selection formula in the report definition already. It's a common place where a programmer leave unwanted debugging-time code.
    2. Generally speaking, the CR engine will try to AND the run-time supplied selection formula with the one already in the report definition. There are language caveats and string size limitations for which this may not work and result in a ill-formed expression. 
    3. As a rule, always try to keep selection formulas as simple as one could get. Avoid adding join expressions, data partitions or complex language constructions.
    4. ROI runs in a hybrid SQL impersonation. The report pre-run tasks are executed in the caller user context, but the report itself is run under the so called "SL Report User", which is named something like "E8F575915A...". This is a user with low access rights. This can be pretty annoying, since most programmers and DBA will check the end user rights over and over and see nothing wrong. There's a small chance that the error is due to a SQL access problem. SL provides a database utility that will ensure the Report User has the proper rights.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 620

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 521 Super User 2026 Season 1

#3
CP04-islander Profile Picture

CP04-islander 430

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans