Hello Everyone ,
I hope this email finds you well.
I am writing to report an urgent issue that we have encountered in our Ignition application(8.1.35), which is severely impacting our production applications.
Problem Description: While running a script in our Ignition application, we are encountering difficulties in inserting values into our MSSQL database. The following error message is observed:
([default]Tags/OEE/Enterprise/BG4/Plant1/Line1/Machine1/OEE/OEE_Trigger, valueChanged) Error executing tag event script:
Traceback (most recent call last):
File "tagevent:valueChanged", line 58, in valueChanged
at com.inductiveautomation.ignition.common.script.builtin.AbstractDBUtilities.error(AbstractDBUtilities.java:392)
at com.inductiveautomation.ignition.common.script.builtin.AbstractDBUtilities.runPrepUpdate(AbstractDBUtilities.java:268)
at jdk.internal.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
java.lang.Exception: java.lang.Exception: Error executing system.db.runPrepUpdate(INSERT INTO OEE_Data (En, Bg, Plant, Line, Machine, Sam_Start_Time, Sam_end_Time, StopTime, run_time, Off_time, Handling_time, Maching_Time, Partid, total_Count, Rejection, Good_Count, Operating_Time, Operator, idle_Cycle_time, CTE, CTH, CTL, Shift, Hour, downTime, Recess, Datetime_Hour, Shifttime, Shift_Hour) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?), [1, 4, 1, 1, 1, 2024-06-07 15:02:46.873, 2024-06-07 16:03:41.51, 0, 3334, 0, 150, 1186, 2, 4, 0, 4, 5379, 2, 1681, 0, 0, 4, Shift2, 16-17, 2045, 0, 2024-06-07 16:00:00, 510, 2024-06-07 15:00:00.000], DBA1, , false, false)
This error occurs frequently and affects the functionality of our application. It appears to be related to a database update/insert operation in our OEE_Data
table.
Steps Taken: We have attempted to troubleshoot the issue internally but have been unable to identify a root cause or implement a resolution. We have verified that the database connection is active and that there are no apparent network or configuration issues. Additionally, we have observed that both CPU and database (DB) usage on our system are consistently at 100%, indicating that our resources are heavily overloaded. As a result, we are encountering difficulties in inserting queries into our MSSQL database.
Request for Urgent Assistance: Given the critical nature of this issue and its impact on our operations, we urgently require your assistance in investigating and resolving this matter. We kindly request your immediate attention to this issue and any guidance or support you can provide to help us resolve it as quickly as possible.
Additional Information:
Ignition Version: 8.1.35
MSSQL Database Version: Microsoft SQL Server 2019
Database Connection Details: Database Connection name is DBA1
I have attached Gateway logs for your reference. Please let us know if you require any further information or assistance from our end. We are available to provide additional details or collaborate with your team to address this issue urgently.
PFA mail id : ar.ramya@ranegroup.com
Thank you for your prompt attention to this matter.