Symptoms
Consider the following scenario:
-
You have two files in Microsoft Team Foundation Server 2008 (TFS 2008). For example, you have file A and file B. The earlier name of file B is same as the current name of file A.
-
You edit and check in the two files in the same changeset by using the source control in TFS 2008.
-
You upgrade the TFS 2008 server to TFS 2010.
-
You edit file A, and then you check it in.
-
A user tries to download the earlier version of file A.
In this scenario, the user may encounter one of the following issues:
-
If the user connects to TFS by using web access, a System.IO.IOException exception is thrown, and the user receives the following error message:
Unable to read data from the transport connection: The connection was closed.
-
If the user connects to TFS by using Team Explorer, the user receives the following error message:
The server returned content type text/html, which is not supported.
Cause
This issue occurs because a delta job on the TFS 2010 application tier server incorrectly marks a file. For example, the delta job should mark file A. However, the delta job marks file B instead. Therefore, an exception is thrown on the TFS 2010 application tier server, and the following exception message and stack trace are generated.
Exception MessageData is Null. This method or property cannot be called on Null values. (type SqlNullValueException)
Stack Trace
at System.Data.SqlClient.SqlBuffer.get_Int64()at Microsoft.TeamFoundation.VersionControl.Server.ItemComposition..ctor(SqlDataReader reader)at Microsoft.TeamFoundation.VersionControl.Server.ContentComponent.QueryFileContents(Int32 fileId)
This exception causes the issue that is described in the “Symptoms” section.
Resolution
To resolve this issue, apply the following hotfix on the application tier of TFS 2010.
Hotfix information
A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.
To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:http://support.microsoft.com/contactus/?ws=supportNote In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
Prerequisites
To apply this hotfix, you must have TFS 2010 installed.
Restart requirement
If the affected files are being used when you apply this hotfix, you may have to restart the computer after you apply the hotfix.
Hotfix replacement information
This hotfix does not replace any other hotfix.
File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
For all supported versions of Team Foundation Server 2008
File name |
File version |
File size |
Date |
Time |
Platform |
---|---|---|---|---|---|
Leviewer.exe |
10.0.30319.386 |
117,584 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.admin.dll |
10.0.30319.386 |
20,496,760 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.build.controls.dll |
10.0.30319.386 |
1,349,520 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.build.jobservice.extensions.dll |
10.0.30319.386 |
30,120 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.build.processcomponents.dll |
10.0.30319.386 |
62,880 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.build.server.dll |
10.0.30319.386 |
439,688 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.build.workflow.dll |
10.0.30319.386 |
651,152 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.common.dll |
10.0.30319.386 |
516,992 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.configuration.commands.dll |
10.0.30319.386 |
262,560 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.framework.server.dll |
10.0.30319.386 |
1,094,544 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.jobservice.extensions.core.dll |
10.0.30319.386 |
58,280 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.jobservice.labmanagerjobs.dll |
10.0.30319.386 |
91,048 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.lab.activities.dll |
10.0.30319.386 |
763,792 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.lab.controller.common.dll |
10.0.30319.386 |
236,448 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.lab.controller.virtualmachinemanagerinterface.dll |
10.0.30319.386 |
83,408 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.lab.execution.dll |
10.0.30319.386 |
757,128 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.lab.leviewer.dll |
10.0.30319.386 |
440,712 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.lab.servicing.dll |
10.0.30319.386 |
58,248 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.lab.testintegration.server.dll |
10.0.30319.386 |
145,832 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.lab.uiutils.dll |
10.0.30319.386 |
266,120 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.lab.workflow.activities.dll |
10.0.30319.386 |
436,640 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.lab.workflowintegration.server.dll |
10.0.30319.386 |
122,800 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.management.controls.dll |
10.0.30319.386 |
2,355,096 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.server.deploy.tfcollection.dll |
10.0.30319.386 |
534,440 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.testmanagement.activities.common.dll |
10.0.30319.386 |
307,128 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.testmanagement.activities.dll |
10.0.30319.386 |
1,509,288 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.testmanagement.activityruntime.dll |
10.0.30319.386 |
214,960 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.testmanagement.client.dll |
10.0.30319.386 |
597,408 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.testmanagement.client.wpfcontrols.dll |
10.0.30319.386 |
254,392 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.testmanagement.clientpackage.dll |
10.0.30319.386 |
72,624 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.testmanagement.common.dll |
10.0.30319.386 |
33,696 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.testmanagement.controller.dll |
10.0.30319.386 |
119,720 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.testmanagement.controls.dll |
10.0.30319.386 |
417,184 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.testmanagement.controls.wpfworkitemcontrols.dll |
10.0.30319.386 |
99,280 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.versioncontrol.client.dll |
10.0.30319.386 |
694,176 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.versioncontrol.common.dll |
10.0.30319.386 |
230,304 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.versioncontrol.controls.dll |
10.0.30319.386 |
4,435,872 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.versioncontrol.server.dll |
10.0.30319.386 |
614,816 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.webaccess.controls.dll |
10.0.30319.386 |
618,392 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.webaccess.server.dll |
10.0.30319.386 |
486,800 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.webaccess.workitemtracking.dll |
10.0.30319.386 |
382,376 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.workitemtracking.adapter.dll |
10.0.30319.386 |
284,576 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.teamfoundation.workitemtracking.server.dataaccesslayer.dll |
10.0.30319.386 |
587,720 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.visualstudio.qualitytools.common.dll |
10.0.30319.386 |
1,332,624 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.visualstudio.qualitytools.controllerobject.dll |
10.0.30319.386 |
273,832 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.visualstudio.qualitytools.executioncommon.dll |
10.0.30319.386 |
448,936 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.visualstudio.qualitytools.vsip.dll |
10.0.30319.386 |
349,072 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.visualstudio.testtools.datacollection.videorecorder.dll |
10.0.30319.386 |
60,352 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.visualstudio.testtools.manualtest.common.dll |
10.0.30319.386 |
810,408 |
07-Nov-2010 |
22:52 |
x86 |
Tfslabconfig.exe |
10.0.30319.386 |
113,496 |
07-Nov-2010 |
22:52 |
x86 |
Microsoft.VisualStudio.TestTools.DataCollection.VideoRecorder.dll.config |
Not applicable |
2,055 |
15-Oct-2010 |
14:20 |
Not applicable |
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.