Skip to main content

How does a report preview in Indicium (Basic) work?


Dennis van Leeuwen
Hero
Forum|alt.badge.img+12

By previewing a (Crystal) report in the Indicium (Basic) GUI the following error appears:
 

:negative_squared_cross_mark: [err] System.Exception: Failed to execute report 'rpt_quotation_bags' using action 'PrintPreview'. 
---> CrystalDecisions.CrystalReports.Engine.LogOnException:
De aanmelding bij de database is mislukt. 

---> System.Runtime.InteropServices.COMException:
De aanmelding bij de database is mislukt.


Perform this action from the Windows GUI there is a Host and Database displayed in the debugger. In the debug screen of Indicium there is just a report-URL request without any Host and Database information, is this correct or also the crux of the problem? What am I missing?
 

Above → Indicium Basic GUI and below → Windows GUI

 

July 22, 2021

Could you login with the pool user account via the Win GUI without Indicium and then try the print preview again? If that succeeds, then it has to be that the credentials in the appsettings.json are incorrect or differ from the login credentials for the pool user in the SQL Server.

This topic has been closed for comments

Mark Jongeling
Administrator
Forum|alt.badge.img+23

Hi Dennis, I believe Indicium will try to log in on the database to obtain the data needed to generate the report. The "De aanmelding bij de database is mislukt.” error looks to me like the pool user (Indicium) does not have the rights to access the database. Can you check that?


Dennis van Leeuwen
Hero
Forum|alt.badge.img+12

Hey Mark, 
 

Mark Jongeling wrote:

The "De aanmelding bij de database is mislukt.” error looks to me like the pool user (Indicium) does not have the rights to access the database. Can you check that?


The pool user is sysadmin on the server so that shouldn't be the problem. 


Mark Jongeling
Administrator
Forum|alt.badge.img+23

Could you login with the pool user account via the Win GUI without Indicium and then try the print preview again? If that succeeds, then it has to be that the credentials in the appsettings.json are incorrect or differ from the login credentials for the pool user in the SQL Server.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings