Skip to main content

Hi,

Enviroment: Apps 10 Update 8

In our test environment we have just completed the following:

  1. Clone of our Live enviroment
  2. Updated Oracle from 12c to 19c

Once complete we have started testing and found we cannot get any Crystal Reports to run, when we do try we get an error “No PDF report returned from Crystal Web Service”.

Due to the clone I have made sure the system parameters are pointing to the test environment.

I have also turned on logging, see a log below…

I have highlighted the error in red:

 

11/24/2020 11:04:21 AM4IFSCRWebSetup_CST1]-_DecryptPassword] Decrypting Password : 
11/24/2020 11:04:21 AM0IFSCRWebSetup_CST1]-pGetDbInfoFromXml] Decrypted.
11/24/2020 11:04:21 AM0IFSCRWebSetup_CST1]-pDecryptPassword] Decrypting Password : 
11/24/2020 11:04:21 AM:IFSCRWebSetup_CST1]-uGetDbInfoFromXml] Decrypted.
11/24/2020 11:04:21 AM:IFSCRWebSetup_CST1]-uGetDbInfoFromXml] Retrieved Information from XML : DBUser-ifssys DBPassword-******* PrintUser-IFSPRINT PrintPassword-******* DBServerName-IFSCST AppOwner-IFSAPP IALOwner-IFSINFO
11/24/2020 11:04:21 AM:IFSCRWebSetup_CST1]-uGetSavedPDFReport] Exporting the report in PDF format.
11/24/2020 11:04:21 AM:IFSCRWebSetup_CST1]-uGetSavedPDFReport] File Name : ArrivalReportAxis1.rpt
11/24/2020 11:04:21 AM:IFSCRWebSetup_CST1]-uGetSavedPDFReport] ParameterValues : 66498.0 ,LangCode = gb
11/24/2020 11:04:21 AM:IFSCRWebSetup_CST1]-ubase64Encode] for 66498
11/24/2020 11:04:21 AM:IFSCRWebSetup_CST1]-ubase64Encode] Encoded value : NjY0OTg=
11/24/2020 11:04:21 AM:IFSCRWebSetup_CST1]-ubase64Decode] for NjY0OTg=
11/24/2020 11:04:21 AM:IFSCRWebSetup_CST1]-ubase64Decode] Decoded to 66498
11/24/2020 11:04:21 AM:IFSCRWebSetup_CST1]-uOpenReport] File Name : gb\ArrivalReportAxis1.rpt
11/24/2020 11:04:21 AM:IFSCRWebSetup_CST1]-uGetAppSetting] Get the value for OpenReportPath from Web.config.
11/24/2020 11:04:22 AM:IFSCRWebSetup_CST1]-uOpenReport] The file H:\IFS\IFSShared\IFSReports\IFSCST\Layout\gb\ArrivalReportAxis1.rpt is found
11/24/2020 11:04:22 AM:IFSCRWebSetup_CST1]-uGetAppSetting] Get the value for OpenReportPath from Web.config.
11/24/2020 11:04:22 AM:IFSCRWebSetup_CST1]-uLoadInfoServiceReport] Loading infoServe report : H:\IFS\IFSShared\IFSReports\IFSCST\Layout\gb\ArrivalReport1.rpt
11/24/2020 11:04:22 AM:IFSCRWebSetup_CST1]-uLoadInfoServiceReport] DBUser = IFSPRINT ,DBPassword : ******* ,DBServerName : IFSCST ,AppOwner : IFSAPP
11/24/2020 11:04:22 AM:IFSCRWebSetup_CST1]-uLoadInfoServiceReport] Setting up logon information for each database object.
11/24/2020 11:04:22 AM:IFSCRWebSetup_CST1]-uSetTableLocation] Set appropriate post-fixes for ARRIVAL_REPORT_REP_
11/24/2020 11:04:22 AM:IFSCRWebSetup_CST1]-uSetDatabaseLocation] Generating fully qualified database object name for ARRIVAL_REPORT_REP_
11/24/2020 11:04:40 AM:IFSCRWebSetup_CST1]-ERROR in ELoadInfoServiceReport] Error in loading infoServices report.
11/24/2020 11:04:40 AM:IFSCRWebSetup_CST1]-Failed to open the connection.
Details:  eDatabase Vendor Code: 12154 ] Failed to open the connection.
Details:  DDatabase Vendor Code: 12154 ] Failed to open the connection.

ArrivalReportAxis1 13976_19224_{D5ECD363-8B38-4E3D-B928-6FDBEB3B3972}.rpt
Details:  >Database Vendor Code: 12154 ]   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\IFSCRWebSetup_CST1\App_Code\Service.cs:line 1409
   at Ifs_ReportService.SetTableLocation(Table crTable, String UserId, String AppOwner, String IALOwner) in c:\inetpub\wwwroot\IFSCRWebSetup_CST1\App_Code\Service.cs:line 1386
   at Ifs_ReportService.LoadInfoServiceReport(String path, String DBUser, String DBPassword, String DBServerName, String AppOwner) in c:\inetpub\wwwroot\IFSCRWebSetup_CST1\App_Code\Service.cs:line 1204

 

I have checked that IFSPRINT has the correct permissions and has access to the company and site,  these are not new reports they have all been established for a number of months.

I have opened a report in Crystal Reports and I can connect and run a report fine.

 

Any ideas would be much appreciated?

 

Many Thanks

Steve

Hi Steve,

 

Since the error states :

11/24/2020 11:04:40 AMMIFSCRWebSetup_CST1]-ERROR in LoadInfoServiceReport] Error in loading infoServices report.
11/24/2020 11:04:40 AMMIFSCRWebSetup_CST1]-Failed to open the connection.
Details:  Database Vendor Code: 12154 ] Failed to open the connection.
Details:   Database Vendor Code: 12154 ] Failed to open the connection.

 

I would start troubleshooting by verifying whether the crystal web service can access the database. You can simply do a tnsping from the crystal web service machine to the db to verify.  Also make sure the view ARRIVAL_REPORT_REP_  has been granted to IFSSYS

 


Hi Kasun,

Thanks for the reply

I have checked and can verify that the crystal web service can access the database (these are hosted on the same machine).

Also I can verify IFSSYS has permission to ARRIVAL_REPORT_REP_ 

Steve


The Database Vendor Code: 12154 usually refers to ORA-12154  which hints about a TNS resolution failure. You can double check the oracle tns entry in ifs-crystal-config.xml and if that’s all good try to re-install the web service from a fresh zip archive from the IFS home. 

 


Just thinking about this again, we have also changed the IFSSYS password, I see this is stored in the ifs-crystal-config.xml  encrypted?

Do you need to update this?

And if so how?


Just thinking about this again, we have also changed the IFSSYS password, I see this is stored in the ifs-crystal-config.xml  encrypted?

Do you need to update this?

And if so how?

If you have updated the IFSSYS password you will have to run a reconfiguration to reflect the password update in the installation files for the crystal webservice. The CrystalWebService_64bit_DEV3APP10.zip will get updated during the re-config and you can use the updated zip archive to install the web service again. 

 


I have followed your advice and installed the webservice again but its still the same?

1/25/2020 9:39:57 AM[IFSCRWebSetup]-ERROR in [LoadInfoServiceReport] Error in loading infoServices report.
11/25/2020 9:39:57 AM[IFSCRWebSetup]-Failed to open the connection.
Details:  Database Vendor Code: 12154 ] Failed to open the connection.
Details:  Database Vendor Code: 12154 ] Failed to open the connection.
ArrivalReportAxis1 12868_3284_{32833AAA-F9D9-4FB5-AD8C-A95759485318}.rpt
Details:   Database Vendor Code: 12154 ]   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\IFSCRWebSetup\App_Code\Service.cs:line 1409
   at Ifs_ReportService.SetTableLocation(Table crTable, String UserId, String AppOwner, String IALOwner) in c:\inetpub\wwwroot\IFSCRWebSetup\App_Code\Service.cs:line 1386
   at Ifs_ReportService.LoadInfoServiceReport(String path, String DBUser, String DBPassword, String DBServerName, String AppOwner) in c:\inetpub\wwwroot\IFSCRWebSetup\App_Code\Service.cs:line 1204

I have checked the ifs-crystal-config.xml passwords to the configuration xml and they match.

 


I have finally got to the bottom of this, in tnsnames.ora the PDB entry was missing hence why the 12154 error code.

As soon as this was updated the Reports ran fine.

This happened when updating Oracle.

Thanks for all you help!