My TFS 2013 is corrupted. I only have all the .bak files for my collection. While trying to install TFS 2018, in Application Tier I clicked "Configured Installed Feature". I chooses "I have existing databses to use for this Team Foundation Server deployment". I click next till the end. However, I keep getting this error:
TF400711: Error occurred while executing servicing step 'Configure OAuth signing certificate' for component InstallOnPremSTS during ToDev14M80Deployment: Could not find file 'C:\Users\Administrator\AppData\Local\Temp\1\TFSTemp\vctmp7932_199798.exe'. (type TeamFoundationServicingException)
May I know what went wrong? I try to locate the folder, it is indeed doesn't have "vctmp7932_199798.exe". But how to get this exe in the first place?
Error Log:
[Info @12:20:16.125] [2019-02-13 04:20:16Z] Executing servicing step 'Configure OAuth signing certificate'. (ServicingOperation: ToDev14M80Deployment; Step group: InstallOnPremSTS)
[Info @12:20:16.125] Executing step: 'Configure OAuth signing certificate' DelegatedAuth.ConfigureOAuthSigningCertificate (821 of 1873)
[Info @12:20:16.133] Creating new Cert for Oauth
[Info @12:20:16.133] GenerateOAuthSigningCertificate started. notBefore: 02/12/2019 04:20:16, notAfter: 02/13/2049 04:20:16
[Info @12:20:16.133] friendlyName: TFS Self-Signed OAuth Signing Certificate(PILOT-TFS3)
[Info @12:20:16.133] subject: CN=TFS Self-Signed OAuth Signing Certificate(PILOT-TFS3)
[Info @12:20:16.133] CreateCert is called.
[Info @12:20:16.133] CreatePrivateKey is called.
[Warning@12:20:16.138] certGenerator.GenerateOAuthSigningCertificate failed. The following error was reported: Keyset does not exist (Exception from HRESULT: 0x80090016).
[Info @12:20:16.140] --> CertHandler.ExecuteMakeCert
[Info @12:20:16.141] <-- CertHandler.ExecuteMakeCert
[Error @12:20:16.142] Could not find file 'C:\Users\Administrator\AppData\Local\Temp\1\TFSTemp\vctmp7932_199798.exe'.
[Info @12:20:16.143] System.IO.FileNotFoundException: Could not find file 'C:\Users\Administrator\AppData\Local\Temp\1\TFSTemp\vctmp7932_199798.exe'.
File name: 'C:\Users\Administrator\AppData\Local\Temp\1\TFSTemp\vctmp7932_199798.exe'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.File.InternalWriteAllBytes(String path, Byte[] bytes, Boolean checkHost)
at Microsoft.VisualStudio.Services.Configuration.CertHandler.ExecuteMakeCert(String args, String& errorMsg)
at Microsoft.VisualStudio.Services.Configuration.CertHandler.MakeServiceCert(String makeCertArgs, String certName)
at Microsoft.VisualStudio.Services.Configuration.CertHandler.MakeOAuthSigningCertificate()
at Microsoft.VisualStudio.Services.Framework.DelegatedAuthStepPerformer.ConfigureOAuthSigningCertificate(IVssRequestContext deploymentRequestContext, ServicingContext servicingContext, ConfigureOAuthSigningCertificateStepData stepData)
at Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.PerformHostStep(String servicingOperation, ServicingOperationTarget target, IServicingStep servicingStep, String stepData, ServicingContext servicingContext)
at Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.PerformStep(String servicingOperation, ServicingOperationTarget target, String stepType, String stepData, ServicingContext servicingContext)
at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformServicingStep(ServicingStep step, ServicingContext servicingContext, ServicingStepGroup group, ServicingOperation servicingOperation, Int32 stepNumber, Int32 totalSteps)
[Info @12:20:16.143] [2019-02-13 04:20:16Z] Servicing step 'Configure OAuth signing certificate' failed. (ServicingOperation: 'ToDev14M80Deployment'; Step group: 'InstallOnPremSTS')
[Info @12:20:16.143] [StepDuration] 0.0175491
[Info @12:20:16.144] [GroupDuration] 0.0492119
[Info @12:20:16.144] [OperationDuration] 0.117691
[Info @12:20:16.144] Clearing dictionary, removing all items.
[Error @12:20:16.144]
Exception Message: TF400711: Error occurred while executing servicing step 'Configure OAuth signing certificate' for component InstallOnPremSTS during ToDev14M80Deployment: Could not find file 'C:\Users\Administrator\AppData\Local\Temp\1\TFSTemp\vctmp7932_199798.exe'. (type TeamFoundationServicingException)
Exception Stack Trace: at Microsoft.TeamFoundation.Framework.Server.ServicingContext.FinishStep(Exception exception)
at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformServicingStep(ServicingStep step, ServicingContext servicingContext, ServicingStepGroup group, ServicingOperation servicingOperation, Int32 stepNumber, Int32 totalSteps)
at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformOperations(Int32 stepsToPerform)
at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.Execute(Int32 numberOfStepsToPerform)
at Microsoft.TeamFoundation.Admin.UpgradeConfigDbDriver.Execute()
at Microsoft.TeamFoundation.Admin.ConfigureUpgradeConfigDB.Run(ActivityContext context)
Inner Exception Details:
Exception Message: Could not find file 'C:\Users\Administrator\AppData\Local\Temp\1\TFSTemp\vctmp7932_199798.exe'. (type FileNotFoundException)
Exception Stack Trace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.File.InternalWriteAllBytes(String path, Byte[] bytes, Boolean checkHost)
at Microsoft.VisualStudio.Services.Configuration.CertHandler.ExecuteMakeCert(String args, String& errorMsg)
at Microsoft.VisualStudio.Services.Configuration.CertHandler.MakeServiceCert(String makeCertArgs, String certName)
at Microsoft.VisualStudio.Services.Configuration.CertHandler.MakeOAuthSigningCertificate()
at Microsoft.VisualStudio.Services.Framework.DelegatedAuthStepPerformer.ConfigureOAuthSigningCertificate(IVssRequestContext deploymentRequestContext, ServicingContext servicingContext, ConfigureOAuthSigningCertificateStepData stepData)
at Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.PerformHostStep(String servicingOperation, ServicingOperationTarget target, IServicingStep servicingStep, String stepData, ServicingContext servicingContext)
at Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.PerformStep(String servicingOperation, ServicingOperationTarget target, String stepType, String stepData, ServicingContext servicingContext)
at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformServicingStep(ServicingStep step, ServicingContext servicingContext, ServicingStepGroup group, ServicingOperation servicingOperation, Int32 stepNumber, Int32 totalSteps)
[Info @12:20:16.148] Node returned: Error
[Error @12:20:16.150] TF255356: The following error occurred when configuring the Team Foundation databases: TF400711: Error occurred while executing servicing step 'Configure OAuth signing certificate' for component InstallOnPremSTS during ToDev14M80Deployment: Could not find file 'C:\Users\Administrator\AppData\Local\Temp\1\TFSTemp\vctmp7932_199798.exe'.. For more information, see the configuration log.
[Info @12:20:16.150] Completed UpgradeConfigDB: Error
User contributions licensed under CC BY-SA 3.0