supreme_good
Member
- Joined
- Sep 19, 2006
- Messages
- 12
- Programming Experience
- Beginner
Hello all. Thank you all in advance for any and all help with this issue. I have an application where there is a sub that creates a new datatable object. This line of code will randomly generate the following error;
**********************************************************
System.OverflowException: Arithmetic operation resulted in an overflow.
**********************************************************
I have absolutely no idea what or why this is occurring. This program simply queries a remote table and uploads the end result into a local Oracle DB. It is run using the windows task scheduler and has been in place for several months now without any issues. Over the last 48 to 72 hours this problem has gone from a once in a while annoyance to a full blown issue that prevents the app from completing it's instructions in full.
Here is the actual code causing the issue.
**********************************************************
**********************************************************
It would be very appreciated if someone could give me a clue why trying to create a datatable object is throwing me such a fit.
Thanks for your time,
supreme_good
**********************************************************
System.OverflowException: Arithmetic operation resulted in an overflow.
**********************************************************
I have absolutely no idea what or why this is occurring. This program simply queries a remote table and uploads the end result into a local Oracle DB. It is run using the windows task scheduler and has been in place for several months now without any issues. Over the last 48 to 72 hours this problem has gone from a once in a while annoyance to a full blown issue that prevents the app from completing it's instructions in full.
Here is the actual code causing the issue.
**********************************************************
VB.NET:
Sub DoArtemis()
Try
[COLOR="Red"][B]Dim oDataTable As New DataTable[/B][/COLOR] [B]--> THIS IS THE LINE CAUSING THE ERROR[/B]
Dim oProcess As New Process
Console.WriteLine("GETTING ARTEMIS DATA...")
Console.WriteLine("")
oDataTable = MyFunctions.GetODBCSQLServerData_TwoDay(0)
MyFunctions.FlushMemory()
...
It would be very appreciated if someone could give me a clue why trying to create a datatable object is throwing me such a fit.
Thanks for your time,
supreme_good