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.
Data is Null. This method or property cannot be called on Null values. (type SqlNullValueException)
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.
To resolve this issue, apply the following hotfix on the application tier of TFS 2010.
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:
Note 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.
To apply this hotfix, you must have TFS 2010 installed.
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.
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