Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Answered

The socket connection has been disposed. Object name: 'System.ServiceModel.Channels.SocketConnection'.

Posted on by Microsoft Employee

When I run a report that need SSRS processing more than 10 minutes in AX 2012 R3 CU12, I get this kind of error :

The socket connection has been disposed. Object name: 'System.ServiceModel.Channels.SocketConnection'.

Error-_2D00_-202101001.png

In the SSRS Log, I found this error :

Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot read the next data row for the dataset xxx_LedgerTransListAccountDS. ---> System.InvalidOperationException: An exception occurred in the query metadata execution. The exception is The socket connection has been disposed.. ---> System.ServiceModel.CommunicationObjectAbortedException: The socket connection has been disposed. ---> System.IO.IOException: The read operation failed, see inner exception. ---> System.ServiceModel.CommunicationObjectAbortedException: The socket connection has been disposed. ---> System.ObjectDisposedException: The socket connection has been disposed.

I already tried to change all kind of timeout that AX, SSRS, and database have, but I still get that error.

Has anyone has experience this kind of issue and have solution for this ?

Categories:
  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: The socket connection has been disposed. Object name: 'System.ServiceModel.Channels.SocketConnection'.

    Thank you Martin. I miss configuration in AX Server side.

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 225,672 Super User on at
    RE: The socket connection has been disposed. Object name: 'System.ServiceModel.Channels.SocketConnection'.

    Check out AX 2012 documentation: Tips to help prevent long-running reports from timing out.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,420 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,672 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans