Original Message:
Sent: Tue April 30, 2024 09:50 AM
From: Oktawian Powązka
Subject: Conversion failed when converting datetime from binary/varbinary string.
Hello Jan,
A blind guess would be that database collation or SQL Server user's locale/language is incorrect.
One of the SQL Server requirements is that user's default language is set to 'English'.
Anyhow, let's check some basic stuff :
SELECT name, collation_name FROM sys.databases WHERE name like '%temadb%'
DBCC USEROPTIONS
SELECT GETDATE()
At last,
Please don't change the database.yml / server.xml files directly as such activities are used to be error prone.
That script will take care of of all underlying connection details...
------------------------------
Thank you,
Oktawian
Oktawian Powązka, L3 Support
IBM License Metric Tool
Original Message:
Sent: Tue April 30, 2024 05:50 AM
From: JAN FLEGR
Subject: Conversion failed when converting datetime from binary/varbinary string.
My customer has migrated the TEMADB from one remote DB instance to other remote instance. We changed both database.yml and server.xml to reflect the new database server and new port. After ILMT restart the ILMT application is not comming up, and the tema.log file is reporting:
com.ibm.ws.webcontainer.webapp I
SRVE0292I: Servlet Message - [tema]:.[ERROR] An error occurred while executing the periodic task updating BigFix server action statuses
(the task will be re-tried per its schedule):
DBNAME: TEMADB - Java::ComMicrosoftSqlserverJdbc::SQLServerException:
An error occurred during the current command (Done status 0).
Conversion failed when converting datetime from binary/varbinary string.
The database collation remains the same.
BigFix part works normally, no issues here.
Any idea what went wrong and where to fix this problem ?
The full tema.log is attached.
------------------------------
JAN FLEGR
------------------------------