Error: General ODBC Error: [Microsoft][ODBC SQL Server Driver][SQL Server]Arithmetic overflow error converting varchar to data type numeric. Native error:8115 [Microsoft][ODBC SQL Server Driver][SQL Server]The cursor was not declared. Native error:16945

When a user attempts to create a new batch, the following error message occurs:

General ODBC Error: [Microsoft][ODBC SQL Server Driver][SQL Server]Arithmetic overflow error converting varchar to data type numeric.
Native error:8115
[Microsoft][ODBC SQL Server Driver][SQL Server]The cursor was not declared.
Native error:16945

This occurs for multiple users on multiple workstations.
This occurs for new Gift batches, new Constituent batches, and, if RE:Volunteer module is present, new Time Sheet batches.
This error may occur if The Raiser's Edge is unable to validate a new batch number when creating a new batch. When creating a new batch and its batch number, The Raiser's Edge checks the next available number against previous numbers. This error arises based upon previous batch numbers used, especially if punctuation like slashes or periods, have been used.

To resolve this:
  1. In The Raiser's Edge, go to Config and click on Business Rules.
  2. Under Business Rules, click on Batch options and press Change Number.
  3. In the new window, enter a much higher number as a starting number, such as from 1 to 1000. Click OK.
  4. Return to Batch and press New Gift Batch.
  5. If error still occurs, repeat steps 1 - 4. Increase the batch starting number, such as 1000 to 2000 or 1000 to 10000, until a number is found where the errors no longer occur.

Environment

 7.93.5782, patch 4 ; 7.92.5508, patch 11 ; 7.92.5508, patch 6

Was this article helpful?


Thanks for your feedback! Did this solve your issue?

Comments (optional):


Thanks for your feedback!
We're glad it was helpful but sorry it didn’t solve your issue. If you need assistance, click Chat with Support below.
We’re sorry to hear that. Please tell us why.

 I don't like how this works.

 The answer is confusing.

 The answer didn't match what I was searching for.

Additional Comments (optional):


Thanks for your feedback! If you need assistance, click Chat with Support below.
Thanks for your feedback. Help us make our products even better by sharing details in our Idea Banks or our online Community.
Thanks for letting us know. We'll work on clarifying the information in the article. If you need assistance, click Chat with Support below.
Thanks for letting us know. We'll work on updating the search engine to return more relevant results.