Skip to main content

Unable to generate Pages Scanned Report when opening Report Viewer


Question / Problem: 

When using Oracle with the Kofax Capture Report Viewer, the following error is encountered:


The Kofax Capture Error log will show the following:

"2019-10-24 09:41:37, 0x00000018, 0x00000000, 0x00000069, 0x80131500, 0x00000000, D:\Program Files (x86)\Kofax\Capture\Bin, ReportViewer, 11.0.646.0, ShowReportError at offset 155 in file:line:column <filename unknown>:0:0
, 0, Unable to generate Pages Scanned Report.CrystalDecisions.CrystalReports.Engine.LogOnException: Database logon failed. ---> System.Runtime.InteropServices.COMException: Database logon failed.   at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.GetLastPageNumber(RequestContext pRequestContext)   at CrystalDecisions.ReportSource.EromReportSourceBase.GetLastPageNumber(ReportPageRequestContext reqContext)   --- End of inner exception stack trace ---   at Kofax.AscentCapture.ReportViewer.ReportViewerForm.ShowReport(), , "



Answer / Solution: 

This could be related to known software bug submitted under Bug " 1102650 ".  This issue is address in Fix Pack 3 for Capture 11 and higher.

If you are using Oracle 12c you will need to add the following lines to the ACConfig.xml file located in \\...\CaptureSV\Config folder




<ReportViewer UseOleDbForOracle="1"/>


After the changes restart the Kofax Capture Service and Report Viewer should open without this error.


Applies to:  

Product Version
Capture 11



  • Was this article helpful?