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

Announcements

No record found.

News and Announcements icon
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 :-)

  • Suggested answer
    Marco Mels Profile Picture
    Microsoft Employee 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 631 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 409 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 222 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans