web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Connection to SQL Server lost when adding Contacts to Segment Lines

(0) ShareShare
ReportReport
Posted on by 18

Hi folks,

we are running Business Central 19.5 in an On-Prem Environment and want to add Contacts to Segment Lines with the default Report ID 5198.
When executing the Report with a filter value which results in about more than 300.000 contacts that should be added to the segment lines the system comes up with a failure and the actions is rolled back.
The run-time of the report is about more than 24 hours, but we already customized the max runtime of an report in the administration to "MaxValue". In Windows Event Log there is an error coming up which says that the connection to the sql server was lost. After this error the roll-back is performed and the segment lines are empty. 

Does anyone have an idea what the problem could be? 

Another error which I found was that there is a problem with an arithemtic operation "The arithmetic operation has caused an overflow"....!

Thanks a lot for any hint :-)

I have the same question (0)
  • Suggested answer
    Marco Mels Profile Picture
    on at

    Hello,

    The segment probably cannot handle 300.000 contacts. Better to split these in multiple ones.

    Thank you.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,229

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,867 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,153 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans