Unable to access Report Viewer after Kofax Capture upgrade from 11.0 to 11.1 - kofax

We are using MS SQL Server and upgraded the application from 11.0 to verison 11.1.
All the other modules like Scan, Validation, PDF Generator and Export are working fine. Report Viewer is having issues and throwing the following error message:
, 0, Unable to generate User Productivity 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(), ,
We have even tried to change the password of Kofax DB account and then re-encrypted it using DBUtil.exe but it is still not working.
Please let me know if anyone also experienced the similar issue.
The Kofax Report Viewer version 11.0 works fine with Kofax Capture server 11.1.
But, I would like to find out why it is throwing "Database logon failed" with Report Viewer 11.1.

Related

Provider cannot be found ADODB error while connecting to Excel 2016 or CSV from Internet Explorer

Background: In our organization, there is a html tool which runs in the Browser(IE11). The tool has a couple of stages and data from each stage is stored in a SharePoint list. In the final stage, all this data needs to be reconciled from a data set which comes from banks in a spreadsheet. Here the tool uses ADODB connection to connect to the Excel file, read the data from it and match with the data on SharePoint.
Problem: Recently after a windows 10 upgrade, the tool stopped exactly on the connection line throwing an error - "Provider cannot be found. It may not be installed correctly". I also got the Microsoft access Database engine re-installed from IT but to no good(this was after reading about answers to my query online)
I am the developer of this tool and it works just fine on my laptop. Below are the specifications of the connection string and other details of software installed
Windows Version: 1511(OS Build 10586. 1176) Windows 10 64 bit
IE: 11
IE version: 11.1176.10586.0
IE Update Version: KB4040685
Office: 2016
Connecting to Excel(version) - 2007-2010 (xls, xlsx format)
Connection Object: ADODB.Connection (via ActiveXObject in JavaScript )
Connection String Parameters
•Provider - Microsoft.ACE.OLEDB.12
•Extended Properties - Excel 8.0 (Also tried Excel 12.0 xml)
•HDR - Yes
•IMEX = 1
OLEDB Drivers installed on the machine: Microsoft ACE 12.0, 16.0 and Jet 4.0
This is the exact same configuration on my laptop and the tool is easily able to connect to Excel or Access also for that purpose.
I have also tried the below, nothing was a success
1.Used Jet.4.0 in the connection string - Here I got error "External table is not in the expected format" & "Unexpected error from database"
2.Tried using ODBC drivers with error - "Data source name not found and no drivers installed"
3.Opened the tool in 32 bit environment
4.Made a HTA app and ran that in 32 bit mode
I also found that in my laptop in the Microsoft Shared folder within program files, there exist Office 14 & 15 folders, but they don't exist in the newer laptops and the same in 32 bit folder of Program files(x86). Would it be possible that having those folders is making the difference?
Please help.
I have learned that installing Microsoft Access Database Engine 2010 (or 2007) on end-user machines fixes the issue, as adodb.dll file is required to be registered on computers using that provider.

Error when deploying report to SSRS Server

I am creating reports using SSRS connecting to excel datasource (ODBC 32 bit). While its runs ok in the report builder, when deploying to the report server 2015 (64 bit), I get the following error:
An error has occurred during report processing. (rsProcessingAborted)
An attempt has been made to use a data extension 'ODBC' that is either not registered for this report server or is not supported in this edition of Reporting Services. (rsDataExtensionNotFound)
There doesn't seem to be a way to create a 64 bit ODBC connection.
How can I get this connection to work?

The requested OLE DB provider Microsoft.ACE.OLEDB.12.0 is not registered. If the 64-bit driver is not installed, run the package in 32-bit mode

I'm trying to run a job in SQL Server Management Studio that executes a SSIS package. The SSIS package copies data from an excel file to a database.
I installed the 64-bit version of Microsoft Access Database Engine (https://www.microsoft.com/en-us/download/details.aspx?id=13255). When I tried to run the SSIS package by itself (through Data Tools, not as a job) it displayed an error about ACE.OLEDB not being registered. I got the same error when running the SSIS package as a job.
I uninstalled the 64-bit version and installed it's 32-bit counterpart. It works when I run the SSIS package by itself. When I try to run the package as a job I get the following error:
"The requested OLE DB provider Microsoft.ACE.OLEDB.12.0 is not
registered. If the 64-bit driver is not installed, run the package in
32-bit mode"
I edit the job step, go to 'execution options' and tick the 'use 32 bit runtime' box. When the box is ticked and I run the job I'm getting the following error:
"An OLE DB error has occurred. Error code: 0x80004005. An OLE DB
record is available. Source: "Microsoft Access Database Engine"
Hresult: 0x80004005 Description: "Unspecified error".
I also tried installing JET.OLEDB instaed of ACE.OLEDB but nothing works. I can run the SSIS package by itself but when I try to run it as a job step in SQL Server Management Studio I always get the two errors mentioned above depending on whether the 32 bit box is ticked or not.
It turns out that the proxy account which was used to run the job didn't have the right permissions.
https://support.microsoft.com/en-us/kb/933835

Azure MarsAgent Upgrade Failed

I have an issue, I am trying to upgrade the MarsAgent (Azure agent) on a Windows 7 PC. When I try to update it I get the error:
"An unexpected error occurred during the installation. For more details check the setup error logs.(Error ID: 116)".
You then press OK on that error and I am then presented with
"Error starting the Microsoft Azure Recovery Services Agent Setup Wizard"
Can you please help!!!
I was also getting same error whet tried to installed MarsAgent on win2016 server. I tried many articles but no luck. When I selected installed with window updates it shown me error for window update service. so I checked Windows update service found it was in disabled state, hence I set startup type automatic and started service then tried. Issue resolved no error found.

Why does Crystal Reports throw a LoadSaveReportException in IIS7 but works in Cassini / desktop application?

I have a method that loads a Crystal Reports file, sets the appropriate login information, and then generates a PDF.
ReportDocument rep = new ReportDocument();
rep.Load(...);
// Set table LogOnInfo
rep.ExportToStream(ExportFormatType.PortableDocFormat);
// Save the PDF to disk or return it as web request
This exact code works in both
A stand-alone WPF desktop application
An ASP.NET MVC website running through Cassini launched from VS
but does not work when the same website is deployed to IIS7. It gives a rather unhelpful message and stacktrace.
An error has occurred while attempting to load the Crystal Reports runtime.
Either the Crystal Reports registry
key permissions are insufficient or
the Crystal Reports runtime is not
installed correctly.
Please install the appropriate Crystal
Reports redistributable
(CRRedist*.msi) that contains the
version of the Crystal Reports runtime
(x86, x64, or Itanium) that is
required. Please go to
http://www.businessobjects.com/support
for more information.
Exception Details: CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports runtime.
Note that I am using CR 2008 SP2 and the files haven't been named CRRedist... since 10.5 so someone has been forgetting to update the messages somewhere :) Here is a list of all the CR runtimes.
So why would running the same code referencing the same assemblies work in the two situations listed above but not in a deployed website?
I found this suggestion to give the IIS user write access to the temp folder, and it does appear that the Crystal runtime does some work there but I still get the same error even after giving IIS_IUSR or IIS AppPool\DefaultAppPool full access to %TEMP%.
I have also tried changing the app pool to use my account as the identity and still receive the same error message so I'm not convinced it's a permissions issue.
It turns out that for any newer versions of Crystal Reports after 10.5 (the one that is bundled with VS2008) there are no 64-bit runtimes.
The "simple" solution is to make the app pool 32-bit and then everything works ok.
There are more explanations found here (along with the expected angry responses)
You have to install CR version 13, download the msm and build an installer with VSS. Finalley execute the installer (you build) on your server.
Good luck!

Resources