locked
TFS 2010 SP1 Installation Failure - Error 0x80070643

    Question

  • I'm attempting to install TFS 2010 SP1 over on an RTM install of TFS 2010. The setup fails with the following error:

    [3/25/2011, 17:23:18]Final Result: Installation failed with error code: (0x80070643), "Fatal error during installation. " (Elapsed time: 0 00:01:21).

    I traced the error back to a custom action which is failing. Below are the details.

    Any ideas?

    MSI (s) (54:74) [17:22:39:355]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI7802.tmp, Entrypoint: CAQuietExec
    CAQuietExec: "c:\Program Files\Microsoft Team Foundation Server 2010\Tools\TfsServiceControl.exe" quiesce /logToConsole
    CAQuietExec:  ====================================================================
    CAQuietExec:  Team Foundation Server Administration Log
    CAQuietExec:  Version : 10.0.30319.1
    CAQuietExec:  DateTime : 03/25/2011 17:22:40
    CAQuietExec:  Type   : Configuration
    CAQuietExec:  Activity : Servicing
    CAQuietExec:  Area   : Unknown
    CAQuietExec:  User   : MyUser
    CAQuietExec:  Machine : MyServer
    CAQuietExec:  System  : Microsoft Windows NT 6.1.7600.0 (AMD64)
    CAQuietExec:  ====================================================================
    CAQuietExec: Stopping Windows service TfsJobAgent
    CAQuietExec:  StopWindowsService TfsJobAgent on MyServer
    CAQuietExec:  Current State Running
    CAQuietExec:  Waiting for service TfsJobAgent to stop...
    CAQuietExec:  Attempt=0
    CAQuietExec:  Attempt=0
    CAQuietExec:  Success stopping service.
    CAQuietExec:  Service process is gone.
    CAQuietExec: Successfully stopped Windows service TfsJobAgent
    CAQuietExec:  Stopping application pool: ApplicationTier
    CAQuietExec:  ApplicationPoolHelper::GetApplicationPoolName
    CAQuietExec:  Application pool name: Microsoft Team Foundation Server Application Pool
    CAQuietExec:  Invoking operation Stop on application pool: Microsoft Team Foundation Server Application Pool
    CAQuietExec:  Operation Stop invoked on application pool Microsoft Team Foundation Server Application Pool successfully.
    CAQuietExec:  Exception while stopping application pool for ApplicationTier
    CAQuietExec:  
    CAQuietExec: Exception Message: Value cannot be null.
    CAQuietExec: Parameter name: input (type ArgumentNullException)
    CAQuietExec: 
    CAQuietExec: Exception Stack Trace:  at System.Text.RegularExpressions.Regex.Match(String input)
    CAQuietExec:   at Microsoft.TeamFoundation.Admin.ApplicationPoolHelper.IsWorkerProcessStopped(String appPoolName)
    CAQuietExec:   at Microsoft.TeamFoundation.Admin.ApplicationPoolHelper.StopApplicationPool(ApplicationPoolType type, Boolean waitForWorkerProcessTermination)
    CAQuietExec: 
    CAQuietExec: Failed executing the command quiesce: Microsoft.TeamFoundation.Admin.ConfigurationException: An error occurred while stopping application pool for ApplicationTier. Please see the log file for additional details. ---> System.ArgumentNullException: Value cannot be null.
    CAQuietExec: Parameter name: input
    CAQuietExec:   at System.Text.RegularExpressions.Regex.Match(String input)
    CAQuietExec:   at Microsoft.TeamFoundation.Admin.ApplicationPoolHelper.IsWorkerProcessStopped(String appPoolName)
    CAQuietExec:   at Microsoft.TeamFoundation.Admin.ApplicationPoolHelper.StopApplicationPool(ApplicationPoolType type, Boolean waitForWorkerProcessTermination)
    CAQuietExec:   --- End of inner exception stack trace ---
    CAQuietExec:   at Microsoft.TeamFoundation.Admin.ApplicationPoolHelper.StopApplicationPool(ApplicationPoolType type, Boolean waitForWorkerProcessTermination)
    CAQuietExec:   at Microsoft.TeamFoundation.ServiceControl.TfsServiceControl.QuiesceApplicationTier()
    CAQuietExec:   at Microsoft.TeamFoundation.ServiceControl.TfsServiceControl.Quiesce(IEnumerable`1 featureList)
    CAQuietExec:   at Microsoft.TeamFoundation.ServiceControl.TfsServiceControl.Main(String args)
    CAQuietExec: > Inner Exception:
    CAQuietExec: System.ArgumentNullException: Value cannot be null.
    CAQuietExec: Parameter name: input
    CAQuietExec:   at System.Text.RegularExpressions.Regex.Match(String input)
    CAQuietExec:   at Microsoft.TeamFoundation.Admin.ApplicationPoolHelper.IsWorkerProcessStopped(String appPoolName)
    CAQuietExec:   at Microsoft.TeamFoundation.Admin.ApplicationPoolHelper.StopApplicationPool(ApplicationPoolType type, Boolean waitForWorkerProcessTermination)
    CAQuietExec: 
    CAQuietExec: Error 0x80070064: Command line returned an error.
    CAQuietExec: Error 0x80070064: CAQuietExec Failed
    CustomAction CA_TfsServiceControl_Quiesce_DEF returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
    MSI (s) (54:C0) [17:23:16:942]: User policy value 'DisableRollback' is 0
    MSI (s) (54:C0) [17:23:16:942]: Machine policy value 'DisableRollback' is 0
    Action ended 17:23:16: InstallFinalize. Return value 3.
    Friday, March 25, 2011 9:31 PM

Answers

  • A reboot of the server appears to have resolved the issue. I hadn't changed any permissions, so this exception may have more causes than just improper permissions.

    • Marked as answer by RMD Monday, March 28, 2011 5:15 PM
    Monday, March 28, 2011 5:15 PM

All replies

  • Hello RMD,

    Thanks for your post.

    Based on the error logs, it seems that you get an error when you execute the TFS Quiesce. To perform the TFSServiceControl quiesce command, you must be a member of the Team Foundation Administrators security group, a member of the Administrators group on the Aplication-tier server, and a member of the sysadmin security group for any SQL Server databases that Team Foundation Server uses.

    So please make sure the user account you are using have the appropriate permissions first.

    Thanks,


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Saturday, March 26, 2011 6:59 AM
    Moderator
  • I've attempted the installation with both the user I originally installed TFS with, which has all the permissions described, as well as a full domain admin. The same error happens each time.
    Saturday, March 26, 2011 2:30 PM
  • A reboot of the server appears to have resolved the issue. I hadn't changed any permissions, so this exception may have more causes than just improper permissions.

    • Marked as answer by RMD Monday, March 28, 2011 5:15 PM
    Monday, March 28, 2011 5:15 PM
  • Hi,

    Just for others that may encounter this issue

    I had similar issue to apply SP1 and the CU for TFS. Security was not the issue (all requirement where verified), doing an IISreset fixed the issue (has to be done in both instances of SP1 + CU).

    B.


    • Edited by B. Huard i Tuesday, November 01, 2011 12:00 PM
    Tuesday, November 01, 2011 11:59 AM