Why are we getting 'sqlPrepareWithOptions' status='-126 errors when running a custom report after migrating to RRDI 2.0.3?
Michael Walker (992●15●201●157)
| asked Aug 27 '13, 7:43 p.m.
edited Sep 02 '13, 11:09 p.m. by Jun Wang (607●7)
We migrated a customer from CLM 4.0.1 and RRDI 2.0.1 to CLM 4.0.3 and RRDI 2.0.3. After migration a couple of their custom reports are now failing with the error below. I imported these failing reports into a separate RRDI 2.0.1 install and didn't get the error there. As part of the migration I ran the step in the RRDI Setup to download the latest data models and reports and upload to RRDI.
The logs didn't tell me anything additional and I'm not really sure how to start debugging the Varchar and Date2 issue listed in the error. Any ideas how to fix this? It appears the Data Model changed in 2.0.3 and is no longer compatible with these reports for some reason.
|
One answer
It seems that you use add function in your report template, but the function does not support "varchar" and "date2".
Are you using SQL Server as your DW? What is the connection type to define the RIDW connection on RRDI? It should use SQL Server Native Client as the connection type. It is better that you attach the report xml into it. Open the report template with Report Studio, click Tools->Copy Report to Clipboard on the tool bar, then paste the content into a xml file. Comments
Michael Walker
commented Sep 03 '13, 1:48 a.m.
Thanks for the reply. Once I was able to narrow down the issue to the expression listed above, the customer was able to fix the report.
Jun Wang
commented Sep 03 '13, 2:12 a.m.
I do not know what the exact change on FM to make your problem. It should ask RRDI team.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
I tracked it to this custom field with expression: cast ([Risk Last Updated], date).
The field it's referring to is [Business View].[Request].[Last Updated] that was labeled as Risk Last Updated.