{"id":5547,"date":"2021-11-09T08:35:39","date_gmt":"2021-11-09T07:35:39","guid":{"rendered":"https:\/\/solidt.eu\/site\/?p=5547"},"modified":"2024-04-25T08:16:56","modified_gmt":"2024-04-25T07:16:56","slug":"arithmetic-operation-resulted-in-an-overflow","status":"publish","type":"post","link":"https:\/\/solidt.eu\/site\/arithmetic-operation-resulted-in-an-overflow\/","title":{"rendered":"Arithmetic operation resulted in an overflow"},"content":{"rendered":"\n<div style=\"height: 250px; position:relative; margin-bottom: 50px;\" class=\"wp-block-simple-code-block-ace\"><pre class=\"wp-block-simple-code-block-ace\" style=\"position:absolute;top:0;right:0;bottom:0;left:0\" data-mode=\"plain_text\" data-theme=\"monokai\" data-fontsize=\"14\" data-lines=\"Infinity\" data-showlines=\"true\" data-copy=\"false\">at System.Data.Odbc.SQLLEN.op_Implicit(SQLLEN value)\n   at System.Data.Odbc.OdbcDataReader.FirstResult()\n   at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod)\n   at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader)\n   at System.Data.Odbc.OdbcCommand.ExecuteNonQuery()\n   at As400Adapter.Repositories.Base.AS400BaseRepository`1.RunStatement(DataConnection c, String sql) in C:\\TFSAgents\\WEB-Agent-2\\_work\\48\\s\\As400Adapter\\Repositories\\Base\\AS400BaseRepository.cs:line 179\n   at As400Adapter.Repositories.Base.AS400BaseRepository`1.ExecuteCallWithSingleInputAndOutputParam[TResult](String callName, String callParamsAsString) in C:\\TFSAgents\\WEB-Agent-2\\_work\\48\\s\\As400Adapter\\Repositories\\Base\\AS400BaseRepository.cs:line 148\n   at As400Adapter.Repositories.WorkOrderInputLineRepository.GetInputLinesForWorkOrder(String workOrderId) in C:\\TFSAgents\\WEB-Agent-2\\_work\\48\\s\\As400Adapter\\Repositories\\WorkOrderInputLineRepository.cs:line 44\n   at WebApi.Controllers.WorkOrderController.GetWorkOrder(String workOrderId) in C:\\TFSAgents\\WEB-Agent-2\\_work\\48\\s\\WebApi\\Controllers\\WorkOrderController.cs:line 45\n   at lambda_method215(Closure , Object )\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.&lt;InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.&lt;InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State&amp; next, Scope&amp; scope, Object&amp; state, Boolean&amp; isCompleted)\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()\n--- End of stack trace from previous location ---\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.&lt;InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)<\/pre><\/div>\n\n\n\n<p><a href=\"https:\/\/stackoverflow.com\/a\/37388198\">https:\/\/stackoverflow.com\/a\/37388198<\/a><\/p>\n\n\n\n<p><strong>Cause: Old iSeries driver!<\/strong><\/p>\n\n\n\n<p>Download latest driver from IBM, named &#8216;<span style=\"text-decoration: underline;\">IBMiAccess_v1r1_WindowsAP_English.zip<\/span>&#8216;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/stackoverflow.com\/a\/37388198 Cause: Old iSeries driver! Download latest driver from IBM, named &#8216;IBMiAccess_v1r1_WindowsAP_English.zip&#8216;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5547","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts\/5547","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/comments?post=5547"}],"version-history":[{"count":3,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts\/5547\/revisions"}],"predecessor-version":[{"id":5600,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts\/5547\/revisions\/5600"}],"wp:attachment":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/media?parent=5547"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/categories?post=5547"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/tags?post=5547"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}