我对服务架构有一个非常烦人的问题,我现在正在使用错误文件
这没有任何意义,因为我已经重置群集,重新启动等等,但没有任何作用
问题是该消息无用
12>powershell -NonInteractive -NoProfile -WindowStyle Hidden -ExecutionPolicy Bypass -Command ". 'PATH\Scripts\Deploy-FabricApplication.ps1' -ApplicationPackagePath 'PATH\pkg\Debug' -PublishProfileFile 'PATH\PublishProfiles\Local.5Node.xml' -DeployOnly:$true -ApplicationParameter:@{} -UnregisterUnusedApplicationVersionsAfterUpgrade $false -OverrideUpgradeBehavior 'None' -OverwriteBehavior 'Always' -SkipPackageValidation:$true -ErrorAction Stop"
12>Copying application to image store...
12>Upload to Image Store succeeded
12>Registering application type...
12>Register-ServiceFabricApplicationType : One or more errors occurred. --> AggregateException: One or more errors
12>occurred. --> FileLoadException: The process cannot access the file because it is being used by another process.
12>(Exception from HRESULT: 0x80070020)
12>At C:\Program Files\Microsoft SDKs\Service
12>Fabric\Tools\PSModule\ServiceFabricSDK\Publish-NewServiceFabricApplication.ps1:251 char:9
12>+ Register-ServiceFabricApplicationType -ApplicationPathInImage ...
12>+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12> + CategoryInfo : InvalidOperation: (Microsoft.Servi...usterConnection:ClusterConnection) [Register-Servic
12> eFabricApplicationType], FabricException
12> + FullyQualifiedErrorId : RegisterApplicationTypeErrorId,Microsoft.ServiceFabric.Powershell.RegisterApplicationTyp
12> e
12>
12>Finished executing script 'Deploy-FabricApplication.ps1'.
12>Time elapsed: 00:00:45.6667428
12>The PowerShell script failed to execute.
如何获取有关正在使用的确切文件的更多信息?
我正在尝试部署到开发群集
干杯
保
答案 0 :(得分:0)
这似乎是由Trend实时扫描程序引起的!