IT Community - Software Programming, Web Development and Technical Support

TFS check-in problem

This is a discussion on TFS check-in problem within the ASP and ASP.NET Programming forums, part of the Web Development category; We have a frustrating problem in that we can only check in single files at a time without getting an ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > ASP and ASP.NET Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 08-06-2007, 11:11 AM
arjkhanna arjkhanna is offline
D-Web Genius
 
Join Date: Mar 2007
Posts: 1,031
arjkhanna is on a distinguished road
Default TFS check-in problem

We have a frustrating problem in that we can only check in single files at a time without getting an error that the underlying connection was closed. Every once in a while we get lucky and can check in multiple files but, for the most part cannot. I have enabled verbose logging and have captured this



4/26/2007 4:26:56 PM (pid 7888, tid 1184, 469593 ms) Recorded m_exception in UpDownAsyncResult.Completed(): Microsoft.TeamFoundation.VersionControl.Client.Ver sionControlException: C:\Code\Hydra\Hydra\HydraConfiguration\Debug\CUCor p.Hydra.BusinessEntity.DAC.config: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. ---> System.Net.WebException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.TeamFoundation.VersionControl.Client.Fil eUploader.UploadChunk(FileStream fileContentStream, Int64 end)
--- End of inner exception stack trace ---
at Microsoft.TeamFoundation.VersionControl.Client.Fil eUploader.UploadChunk(FileStream fileContentStream, Int64 end)
at Microsoft.TeamFoundation.VersionControl.Client.Fil eUploader.UploadContent()



The TFS server is not showing any errors. The network admins don't believe it's a network issue. I enabled Windows firewall logging and see connection drops (?) over 8080 to the server





Anyone run into a problem like this before?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-09-2007, 10:59 AM
nnraja nnraja is offline
D-Web Programmer
 
Join Date: May 2007
Posts: 94
nnraja is on a distinguished road
Default Re: TFS check-in problem

Does the TFS Server have plenty of resources? I've never seen this, but I've seen something similar when the ASP_NET worker process is receycling very frequently due to memory etc being low on the TFS AT (usually when running the server in an underpowered virtualised environment)

Also, are you sure that your connection is not being proxied by some network device, firewall or NAT?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-09-2007, 12:42 PM
arjkhanna arjkhanna is offline
D-Web Genius
 
Join Date: Mar 2007
Posts: 1,031
arjkhanna is on a distinguished road
Default Re: TFS check-in problem

The server is a dual Xeon processor (3GHz) and has 1GB of RAM. It's running Windows 2003 Server Standard Edition and is at SP1. It has McAfee VirusScan Enterprise 7.1.0. Our workstations are running McAfee VirusScan Enterprise version 8.5.0i. I disabled the On-Access Scan before and was able to check in several files but, a co-worker tried the same steps and got the same connection closed error.

The worker processes are set to recycle every 1740 minutes.

TFS is the full RTM version (8.0.50727.147) and wasn't migrated from a pre-release version.

I've verified that I have the latest drivers for the network card in my computer. The only protocols enabled for the network connection are Client for Microsoft Networks and Internet Protocol.
__________________
A.Rajesh Khanna
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 08-09-2007, 12:45 PM
JSureshkumar JSureshkumar is offline
D-Web Sr.Programmer
 
Join Date: Feb 2007
Location: in someone's heart
Posts: 139
JSureshkumar is on a distinguished road
Send a message via Skype™ to JSureshkumar
Default Re: TFS check-in problem

Hello ArjKhanna,

Some other users said that the disable of the real time protection of McAfee does not work.

They said that they uninstall it. then it works ok. But I am not sure.

Good luck.
best regards
__________________
J Suresh Kumar
Google Hacks
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 08-09-2007, 12:47 PM
arjkhanna arjkhanna is offline
D-Web Genius
 
Join Date: Mar 2007
Posts: 1,031
arjkhanna is on a distinguished road
Default Re: TFS check-in problem

We thought we made some progress because we were error free for a couple of days after performing the following:

1) Updated the driver on our NICs to the latest version.

2) Created exceptions on port 8080 for TCP and UDP in the Microsoft firewall (we allow exceptions)

3) Took the items of the connection property down to Client for Microsoft Networks and Internet Protocol.

Went to check in two items to TFS and got the connection error again.

8/6/2007 10:52:37 AM (pid 5588, tid 828, 8473187 ms) Recorded m_exception in UpDownAsyncResult.Completed(): Microsoft.TeamFoundation.VersionControl.Client.Ver sionControlException: C:\Code\Hydra\Hydra\HydraStoredProcedures\Tables\C reate Tables\CreateCUCorpFilesTables.sql: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. ---> System.Net.WebException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.TeamFoundation.VersionControl.Client.Fil eUploader.UploadChunk(FileStream fileContentStream, Int64 end)
--- End of inner exception stack trace ---
at Microsoft.TeamFoundation.VersionControl.Client.Fil eUploader.UploadChunk(FileStream fileContentStream, Int64 end)
at Microsoft.TeamFoundation.VersionControl.Client.Fil eUploader.UploadContent()
__________________
A.Rajesh Khanna
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 08-09-2007, 01:06 PM
shaalini shaalini is offline
D-Web Analyst
 
Join Date: Apr 2007
Posts: 342
shaalini is on a distinguished road
Default Re: TFS check-in problem

I am also having this issue. We have about 4 developers using TFS and they get the dropped connection problems also. So any help you can provide would be appreciated. We are running 8.0.50727.142
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 08-09-2007, 01:08 PM
arjkhanna arjkhanna is offline
D-Web Genius
 
Join Date: Mar 2007
Posts: 1,031
arjkhanna is on a distinguished road
Default Re: TFS check-in problem

Any ideas NNRaja

Thanks
__________________
A.Rajesh Khanna
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 08-09-2007, 01:10 PM
bluesky bluesky is offline
D-Web Analyst
 
Join Date: Jun 2007
Posts: 201
bluesky is on a distinguished road
Default Re: TFS check-in problem

I'm having this "underlying connection being closed" problem too. I am accessing TFS externally using https through a reverse web proxy.

First I tested from inside our network with the reverse web proxy configured as the TFS server. It didn't seem to have this trouble. Now I am at home with the same client machine (a laptop) and I get this problem. It isn't possible to interact well with TFS due to the error. My connection is on a FIOS network (15 mbps downlink, 2 mbps uplink), so I don't think bandwidth is the issue.

This is a really big problem because our company uses offshore teams, and we want them to user our TFS server. This is probably a use case scenario that gets more frequent all the time...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 08-09-2007, 01:11 PM
theone theone is offline
D-Web Sr.Programmer
 
Join Date: Jun 2007
Posts: 129
theone is on a distinguished road
Default Re: TFS check-in problem

We are also seeing this issue.

"The underlying connection was closed: A connection that was expected to be kept alive was closed by the server". It's an intermittent issue and re-trying the operation will occasionally let us connect. It seems to be more common when trying file operations on multiple files rather than individual ones. Has anyone arrived at a solution for this?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 08-16-2007, 09:06 AM
H2o H2o is offline
D-Web Analyst
 
Join Date: Jul 2007
Posts: 246
H2o is on a distinguished road
Default Re: TFS check-in problem

Hi

TFS is support for Reporting service.. actually i cant use reporting service, pls help me..



Thanks
__________________
H2O

Without us, no one can survive..
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you check if a date is valid? itbarota HTML, CSS and Javascript Coding Techniques 4 12-30-2007 10:21 PM
check points simplesabita Testing Tools 1 08-22-2007 03:10 AM
How may Check points available in QTP with Example? sundarraja Testing Tools 1 08-14-2007 04:10 AM
Web content check tripnautic HTML, CSS and Javascript Coding Techniques 2 05-01-2007 05:56 AM
How to check the URL testing? vadivelanvaidyanathan Software Testing 2 04-13-2007 03:58 AM


All times are GMT -7. The time now is 12:03 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0