Some content on this site is available only to logged-in subscribers. Contact Us for information on becoming a subscriber.

InSource.Solutions | InSource Training | InSource Client Portal
InSource Solutions Logo
Log In Sign Up
InSource.Solutions InSource Training InSource Client Portal Log In Sign Up
  • Home
  • AVEVA InTouch
  • AVEVA InTouch Tech Notes

TN 1365 Arithmetic Error during full reimport of InTouch tags with Tag Importer Wizard

Last updated: March 6th, 2025

Description

  • Author: Kwame McDonald
  • Published: March 6th, 2025

Details:

Description

This article from InSource shows how to address the Arithmetic Error during full reimport of InTouch tags with Tag Importer Wizard.

  • Author: Kwame McDonald
  • Published: 5/17/2023
  • Applies to: Historian

Details

Goal 

After completing this how-to you will have successfully resolved the arithmetic error below.

Description:
Invalid Value.
The statement has been terminated.
Arithmetic overflow error for type int, value = 214748648.000000.
Changed database context to 'Holding'.

First Step 

Back up the Runtime and the Holding databases.

Second Step 

Execute the following SQL query:

USE Runtime

GO

UPDATE AnalogTag SET MaxEU = 2000000000

WHERE Tagname NOT LIKE 'Sys%'

AND MaxEU > 2000000000

UPDATE AnalogTag SET MinEU = -2000000000

WHERE Tagname NOT LIKE 'Sys%' AND MaxEU < -2000000000

Do the same for MaxRaw & MinRaw.

What's Next 

OR/AND

Change the data type from INT to BIGINT for the following columns in the intgDDEIOInfo table of the Holding database:

i_minValue

i_maxValue

diio_minRaw

diio_maxRaw

tag import calculation mistake
Give feedback about this article

Recommended articles

TN 1359 Insight OEE Configuration

Read More

TN 1361 InTouch WindowMaker crashes on startup

Read More
Support Icon

CONTACT SUPPORT

How to reach us

10800 Midlothian Turnpike Tpke, Suite 209, Richmond, VA 23235

1.877.INSOURCE

Technical Support - 1.888.691.3858

Contact Us

  • InSource Solutions
  • InSource Training
  • InSource Client Portal
  • Log In
InSource Solutions Logo

© 2025 InSource Solutions. All Rights Reserved.

Knowledge Base Software powered by Helpjuice

Expand