Click here to Skip to main content
11,411,494 members (65,352 online)
Click here to Skip to main content

Tagged as

TFS Project creation error

, 24 Oct 2012 CPOL
Rate this:
Please Sign up or sign in to vote.
Error while creating a TFS project.


While creating a project in TFS some times people get the below error.

"Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host."




This error occurs because of insufficient cache size, you can add below code snippets in webconfig file to avoid this error. Basically using this code you can increase the cache size, e,g., maxdatasize="1024".

Code snippet:

      <source name="System.Net" tracemode="includehex" maxdatasize="1024">
          <add name="System.Net"/>
      <source name="System.Net.Sockets">
          <add name="System.Net"/>
      <source name="System.Net.Cache">
          <add name="System.Net"/>
      <add name="System.Net" value="Verbose"/>
      <add name="System.Net.Sockets" value="Verbose"/>
      <add name="System.Net.Cache" value="Verbose"/>
      <add name="System.Net"
    <trace autoflush="true"/>


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Amol Sagvekar
Software Developer (Senior)
India India
No Biography provided

Comments and Discussions

-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.150414.5 | Last Updated 24 Oct 2012
Article Copyright 2012 by Amol Sagvekar
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid