Skip to main content

I’m unable to preview Crystal Reports in my Test IFS Apps 9 DB. I’ve recently updated the Test DB from Live, and copied all the crystal files too., and also updated values in SYSTEM PARAMETERS.

I’ve edited the database location in Crystal  from IFSL to IFSR and can successfully preview data in reports from within Crystal.

 

But as soon as i try and preview the report from with IFS, i get the following error

and the following error in the crystal log. Any advice gratefully received. Thanks, Chris

 

 

30/07/2021 10:36:291IFSCRWebSetupIFSR_3]-uOpenReport] File Name : en\PurchaseOrderPrintRepv2.rpt
30/07/2021 10:36:291IFSCRWebSetupIFSR_3]-uGetAppSetting] Get the value for OpenReportPath from Web.config.
30/07/2021 10:36:291IFSCRWebSetupIFSR_3]-uOpenReport] The file D:\IFS\IFSShared\IFSReports\IFSR\Layout\en\PurchaseOrderPrintRepv2.rpt is found
30/07/2021 10:36:291IFSCRWebSetupIFSR_3]-uGetSavedPDFReport] Exporting the report in PDF format.
30/07/2021 10:36:291IFSCRWebSetupIFSR_3]-uGetSavedPDFReport] File Name : PurchaseOrderPrintRepv2.rpt
30/07/2021 10:36:291IFSCRWebSetupIFSR_3]-uGetDbInfoFromXml] Loading data from ifs-crystal-config.XML
30/07/2021 10:36:291IFSCRWebSetupIFSR_3]-uDecryptPassword] Decrypting Password : CgQIfu7ljkXXJ3w9HQIf2m60UU14eBDTmd2F
30/07/2021 10:36:291IFSCRWebSetupIFSR_3]-uDecryptPassword] Starting the Command Prompt process for decryption.
30/07/2021 10:36:291IFSCRWebSetupIFSR_3]-uDecryptPassword] Ending the CMD process.
30/07/2021 10:36:291IFSCRWebSetupIFSR_3]-uDecryptPassword] Decrypted.
30/07/2021 10:36:291IFSCRWebSetupIFSR_3]-uDecryptPassword] Decrypting Password : CgQIcdK9C7bd7wW5kJfJfWvCr3KwhMwWztDM
30/07/2021 10:36:291IFSCRWebSetupIFSR_3]-uDecryptPassword] Starting the Command Prompt process for decryption.
30/07/2021 10:36:291IFSCRWebSetupIFSR_3]-uDecryptPassword] Ending the CMD process.
30/07/2021 10:36:301IFSCRWebSetupIFSR_3]-uDecryptPassword] Decrypted.
30/07/2021 10:36:301IFSCRWebSetupIFSR_3]-uGetDbInfoFromXml] Retrieved Information from XML : DBUser-IFSSYS DBPassword-******* PrintUser-IFSPRINT PrintPassword-******* DBServerName-IFSR AppOwner-IFSAPP IALOwner-IFSINFO
30/07/2021 10:36:301IFSCRWebSetupIFSR_3]-uGetDbInfoFromXml] Loading completed. 
30/07/2021 10:36:302IFSCRWebSetupIFSR_3]-tbase64Decode] for NjMzMjAy

30/07/2021 10:36:302IFSCRWebSetupIFSR_3]-tbase64Decode] Decoded successfully. 
30/07/2021 10:36:300IFSCRWebSetupIFSR_3]-eGetSavedPDFReport] Result Key : 633202 ,LangCode = en
30/07/2021 10:36:300IFSCRWebSetupIFSR_3]-eGetAppSetting] Get the value for OpenReportPath from Web.config.
30/07/2021 10:36:300IFSCRWebSetupIFSR_3]-eLoadInfoServiceReport] Loading infoServe report : D:\IFS\IFSShared\IFSReports\IFSR\Layout\en\PurchaseOrderPrintRepv2.rpt
30/07/2021 10:36:300IFSCRWebSetupIFSR_3]-eLoadInfoServiceReport] DBUser = IFSPRINT ,DBPassword : ******* ,DBServerName : IFSR ,AppOwner : IFSAPP
30/07/2021 10:36:300IFSCRWebSetupIFSR_3]-eLoadInfoServiceReport] Setting up logon information for each database object.
30/07/2021 10:36:300IFSCRWebSetupIFSR_3]-eSetTableLocation] Set appropriate post-fixes for PURCHASE_ORDER_PRINT_REP_A
30/07/2021 10:36:300IFSCRWebSetupIFSR_3]-eSetDatabaseLocation] Generating fully qualified database object name for PURCHASE_ORDER_PRINT_REP_A
30/07/2021 10:36:300IFSCRWebSetupIFSR_3]-ERROR in 3LoadInfoServiceReport] Error in loading infoServices report.
30/07/2021 10:36:300IFSCRWebSetupIFSR_3]-Failed to open the connection. Failed to open the connection.
PurchaseOrderPrintRepv2 {E489DEDA-3837-4890-B809-03A874038E61}.rpt   at CrystalDecisions.ReportAppServer.Controllers.DatabaseControllerClass.SetTableLocation(ISCRTable CurTable, ISCRTable NewTable)
   at CrystalDecisions.CrystalReports.Engine.Table.set_Location(String value)
   at Ifs_ReportService.SetDatabaseLocation(String databaseLocation, Table table) in c:\inetpub\wwwroot\IFSCRWebSetupIFSR_3\App_Code\Service.cs:line 1614
   at Ifs_ReportService.SetTableLocation(Table crTable, String UserId, String AppOwner, String IALOwner) in c:\inetpub\wwwroot\IFSCRWebSetupIFSR_3\App_Code\Service.cs:line 1589
   at Ifs_ReportService.LoadInfoServiceReport(String path, String DBUser, String DBPassword, String DBServerName, String AppOwner) in c:\inetpub\wwwroot\IFSCRWebSetupIFSR_3\App_Code\Service.cs:line 1417
30/07/2021 10:36:30/IFSCRWebSetupIFSR_3]-ERROR in eGetSavedPDFReport] Error in exporting the report in PDF format.
30/07/2021 10:36:30/IFSCRWebSetupIFSR_3]-Object reference not set to an instance of an object.   at Ifs_ReportService.GetSavedPDFReport(String FileName, String ParameterValues, String LangCode) in c:\inetpub\wwwroot\IFSCRWebSetupIFSR_3\App_Code\Service.cs:line 280
 

Hi,

This looks like,

  1. The SID pointed in the CWS ifs-crystal-config.xml <ORACLE_TNS> tag is not correct
  2. The SID mentioned in the CWS ifs-crystal-config.xml <ORACLE_TNS> tag is not added to the tnsnames.ora or it’s pointing to a wrong database
  3. The IFSPRINT, IFSSYS passwords in the CWS ifs-crystal-config.xml are incorrect
  4. The IFSPRINT user is locked

Regards,

Chanaka


Hi Chanaka,

Thanks for the checklist. I get a reply when i tnsping ifsR, the oracle_tns tag is correct and i’ve verified the passwords & the ifsprint user is not locked.

i can print standard reports, just not crystal.

Scratching my head now….