我的TFS 2013损坏。我只有我所有的.bak文件。尝试安装TFS 2018时,在应用程序层中,单击“配置的已安装功能”。我选择“我有现有的数据库可用于此Team Foundation Server部署”。我单击下一步直到最后。但是,我不断收到此错误:
TF400711:在ToDev14M80部署期间为组件InstallOnPremSTS执行服务步骤“配置OAuth签名证书”时发生错误:找不到文件“ C:\ Users \ Administrator \ AppData \ Local \ Temp \ 1 \ TFSTemp \ vctmp7932_199798.exe”。 (类型为TeamFoundationServicingException)
我可以知道出了什么问题吗?我尝试找到该文件夹,它确实没有“ vctmp7932_199798.exe”。但是首先如何获得此exe?
错误日志:
[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