Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8930013
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T08:47:30+00:00 2026-06-15T08:47:30+00:00

We noticed that our application which uses netTcpBinding suddenly stopped working. After examining the

  • 0

We noticed that our application which uses netTcpBinding suddenly stopped working. After examining the event log on the server which hosts the service, I found the following warning (one of series of many):

Exception information:
Exception type: TimeoutException
Exception message: The open operation did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may
have been a portion of a longer timeout.

Server stack trace: at
System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan
timeout) at
System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan
timeout) at
System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan
timeout) at
System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan
timeout, CallOnceManager cascade) at
System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan
timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String
action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins,
Object[] outs, TimeSpan timeout) at
System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage
methodCall, ProxyOperationRuntime operation) at
System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage
message)

To fix the issue, I had to increase the size of maxReceivedMessageSize by 10, so my new binding looks like this:

>  <netTcpBinding>
>     <binding name="largeBufferNetTcpBinding" listenBacklog="100" maxBufferSize="519730000" maxConnections="100"
>              maxReceivedMessageSize="519730000" portSharingEnabled="true">
>       <readerQuotas maxArrayLength="519730000"/>
>       <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false"/>
>       <security>
>         <message clientCredentialType="Windows"/>
>       </security>
>     </binding>
>     <binding name="defaultNetTcpBinding" portSharingEnabled="true"/>
>     <binding name="defaultNetTcpMexBinding" portSharingEnabled="true">
>       <security mode="None"/>
>     </binding>      </netTcpBinding>

I don’t understand how the maxReceivedMessageSize is related to the TimeoutException shown above. What can I do to troubleshoot this further and make the service more reliable?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T08:47:31+00:00Added an answer on June 15, 2026 at 8:47 am

    Hard to tell exactly what’s going on in your client/service interaction based on the info in your question but here are some things to try:

    First, change everything that you set to 519730000 back to the default values except maxReceivedMessageSize which should be set to something in the range of 2 – 3 MB (start at 2097152 & increase until that message size exception goes away).

    If that doesn’t work, keep the same settings I’ve suggested but change the config to basicHttpBinding instead of netTcpBinding in both the service and client for this test. If this binding change works then it’s very likely you’re not properly disposing of the WCF client instances (ClientBase or channels from ChannelFactory). netTcpBinding depends on sessions and if the client instances aren’t disposed of correctly, your code isn’t releasing TCP resources efficiently on both the service & client. BTW: wrapping the client instance in using is not the right way either because of the funkiness of the WCF Dispose implementation.

    If the calls still have timeouts, then you’ve pretty much eliminated bad TCP & client configuration and you should focus on the code performance of the service implementation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While monitoring our application in Perf Mon I noticed that the % of Time
We have an ASP.NET application that uses Forms Auth. When users log in, a
While doing loadtesting on our application I noticed that if you use @Transactional and
We have a typical n-tier java application, and I noticed that our data access
We've noticed that when checking in updates, our .DFM files have added ExplicitWidth and
We host our own private NuGet Feed. I've noticed that when there are numerous
Just today I noticed on our Wordpress blog that the Facebook iframe is showing
I noticed that IE 9 does not support application cache. How can I use
We have a legacy VB6 application that uses Crystal Reports XI to generate printed
We have a .NET application which targets .NET 3.5. Our clients run it from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.