Error when running LMS reports from the UI
Problem
Click on Reports in the V3 UI
Error message received
Environment:
iQSonar 3.6r4, Datahub version 270
Windows 2008 server, with SQL 2012 Standard Edition SP3
Expected Behaviour:
For the reports to run with error
Actual Behaviour:
Error Server Error in '/iQSonar' Application.
Conversion failed when converting date and/or time from character string.
Solution
- To narrow down the issue you can run these LMS Scripts from the Database
Exec OracleLMSDetail_re
Exec OracleLMSOption_re
Exec OracleLMSOverview_re
Exec OracleLMSUser_re
Exec OracleLMSv$license_re
Exec OracleLMSv$session_re - Once you establish which Stored Procedures is causing the issue.
- From SQL Server Management Studio
Open the Database > Programmability > Stored Procedures - Locate the Stored Procedure > Right Click > Modify
- In this example OracleLMSOption_re the SET DATEFORMAT is dmy.
- As a workaround you can comment out SET DATEFORMAT dmy
- Click Reports in the UI
Related articles