{"action":"created","issue":{"url":"https://api.github.com/repos/Azure-Samples/service-fabric-dotnet-management-party-cluster/issues/12","repository_url":"https://api.github.com/repos/Azure-Samples/service-fabric-dotnet-management-party-cluster","labels_url":"https://api.github.com/repos/Azure-Samples/service-fabric-dotnet-management-party-cluster/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/Azure-Samples/service-fabric-dotnet-management-party-cluster/issues/12/comments","events_url":"https://api.github.com/repos/Azure-Samples/service-fabric-dotnet-management-party-cluster/issues/12/events","html_url":"https://github.com/Azure-Samples/service-fabric-dotnet-management-party-cluster/issues/12","id":298268322,"number":12,"title":"The PowerShell script failed to execute","user":{"login":"rajeeshmenoth","id":8437883,"avatar_url":"https://avatars2.githubusercontent.com/u/8437883?v=4","gravatar_id":"","url":"https://api.github.com/users/rajeeshmenoth","html_url":"https://github.com/rajeeshmenoth","followers_url":"https://api.github.com/users/rajeeshmenoth/followers","following_url":"https://api.github.com/users/rajeeshmenoth/following{/other_user}","gists_url":"https://api.github.com/users/rajeeshmenoth/gists{/gist_id}","starred_url":"https://api.github.com/users/rajeeshmenoth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajeeshmenoth/subscriptions","organizations_url":"https://api.github.com/users/rajeeshmenoth/orgs","repos_url":"https://api.github.com/users/rajeeshmenoth/repos","events_url":"https://api.github.com/users/rajeeshmenoth/events{/privacy}","received_events_url":"https://api.github.com/users/rajeeshmenoth/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-19T13:04:19Z","updated_at":"2018-02-21T07:17:18Z","closed_at":"2018-02-21T07:17:18Z","author_association":"NONE","body":"Hi, I am getting below error when publish the application in to party cluster. here is the VS 2017 output\r\n\r\nError occurred while restoring NuGet packages: The operation failed as details for project votingData could not be loaded.\r\n1>------ Build started: Project: votingWeb, Configuration: Debug Any CPU ------\r\n2>------ Build started: Project: votingData, Configuration: Debug Any CPU ------\r\n1>Waiting for output folder cleanup...\r\n2>Waiting for output folder cleanup...\r\n2>Output folder cleanup has been completed.\r\n1>Output folder cleanup has been completed.\r\n2>votingData -> C:\\Users\\Rajeesh.raveendran\\source\\repos\\HmDemoApp\\votingData\\bin\\Debug\\netcoreapp2.0\\win7-x64\\votingData.dll\r\n1>votingWeb -> C:\\Users\\Rajeesh.raveendran\\source\\repos\\HmDemoApp\\votingWeb\\bin\\Debug\\netcoreapp2.0\\win7-x64\\votingWeb.dll\r\n3>------ Build started: Project: HmDemoApp, Configuration: Debug x64 ------\r\n4>------ Publish started: Project: HmDemoApp, Configuration: Debug x64 ------\r\n4>Started executing script 'GetApplicationExistence'.\r\n-------- Package started: Project: HmDemoApp, Configuration: Debug x64 ------\r\n4>Finished executing script 'GetApplicationExistence'.\r\n4>Time elapsed: 00:00:03.2737436\r\nvotingData -> C:\\Users\\Rajeesh.raveendran\\source\\repos\\HmDemoApp\\votingData\\bin\\Debug\\netcoreapp2.0\\win7-x64\\votingData.dll\r\nvotingData -> C:\\Users\\Rajeesh.raveendran\\source\\repos\\HmDemoApp\\votingData\\obj\\Debug\\netcoreapp2.0\\win7-x64\\PubTmp\\Out\\\r\nvotingWeb -> C:\\Users\\Rajeesh.raveendran\\source\\repos\\HmDemoApp\\votingWeb\\bin\\Debug\\netcoreapp2.0\\win7-x64\\votingWeb.dll\r\nvotingWeb -> C:\\Users\\Rajeesh.raveendran\\source\\repos\\HmDemoApp\\votingWeb\\obj\\Debug\\netcoreapp2.0\\win7-x64\\PubTmp\\Out\\\r\nHmDemoApp -> C:\\Users\\Rajeesh.raveendran\\source\\repos\\HmDemoApp\\HmDemoApp\\pkg\\Debug\r\n-------- Package: Project: HmDemoApp succeeded, Time elapsed: 00:01:26.4431933 --------\r\n4>Started executing script 'Deploy-FabricApplication.ps1'.\r\n4>powershell -NonInteractive -NoProfile -WindowStyle Hidden -ExecutionPolicy Bypass -Command \". 'C:\\Users\\Rajeesh.raveendran\\source\\repos\\HmDemoApp\\HmDemoApp\\Scripts\\Deploy-FabricApplication.ps1' -ApplicationPackagePath 'C:\\Users\\Rajeesh.raveendran\\source\\repos\\HmDemoApp\\HmDemoApp\\pkg\\Debug' -PublishProfileFile 'C:\\Users\\Rajeesh.raveendran\\source\\repos\\HmDemoApp\\HmDemoApp\\PublishProfiles\\Cloud.xml' -DeployOnly:$false -ApplicationParameter:@{} -UnregisterUnusedApplicationVersionsAfterUpgrade $false -OverrideUpgradeBehavior 'None' -OverwriteBehavior 'SameAppTypeAndVersion' -SkipPackageValidation:$false -ErrorAction Stop\"\r\n4>Copying application to image store...\r\n4>Copy-ServiceFabricApplicationPackage : Operation timed out.\r\n4>At C:\\Program Files\\Microsoft SDKs\\Service \r\n4>Fabric\\Tools\\PSModule\\ServiceFabricSDK\\Publish-NewServiceFabricApplication.ps1:244 char:9\r\n4>+         Copy-ServiceFabricApplicationPackage -ApplicationPackagePath  ...\r\n4>+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n4>    + CategoryInfo          : OperationTimeout: (:) [Copy-ServiceFabricApplicationPackage], TimeoutException\r\n4>    + FullyQualifiedErrorId : CopyApplicationPackageErrorId,Microsoft.ServiceFabric.Powershell.CopyApplicationPackage\r\n4> \r\n4>Finished executing script 'Deploy-FabricApplication.ps1'.\r\n4>Time elapsed: 00:11:27.0447326\r\n4>The PowerShell script failed to execute.\r\n========== Build: 3 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========\r\n========== Publish: 0 succeeded, 1 failed, 0 skipped ==========\r\n"},"comment":{"url":"https://api.github.com/repos/Azure-Samples/service-fabric-dotnet-management-party-cluster/issues/comments/367234604","html_url":"https://github.com/Azure-Samples/service-fabric-dotnet-management-party-cluster/issues/12#issuecomment-367234604","issue_url":"https://api.github.com/repos/Azure-Samples/service-fabric-dotnet-management-party-cluster/issues/12","id":367234604,"user":{"login":"rajeeshmenoth","id":8437883,"avatar_url":"https://avatars2.githubusercontent.com/u/8437883?v=4","gravatar_id":"","url":"https://api.github.com/users/rajeeshmenoth","html_url":"https://github.com/rajeeshmenoth","followers_url":"https://api.github.com/users/rajeeshmenoth/followers","following_url":"https://api.github.com/users/rajeeshmenoth/following{/other_user}","gists_url":"https://api.github.com/users/rajeeshmenoth/gists{/gist_id}","starred_url":"https://api.github.com/users/rajeeshmenoth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajeeshmenoth/subscriptions","organizations_url":"https://api.github.com/users/rajeeshmenoth/orgs","repos_url":"https://api.github.com/users/rajeeshmenoth/repos","events_url":"https://api.github.com/users/rajeeshmenoth/events{/privacy}","received_events_url":"https://api.github.com/users/rajeeshmenoth/received_events","type":"User","site_admin":false},"created_at":"2018-02-21T07:17:18Z","updated_at":"2018-02-21T07:17:18Z","author_association":"NONE","body":"Hi,\r\nThe following way I resolved the above issue.\r\n1) Restored all the NuGet packages\r\n2) PowerShell open as \"Administrator\" mode."}}
{"actor":{"display_login":"rajeeshmenoth"}}