none
KB2643415 does not apply, or is blocked by another condition on your computer

    Question

  • Hi,

    We have TFS 2010 Version : 10.0.40219.1 (SP1 KB2182621) and trying to update the Cumulative updates to the same application server however I get "KB2643415 does not apply, or is blocked by another condition on your computer" while installing it, please help me install Cumulative updates TFS 2010 and help me identify the reason for "KB2643415 does not apply, or is blocked by another condition on your computer" message ?

    Thanks & Regards

    Sunday, January 12, 2014 5:38 AM

All replies

  • Hi,

    Thanks for your post.

    Another community member met the same error and found that the root cause was KB2182621 not installed. See: http://social.msdn.microsoft.com/Forums/en-US/51c80f92-1089-4773-af2c-b194abe3ac2a/can-not-config-app-tier-for-a-server-with-kb2643415-installed?forum=tfsgeneral

    We recommend that you double check the KB2182621 has been installed, and close all instances of Microsoft Visual Studio before you install this cumulative update. See: http://support.microsoft.com/kb/2643415/en-us


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, January 13, 2014 8:33 AM
    Moderator
  • Hi,

    The KB2182621 shows up on the TFS 2010 Admin Console so i believe it is installed. one more reason i want to believe that it is installed is that when i restored the Backup on a different Server, i was getting the Service pack mismatch message then i had to install TFS 2010 SP1 which made the restore work.

    I did the same on our QA environment which installed the Cumulative updates with no problems.

    Just wanted to share the above information which might help in investigating the problem.

    Thanks & Regards

    Monday, January 13, 2014 9:34 AM
  • Hi Chunmun1,

    Thanks for your reply.

    Do you mean you could install this CU in your QA environment? How about your real machine? Since you confirmed you have KB2182621 installed, would you close all instances of Microsoft Visual Studio before you install this cumulative update?


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, January 14, 2014 8:46 AM
    Moderator
  • Hi Cece,

    Thanks for you reply. Yes before applying the patch in the Production machine i applied it successfully on the QA however on the Production it does not apply even after closing all the MS Visual Studio instances.

    Thanks & Regards

    Tuesday, January 14, 2014 9:23 AM
  • Hi Chunmun1,

    Please try to clean the %temp% folder, then exit anti-virus software, run the CU as administrator to try one more time.

    If still can't install the CU, please go to the %temp% folder to check the log, and also please check the Event Viewer to see if there is anything useful. Post the logs here.

    It's hard for us to find out the root cause without logs.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, January 15, 2014 7:25 AM
    Moderator
  • HI Cece,

    Thanks for your reply.

    When i go to %temp% (AppData\Local\Temp\2) nothing is there in the folder. 

    The event viewer shows one repetitive error i.e. as follows:

    Log Name:      Application

    Source:        TFS Sync Service

    Date:          1/15/2014 10:12:05 AM

    Event ID:      9000

    Task Category: None

    Level:         Error

    Keywords:      Classic

    User:          N/A

    Computer:    Server Name

    Description:

    TF53010: The following error has occurred in a Team Foundation component or extension:

    Date (UTC): 1/15/2014 10:12:05 AM

    Machine:

    Application Domain: TfsJobAgent.exe

    Assembly: Microsoft.TeamFoundation.Framework.Server, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727

    Service Host:

    Process Details:

      Process Name: TFSJobAgent

      Process Id: 2808

      Thread Id: 7336

      Account name: Service Account

    Detailed Message: Microsoft.TeamFoundation.Sync.ProjectServerAPI.ProjectServerException: System.Web.Services.Protocols.SoapException: <PSIEXTENSIONERROR>|Error_GeneralServerErrorSql|Transaction (Process ID 88) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

       at Microsoft.TeamFoundation.Sync.PSLibrary.ExceptionHelper.ThrowException(String errorMessage, String faultCode)

       at Microsoft.TeamFoundation.Sync.PsiExtension.ProjectServerQuery.HandleSqlException(SqlException sqlException)

       at Microsoft.TeamFoundation.Sync.PsiExtension.ProjectServerQuery.ExecuteQuery(String queryString)

       at Microsoft.TeamFoundation.Sync.PsiExtension.ProjectChangesQuery.ReadProjectChanges(Guid[] projectIds, Int32[] projectRevisions, Int32[] projectRevisionRanks, QueryFieldInfo queryFieldInfo, String syncToTfsField, String activeTfsAssignmentField, Int32 projectServerVersion)

       at Microsoft.TeamFoundation.Sync.PsiExtension.TfsPsiExtension.ReadProjectChanges(Guid[] projectIds, Int32[] projectRevisions, Int32[] projectRevisionRanks, QueryFieldInfo queryFieldInfo, String syncToTfsField, String activeTfsAssignmentField) ---> System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: <PSIEXTENSIONERROR>|Error_GeneralServerErrorSql|Transaction (Process ID 88) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

       at Microsoft.TeamFoundation.Sync.PSLibrary.ExceptionHelper.ThrowException(String errorMessage, String faultCode)

       at Microsoft.TeamFoundation.Sync.PsiExtension.ProjectServerQuery.HandleSqlException(SqlException sqlException)

       at Microsoft.TeamFoundation.Sync.PsiExtension.ProjectServerQuery.ExecuteQuery(String queryString)

       at Microsoft.TeamFoundation.Sync.PsiExtension.ProjectChangesQuery.ReadProjectChanges(Guid[] projectIds, Int32[] projectRevisions, Int32[] projectRevisionRanks, QueryFieldInfo queryFieldInfo, String syncToTfsField, String activeTfsAssignmentField, Int32 projectServerVersion)

       at Microsoft.TeamFoundation.Sync.PsiExtension.TfsPsiExtension.ReadProjectChanges(Guid[] projectIds, Int32[] projectRevisions, Int32[] projectRevisionRanks, QueryFieldInfo queryFieldInfo, String syncToTfsField, String activeTfsAssignmentField)

       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)

       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)

       at Microsoft.TeamFoundation.Sync.ProjectServerAPI.TfsPsiExtensionAPI.TfsPsiExtension.ReadProjectChanges(Guid[] projectIds, Int32[] projectRevisions, Int32[] projectRevisionRanks, QueryFieldInfo queryFieldInfo, String syncToTfsField, String activeTfsAssignmentField)

       at Microsoft.TeamFoundation.Sync.Services.PsiExtensionService.ReadProjectChanges(Guid[] projectIds, Int32[] projectRevisions, Int32[] projectRevisionRanks, QueryFieldInfo queryFieldInfo, String syncToTfsField, String activeTfsAssignment)

       --- End of inner exception stack trace ---

       at Microsoft.TeamFoundation.Sync.Services.PsiExtensionService.ThrowProjectServerException(SoapException ex)

       at Microsoft.TeamFoundation.Sync.Services.PsiExtensionService.ReadProjectChanges(Guid[] projectIds, Int32[] projectRevisions, Int32[] projectRevisionRanks, QueryFieldInfo queryFieldInfo, String syncToTfsField, String activeTfsAssignment)

       at Microsoft.TeamFoundation.Sync.ProjectServer.Providers.ProjectChangeBatchBuilder.ReadProjectChanges()

       at Microsoft.TeamFoundation.Sync.ProjectServer.Providers.ProjectChangeBatchBuilder.ResetProjectChangesBatch()

       at Microsoft.TeamFoundation.Sync.ProjectServer.Providers.ProjectChangeBatchBuilder.InitializeServices(ServiceContext serviceContext)

       at Microsoft.TeamFoundation.Sync.ProjectServer.Providers.ProjectServerProjectPlanProvider.GetSyncChangeBatch(UInt32 batchSize, ChangeLog`1 destinationKnowledge, ISourceDataProvider& sourceDataProvider, IProcessingFeedback& processingFeedback)

       at Microsoft.TeamFoundation.Sync.Services.ServiceContextSyncProvider`1.GetChangeBatch(UInt32 batchSize, Object destinationKnowledge, ISourceDataProvider& sourceDataProvider, IProcessingFeedback& processingFeedback)

       at Microsoft.TeamFoundation.Sync.Framework.SyncOrchestrator.Sync()

       at Microsoft.TeamFoundation.Sync.Session.ProjectSyncExecutor.ExecuteSerial(IEnumerable`1 syncOrchestrators)

       at Microsoft.TeamFoundation.Sync.JobExtension.JobServicePlugin.Run(TeamFoundationRequestContext requestContext, TeamFoundationJobDefinition jobDefinition, DateTime jobQueueTime, String& resultMessage)

    Event Xml:

    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

      <System>

        <Provider Name="TFS Sync Service" />

        <EventID Qualifiers="0">9000</EventID>

        <Level>2</Level>

        <Task>0</Task>

        <Keywords>0x80000000000000</Keywords>

        <TimeCreated SystemTime="2014-01-15T10:12:05.000000000Z" />

        <EventRecordID>5254896</EventRecordID>

        <Channel>Application</Channel>

        <Computer>.na.uis.domain.com</Computer>

        <Security />

      </System>

      <EventData>

        <Data>TF53010: The following error has occurred in a Team Foundation component or extension:

    Date (UTC): 1/15/2014 10:12:05 AM

    Machine:

    Application Domain: TfsJobAgent.exe

    Assembly: Microsoft.TeamFoundation.Framework.Server, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727

    Service Host:

    Process Details:

      Process Name: TFSJobAgent

      Process Id: 2808

      Thread Id: 7336

      Account name: Service account

    Detailed Message: Microsoft.TeamFoundation.Sync.ProjectServerAPI.ProjectServerException: System.Web.Services.Protocols.SoapException: &lt;PSIEXTENSIONERROR&gt;|Error_GeneralServerErrorSql|Transaction (Process ID 88) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

       at Microsoft.TeamFoundation.Sync.PSLibrary.ExceptionHelper.ThrowException(String errorMessage, String faultCode)

       at Microsoft.TeamFoundation.Sync.PsiExtension.ProjectServerQuery.HandleSqlException(SqlException sqlException)

       at Microsoft.TeamFoundation.Sync.PsiExtension.ProjectServerQuery.ExecuteQuery(String queryString)

       at Microsoft.TeamFoundation.Sync.PsiExtension.ProjectChangesQuery.ReadProjectChanges(Guid[] projectIds, Int32[] projectRevisions, Int32[] projectRevisionRanks, QueryFieldInfo queryFieldInfo, String syncToTfsField, String activeTfsAssignmentField, Int32 projectServerVersion)

       at Microsoft.TeamFoundation.Sync.PsiExtension.TfsPsiExtension.ReadProjectChanges(Guid[] projectIds, Int32[] projectRevisions, Int32[] projectRevisionRanks, QueryFieldInfo queryFieldInfo, String syncToTfsField, String activeTfsAssignmentField) ---&gt; System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: &lt;PSIEXTENSIONERROR&gt;|Error_GeneralServerErrorSql|Transaction (Process ID 88) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

       at Microsoft.TeamFoundation.Sync.PSLibrary.ExceptionHelper.ThrowException(String errorMessage, String faultCode)

       at Microsoft.TeamFoundation.Sync.PsiExtension.ProjectServerQuery.HandleSqlException(SqlException sqlException)

       at Microsoft.TeamFoundation.Sync.PsiExtension.ProjectServerQuery.ExecuteQuery(String queryString)

       at Microsoft.TeamFoundation.Sync.PsiExtension.ProjectChangesQuery.ReadProjectChanges(Guid[] projectIds, Int32[] projectRevisions, Int32[] projectRevisionRanks, QueryFieldInfo queryFieldInfo, String syncToTfsField, String activeTfsAssignmentField, Int32 projectServerVersion)

       at Microsoft.TeamFoundation.Sync.PsiExtension.TfsPsiExtension.ReadProjectChanges(Guid[] projectIds, Int32[] projectRevisions, Int32[] projectRevisionRanks, QueryFieldInfo queryFieldInfo, String syncToTfsField, String activeTfsAssignmentField)

       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)

       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)

       at Microsoft.TeamFoundation.Sync.ProjectServerAPI.TfsPsiExtensionAPI.TfsPsiExtension.ReadProjectChanges(Guid[] projectIds, Int32[] projectRevisions, Int32[] projectRevisionRanks, QueryFieldInfo queryFieldInfo, String syncToTfsField, String activeTfsAssignmentField)

       at Microsoft.TeamFoundation.Sync.Services.PsiExtensionService.ReadProjectChanges(Guid[] projectIds, Int32[] projectRevisions, Int32[] projectRevisionRanks, QueryFieldInfo queryFieldInfo, String syncToTfsField, String activeTfsAssignment)

       --- End of inner exception stack trace ---

       at Microsoft.TeamFoundation.Sync.Services.PsiExtensionService.ThrowProjectServerException(SoapException ex)

       at Microsoft.TeamFoundation.Sync.Services.PsiExtensionService.ReadProjectChanges(Guid[] projectIds, Int32[] projectRevisions, Int32[] projectRevisionRanks, QueryFieldInfo queryFieldInfo, String syncToTfsField, String activeTfsAssignment)

       at Microsoft.TeamFoundation.Sync.ProjectServer.Providers.ProjectChangeBatchBuilder.ReadProjectChanges()

       at Microsoft.TeamFoundation.Sync.ProjectServer.Providers.ProjectChangeBatchBuilder.ResetProjectChangesBatch()

       at Microsoft.TeamFoundation.Sync.ProjectServer.Providers.ProjectChangeBatchBuilder.InitializeServices(ServiceContext serviceContext)

       at Microsoft.TeamFoundation.Sync.ProjectServer.Providers.ProjectServerProjectPlanProvider.GetSyncChangeBatch(UInt32 batchSize, ChangeLog`1 destinationKnowledge, ISourceDataProvider&amp; sourceDataProvider, IProcessingFeedback&amp; processingFeedback)

       at Microsoft.TeamFoundation.Sync.Services.ServiceContextSyncProvider`1.GetChangeBatch(UInt32 batchSize, Object destinationKnowledge, ISourceDataProvider&amp; sourceDataProvider, IProcessingFeedback&amp; processingFeedback)

       at Microsoft.TeamFoundation.Sync.Framework.SyncOrchestrator.Sync()

       at Microsoft.TeamFoundation.Sync.Session.ProjectSyncExecutor.ExecuteSerial(IEnumerable`1 syncOrchestrators)

       at Microsoft.TeamFoundation.Sync.JobExtension.JobServicePlugin.Run(TeamFoundationRequestContext requestContext, TeamFoundationJobDefinition jobDefinition, DateTime jobQueueTime, String&amp; resultMessage)</Data>

      </EventData>

    </Event>

    Thanks & Regards

    Wednesday, January 15, 2014 11:46 AM
  • Hi,

    It seems that the error is related to Project Server, do you have a project server integrated to TFS?

    How about your QA environment? Was your product environment the same as the QA environment?


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, January 16, 2014 8:23 AM
    Moderator
  • Hi,

    Yes the QA and Production are same and both of them are integrated to Project server.

    Thanks & Regards

    Thursday, January 16, 2014 4:31 PM
  • Hi,

    I'm going to report this issue to our senior engineer, maybe they could help you.

    There might be some time delay.

    Appreciate your patience.

    Best regards.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, January 17, 2014 6:31 AM
    Moderator
  • Hi,

    The error message you provide is "Microsoft.TeamFoundation.Sync.ProjectServerAPI.ProjectServerException: was deadlocked on lock resources with another process System.Web.Services.Protocols.SoapException: <PSIEXTENSIONERROR>|Error_GeneralServerErrorSql|Transaction (Process ID 88) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction"

    Under certain load conditions, multiple errors and deadlock conditions may be reported in the Windows event log and in the synchronization messages. You do not need take actions to fix it. See this MSDN article about know issues when integrate Project Server with TFS.

    Also, the error message you provide is not the KB2643415 installation log information. Please post here the installation log.

    In addtion, please also try repairing TFS2010 and TFS2010 SP1 from the Control Panel, then reinstall KB2643415 to see whether you still get the same error.

    Thanks.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, January 17, 2014 7:52 AM
    Moderator
  • Hi Vivky,

    As this is a Production environment we cant take chances ,is there a safe way to diagnose the problem ?

    Thanks  

    Monday, January 27, 2014 12:18 PM
  • Hi,

    Could you please share the installation log for this KB? You can find under temp(%temp%) folder.

    Thanks,

    Chandra

    Wednesday, February 05, 2014 2:29 PM
  • Hi Chandra,

    Sorry for the late response please see below for the KB log:

    [2/12/2014, 16:24:51]OS Version = 6.1.7600, Platform 2
    [2/12/2014, 16:24:51]OS Description = Win2K8R2 - x64 Enterprise Edition
    [2/12/2014, 16:24:51] OS Version Information
    [2/12/2014, 16:24:51]CommandLine = c:\337aa8fe6fabb926b99388a0\Setup.exe
    [2/12/2014, 16:24:51] Environment details
    [2/12/2014, 16:24:51]Loading localized engine data for language 1033 from c:\337aa8fe6fabb926b99388a0\1033\LocalizedData.xml
    [2/12/2014, 16:24:51] exiting function/method
    [2/12/2014, 16:24:51] succeeded
    [2/12/2014, 16:24:51]Current SetupVersion = 1.0
    [2/12/2014, 16:24:51]SetupVersion specified in ParameterInfo.xml is '1.0'
    [2/12/2014, 16:24:51]patch VS10SP1-KB2643415.msp added
    [2/12/2014, 16:24:51]Adding Item type "Patches", local path (not applicable)
    [2/12/2014, 16:24:51]No ProcessBlock element
    [2/12/2014, 16:24:51]No ServiceBlock element
    [2/12/2014, 16:24:51]Using Simultaneous Download and Install mechanism
    [2/12/2014, 16:24:51] exiting function/method
    [2/12/2014, 16:24:51] succeeded
    [2/12/2014, 16:24:51]evaluating EnterMaintenanceModeIf:
    [2/12/2014, 16:24:51]returning false
    [2/12/2014, 16:24:51] MaintenanceMode determination evaluates to 'not in maintenance mode'
    [2/12/2014, 16:24:52]Operation: Installing
    [2/12/2014, 16:24:52] Operation Type
    [2/12/2014, 16:24:52]Package Name = KB2643415
    [2/12/2014, 16:24:52]Package Version = 10.0.40219
    [2/12/2014, 16:24:52] Package details
    [2/12/2014, 16:24:52]User Experience Data Collection Policy: UserControlled
    [2/12/2014, 16:24:52] User Experience Data Collection Policy
    [2/12/2014, 16:24:53]Loading file - c:\337aa8fe6fabb926b99388a0\UiInfo.xml
    [2/12/2014, 16:24:53]Add to schema collection schema file - c:\337aa8fe6fabb926b99388a0\SetupUi.xsd
    [2/12/2014, 16:24:53]Successfuly found file c:\337aa8fe6fabb926b99388a0\1033\SetupResources.DLL
    [2/12/2014, 16:24:53]Successfuly found file c:\337aa8fe6fabb926b99388a0\Strings.xml
    [2/12/2014, 16:24:53] exiting function/method
    [2/12/2014, 16:24:53] succeeded
    [2/12/2014, 16:24:53] Global Block Checks no blocking conditions found
    [2/12/2014, 16:24:53]OpenFileMapping fails with last error: 6
    [2/12/2014, 16:24:53]The handle to the section is Null
    [2/12/2014, 16:24:53]OpenFileMapping fails with last error: 6
    [2/12/2014, 16:24:53]The handle to the section is Null
    [2/12/2014, 16:24:54]evaluating ApplicableIf:
    [2/12/2014, 16:24:54]MsiXmlBlob: this patch is not applicable
    [2/12/2014, 16:24:54] Exists evaluated to false
    [2/12/2014, 16:24:54] Determining state of c:\337aa8fe6fabb926b99388a0\VS10SP1-KB2643415.msp - not applicable
    [2/12/2014, 16:24:54] Applicability for Installing determination is complete
    [2/12/2014, 16:24:54]Number of applicable items: 0
    [2/12/2014, 16:24:54] Applicability Result Count
    [2/12/2014, 16:24:54]KB2643415 does not apply, or is blocked by another condition on your computer. Please see http://go.microsoft.com/fwlink/?LinkId=225649 for more details.
    [2/12/2014, 16:24:57]The operation was cancelled by the user
    [2/12/2014, 16:24:58]Final Result: Installation failed with error code: (0x80070642), "User cancelled installation. " (Elapsed time: 0 00:00:07).

    Thanks & Regards

    Wednesday, February 12, 2014 4:30 PM
  • Hi,

    I get the below message when i repair the TFS :

    [12/15/11,22:11:27] Microsoft Team Foundation Server 2010 - ENU: [2] CMSIDirectory::SetDirectory - Invalid argument
    [12/15/11,22:13:44] Microsoft Team Foundation Server 2010 - ENU: [2] CMSIDirectory::SetDirectory - Invalid argument
    ***EndOfSession***[02/16/14,05:07:42] Microsoft Team Foundation Server 2010 - ENU: [2] CMSIDirectory::SetDirectory - Invalid argument
    [02/16/14,05:21:17] Microsoft Team Foundation Server 2010 - ENU: [2] CMSIDirectory::SetDirectory - Invalid argument
    [02/16/14,05:22:01] Microsoft Team Foundation Server 2010 - ENU: [2] ERROR_FILE_NOT_FOUND/ERROR_INSTALL_PACKAGE_OPEN_FAILED returned in CRootComponent::Install for: C:\Windows\Installer\47a7515.msi
    ***EndOfSession***

    <o:p></o:p>

    <o:p>Please let me know what else can be done to resolve this.</o:p>

    <o:p></o:p>

    <o:p>Thanks & Regards</o:p>

    <o:p></o:p>

    Monday, February 17, 2014 8:30 AM
  • Seems like some .msi files are missing.

    This is beyond the support that we deliver through forums. Please open a support incident to troubleshoot the issue further. Please go to http://support.microsoft.com to open a new support incident.

    Thanks,

    Chandra

    Thursday, February 27, 2014 9:36 PM