This document discusses how to troubleshoot the Historical Reporting Client (HRC) user login failure issues.
There are no specific requirements for this document.
This document is not restricted to specific software and hardware versions.
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
Refer to Cisco Technical Tips Conventions for more information on document conventions.
The Historical Reporting Client (HRC) user login fails with one of these error message in the log: <hostname>CiscoAppReports<number>.log which is available in the location .\Program files\Cisco UCCX Historical Reports\Logs.
Not associated with a trusted SQL Server connection
Or
Database connection to 'CRA_DATABASE' failed due to ([Microsoft][ODBC SQL Server Driver] [SQL Server]Login failed for user 'db_cra'.)
Or
Database connection to 'CRA_DATABASE' failed due to ([Microsoft][ODBC SQL Server Driver] [SQL Server]Cannot open database requested in login
Or
) Database Connection Error | Failed to login to database. Ask your administrator to check the database user id and password that is dynamically obtained from the application server.
Or
%CHC-LOG_SUBFAC-3-UNK:Login Error | An Error occurred while attempting to communicate with web server. Check your user id and password and try again. (NO_HISTORICAL_REPORTING_CAPABILITY)
Or
Database Connection Error. All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054
This issue can happen because of either of these reasons:
The user might have started the Historical Reporting Client directly with the .exe file: .\Program files\Cisco UCCX Historical Reports.
The SQL server authentication is set to Mixed mode. From CRS 5.0 and onwards, the only supported mode for the SQL server authentication is Windows mode.
Perform these steps in order to resolve the issue:
Start HRC from either the shortcut available on the desktop or Start > Programs > Cisco CRS Historical Reports.
Make sure to enable the secondary logon service on the workstation under Start > Settings > Control Panel > Administrative Tools > Services.
Note: The HRC uses the Windows secondary logon service. It uses this to run the software with the CiscoHistRptUsr when the agent or supervisor is logged into the PC with their own account. This is the service that gives you the Run As option when you right-click on executables.
If the SQL server authentication is set to Mixed mode, change it to Windows mode:
Login to the Server Operating System. Choose Start > Programs > Microsoft SQL Server > Enterprise Manager.
Choose Microsoft SQL Servers > SQL Server Group.
Right-click the CRSSQL server, and click Properties.
Go to the Security tab, and choose Windows Only under Authentication. Click OK.
Note: You can change the Authentication mode to Windows Only by changing the LoginMode to 1 under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\CRSSQL\MSSQLServer\LoginMode.
Note: For a High Availability (HA) setup, you need to change the authentication for both SQL severs under the SQL Server Group in the Enterprise Manager.
If you use MSDE, refer to Microsoft Knowledge Base Article for the procedure to change the authentication mode.
In order to open TCP port 4433 on the agent PC, either try to disable antivirus on any firewall or add and an exception for this port. Refer to Cisco Customer Response Solutions (CRS) Port Utilization Guide for more information.
The HRC user login fails with this error message:
Login Error An error occurred while attempting to communicate with web server. Check your userid and password and try again.
Complete these steps in order to resolve the issue:
Go to the AppAdmin page and choose Tools > Historical Reporting > User Configuration.
Select your first Historical Reporting user from the drop-down list, then click Next.
Choose IVR from the Installed (left) column and move it to the Selected (right) column. Select ICD Enhanced from the Installed (left) column and move it to the Selected (right) column.
Click Update.
Restart the Cisco Tomcat service.
This issue can happen if the username/password of the user for which the login failed contain any special character like underscore (_), ~, etc. If so, remove the special character from the username/password in order to resolve the issue.
This issue can also be caused by the proxy server settings in the Web browser. If the proxy server is configured on the PC’s Web browser, you need to disable the same in order to resolve the issue.
After a fresh installation of UCCX 4.0(4), this error is received when launching the Historical Reports Client:
An Exception Error occurred. Application exiting. Check the log file for error 5022
Perform these steps in order to resolve this error:
Uninstall the HRC from the client's machine.
Perform these steps in order to manually unregister the DLLs:
Click Start > Run > cmd.
Type C:\Windows\System32.
Issue these commands:
Exit the command prompt.
Delete the craxdrt.dll and crviewer.dll files from C:\Windows\System32.
Log in to the AppAdmin page. Go to Tools >Plug-in and install the HRC.
Perform these steps in order to manually register the DLLs:
Click Start > Run > cmd.
Type C:\Windows\System32.
Issue these commands:
HRC users are not able to launch HRC without admin privileges on the PC. When an HRC user attempts to login to HRC, it does not launch and the Unable to start error message is received.
Refer to either Cisco bug ID CSCto17789 (registered customers only) or CSCtn53212 (registered customers only) for a possible fix.
When trying to log in to the HRC client, this error message is recieved:
Unable to establish connection to database with the error 5051
Log in as the user of the PC, and complete these steps in order to resolve the issue:
In order to install the HRC, right-click the executable, select Run As, and select a Domain Administrator account (this is not necessary if logged in as the domain admin).
Complete the steps through the installer, and reboot the PC.
Log in as a domain admin, and set the user as a Power User through Windows Management.
Log out, and log in as the PC user.
Manually create two shortcuts on the desktop (one for the HRC and one for the HRC Scheduler):
The HRC executable is located in the c:\Program Files\Cisco UCCX Historical Reports directory. Right-click CiscoAppReports.exe, and send to the desktop.
The HRC Scheduler executable is located in the c:\Program Files\Cisco UCCX Historical Reports\Scheduler directory. Right-click ReportScheduler.exe, and send to the desktop.
Once the scheduler starts automatically, you can add it to the Start Up folder (c:\Documents and Settings\<username>\Start Menu\Programs\Startup) or just drag and drop to Start > All Programs > StartUp.
Revision | Publish Date | Comments |
---|---|---|
1.0 |
20-Jun-2012 |
Initial Release |