Error while installation of MS Service Fabric SDK 3.2.162.
MS Azure Service Fabric Runtime 6.3.162 Fails to install.
Partial Log File ....
DownloadManager Information: 0 : Ignoring exit code '0' for product 'Microsoft Azure Service Fabric Runtime - 6.3.162'
DownloadManager Information: 0 : Starting EXE command for product 'Microsoft Azure Service Fabric Runtime - 6.3.162'. Commandline is: 'C:\WINDOWS\sysnative\cmd.exe /c sc.exe stop KtlLogger'. Process Id: 12956
DownloadManager Information: 0 : Install exit code for product 'Microsoft Azure Service Fabric Runtime - 6.3.162' is '1060'
DownloadManager Information: 0 : Ignoring exit code '1060' for product 'Microsoft Azure Service Fabric Runtime - 6.3.162'
DownloadManager Information: 0 : Starting EXE command for product 'Microsoft Azure Service Fabric Runtime - 6.3.162'. Commandline is: 'C:\WINDOWS\sysnative\cmd.exe /c sc.exe stop LeasLayr'. Process Id: 7372
DownloadManager Information: 0 : Install exit code for product 'Microsoft Azure Service Fabric Runtime - 6.3.162' is '1060'
DownloadManager Information: 0 : Ignoring exit code '1060' for product 'Microsoft Azure Service Fabric Runtime - 6.3.162'
DownloadManager Information: 0 : Starting EXE command for product 'Microsoft Azure Service Fabric Runtime - 6.3.162'. Commandline is: 'C:\Users\rajesh\AppData\Local\Microsoft\Web Platform Installer\installers\ServiceFabricRuntime_6_3_RTO\A2934A42C9B2607C258C14DD52DBE267EF254827\MicrosoftServiceFabric.6.3.162.9494.exe /AcceptEULA'. Process Id: 8604
DownloadManager Information: 0 : Install exit code for product 'Microsoft Azure Service Fabric Runtime - 6.3.162' is '1'
DownloadManager Error: 0 : Install return code for product 'Microsoft Azure Service Fabric Runtime - 6.3.162' is FailureDownloadManager Information: 0 : Ignoring exit code '0' for product 'Microsoft Azure Service Fabric Runtime - 6.3.162'
DownloadManager Information: 0 : Starting EXE command for product 'Microsoft Azure Service Fabric Runtime - 6.3.162'. Commandline is: 'C:\WINDOWS\sysnative\cmd.exe /c sc.exe stop KtlLogger'. Process Id: 12956
DownloadManager Information: 0 : Install exit code for product 'Microsoft Azure Service Fabric Runtime - 6.3.162' is '1060'
DownloadManager Information: 0 : Ignoring exit code '1060' for product 'Microsoft Azure Service Fabric Runtime - 6.3.162'
DownloadManager Information: 0 : Starting EXE command for product 'Microsoft Azure Service Fabric Runtime - 6.3.162'. Commandline is: 'C:\WINDOWS\sysnative\cmd.exe /c sc.exe stop LeasLayr'. Process Id: 7372
DownloadManager Information: 0 : Install exit code for product 'Microsoft Azure Service Fabric Runtime - 6.3.162' is '1060'
DownloadManager Information: 0 : Ignoring exit code '1060' for product 'Microsoft Azure Service Fabric Runtime - 6.3.162'
DownloadManager Information: 0 : Starting EXE command for product 'Microsoft Azure Service Fabric Runtime - 6.3.162'. Commandline is: 'C:\Users\rajesh\AppData\Local\Microsoft\Web Platform Installer\installers\ServiceFabricRuntime_6_3_RTO\A2934A42C9B2607C258C14DD52DBE267EF254827\MicrosoftServiceFabric.6.3.162.9494.exe /AcceptEULA'. Process Id: 8604
DownloadManager Information: 0 : Install exit code for product 'Microsoft Azure Service Fabric Runtime - 6.3.162' is '1'
DownloadManager Error: 0 : Install return code for product 'Microsoft Azure Service Fabric Runtime - 6.3.162' is Failure
system details
OS Windows 10 Home Version 1808 (64 Bit). Hardware I7 with 8 GB RAM.
Visual studio Community Edition installed.
Web Platform Installer 5.0 Installed.
PowerShell Version 5.1.17134.165 (powershell path is already added to path variable)
(Other investigation details...
MicrosoftServiceFabric.6.3.162.9494.exe /AcceptEULA fails
Log details below
C:\Users\rajesh\AppData\Local\Microsoft\WEBPLA~1\installers\ServiceFabricRuntime_6_3_RTO\A2934A42C9B2607C258C14DD52DBE267EF254827>MicrosoftServiceFabric.6.3.162.9494.exe /AcceptEULA
09/08/2018 19:06:42,Info,Start installation... Logs created at C:\WINDOWS\TEMP\InstallFabricRuntime.log
09/08/2018 19:06:42,Info,10/08/2018 00:36:42 running: Powershell.exe -NoProfile Get-ExecutionPolicy -Scope CurrentUser
09/08/2018 19:06:42,Info,Service Fabric Product not detected in registry.
09/08/2018 19:06:42,Info,Found legacy fabric files at C:\Program Files\Microsoft Service Fabric. Start removal...
09/08/2018 19:06:42,Info,10/08/2018 00:36:42 running: Powershell.exe -NoProfile -Command & 'C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\CleanFabric.ps1'
09/08/2018 19:06:45,Info,Legacy Fabric Uninstalled using CleanFabric.ps1!
09/08/2018 19:06:45,Info,Start extracting runtime cab...
09/08/2018 19:06:47,Info,10/08/2018 00:36:47 running: C:\WINDOWS\TEMP\MicrosoftServiceFabricAutoextractor.exe /L "C:\Program Files\Microsoft Service Fabric" /E /Y
09/08/2018 19:07:00,Info,Successfully extracted cab file
09/08/2018 19:07:00,Info,Start installing...
09/08/2018 19:07:00,Info,10/08/2018 00:37:00 running: Powershell.exe -NoProfile -Command & 'C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\InstallFabric.ps1' -FabricRootIsPreInstalled -ACCEPTEULA
09/08/2018 19:07:11,Error,Unable to install Service Fabric Runtime using InstallFabric.ps1. ExitCode: 1
)
It seems that you need to enable execution of the Windows PowerShell scripts included in the SDK. For more information about how to install Service Fabric SDK 3.2.162, please refer to this tutorial.
Service Fabric uses Windows PowerShell scripts for creating a local development cluster and for deploying applications from Visual Studio. By default, Windows blocks these scripts from running. To enable them, you must modify your PowerShell execution policy. Open PowerShell as an administrator and enter the following command:
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force -Scope CurrentUser
I can install Service Fabric SDK 3.2.162 on my side.
If it also can't be installed. You also could try to do it with other ways:
To use Visual Studio 2017
To use Visual Studio 2015 (requires Visual Studio 2015 Update 2 or later)
Related
I am trying to update a sp2013 farm from SP1+July 2016 CU to the August 2020 CU. I've already installed the patch, and am trying to run PSCONFIG now.
The first APP server (which runs Central admin) PSCONFIG command completed successfully, but I have been unable to get any of the remaining servers to complete - I've tried both WFE and another App server, in all cases, PSCONFIG exits with the following error:
> PSConfig.exe -cmd upgrade -inplace b2b -wait -cmd applicationcontent -install -cmd install
features -cmd secureresources
SharePoint Products Configuration Wizard version 15.0.4939.1000. Copyright (C) Microsoft Corporation 2012. All rights reserved.
Performing configuration task 1 of 7
Initializing SharePoint Products upgrade...
Waiting to get a lock to upgrade the farm.
Successfully initialized the SharePoint Products configuration.
Performing configuration task 2 of 7
Initiating the upgrade sequence...
Failed to initiate the upgrade sequence.
An exception of type Microsoft.SharePoint.Upgrade.SPUpgradeException was thrown. Additional exception information: Exception of type 'Microsoft.SharePoint.Upgrade.SPUpgradeException' was thrown.
Total number of configuration settings run: 2
Total number of successful configuration settings: 1
Total number of unsuccessful configuration settings: 5
Successfully stopped the configuration of SharePoint Products.
Configuration of SharePoint Products failed. Configuration must be performed before you use SharePoint Products.
For further details, see the diagnostic log located at d:\spdata\Logs\ULS\PSCDiagnostics_12_4_2020_16_38_33_727_1311047457.log and the application event log
When I check the PSCDiag file, the error is just "Exception of type 'Microsoft.SharePoint.Upgrade.SPUpgradeException' was thrown"
12/04/2020 15:56:42 12 ERR Task upgradebootstrap has failed with an unknown exception
12/04/2020 15:56:42 12 ERR Exception: Microsoft.SharePoint.Upgrade.SPUpgradeException: Exception of type 'Microsoft.SharePoint.Upgrade.SPUpgradeException' was thrown.
at Microsoft.SharePoint.Upgrade.SPManager.BootStrap(Guid sessionId, SPUpgradeOperationFlags flags)
at Microsoft.SharePoint.PostSetupConfiguration.UpgradeBootstrapTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
I've rebooted (multiple times)
Tried stopping/restarting IIS
Cleared the sharepoint config cache
Run Get-spProduct -local - it give an error the first time I run it, but then succeeds the second time (which is the same behavior I had on the first server which completed successfully)
> Get-SPProduct -Local
Get-SPProduct : Failed to call GetTypes on assembly
Microsoft.AnalysisServices.SPAddin, Version=12.0.0.0, Culture=neutral,
PublicKeyToken=89845dcd8080cc91. Could not load file or assembly
'Microsoft.AnalysisServices.SPClient, Version=12.0.0.0, Culture=neutral,
PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot
find the file specified.
At line:1 char:1
+ Get-SPProduct -Local
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (Microsoft.Share...letGetSPProduct:
SpCmdletGetSPProduct) [Get-SPProduct], SPUpgradeException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SpCmdletGetSPPro
duct
> Get-SPProduct -Local
ProductName Required Missing Servers
----------- -------- ------- -------
Microsoft SharePoint Server... True {}
Microsoftr Project Server 2013 True {}
I do see a few UNEXPECTED level errors in the ULS logs relating to Microsoft.AnalysisServices.SPAddin
ERROR Failed to call GetTypes on assembly Microsoft.AnalysisServices.SPAddin, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91. Could not load file or assembly 'Microsoft.AnalysisServices.SPClient, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified. 00000000-0000-0000-0000-000000000000
and also one that appears related to inability to update the central admin - but I believe that would have been done when I ran PSConfig on the Central admin server, which completed successfully
12/04/2020 16:58:20.93 OWSTIMER (0x3254) 0x0B3C SharePoint Foundation Upgrade SPUpgradeSession ajxme ERROR CanUpgrade [SPContentDatabase Name=SYSdev_content_CentralAdmin] failed. 00000000-0000-0000-0000-000000000000
any suggestions are appreciated.
Thanks
I found the issue. The central admin server on which PSCONFIG completed successfully had SQL Server 2014 PowerPivot installed, but the other servers in the farm all had SQL Server 2012 PowerPivot installed. (this is dev environment, and PowerPivot had been installed for testing long ago).
I uninstalled SQL Server 2012 PowerPivot and installed SQL Server 2014 PowerPivot on all other servers. PSCONFIG then completed successfully on all the servers.
I'm new to Azure and Service Fabric.
Today I installed the VS Service Fabric tools and the SDK (latest 3.3.617)
My home desktop has Win10 pro x64 with 8GB RAM.
I tried to run a "hello world" app from the "new project" using VS. Compilation works and then it starts to spin up the local cluster.
I get this error:
1>------ Build started: Project: Stateless1, Configuration: Debug x64 ------
1> Stateless1 -> C:\Users\USER\source\repos\Application2\Stateless1\bin\x64\Debug\Stateless1.exe
2>------ Build started: Project: Application2, Configuration: Debug x64 ------
3>------ Deploy started: Project: Application2, Configuration: Debug x64 ------
3>Started executing script 'GetApplicationExistence'.
3>Finished executing script 'GetApplicationExistence'.
3>Time elapsed: 00:00:00.4751003
3>Started executing script 'Set-LocalClusterReady'.
3>powershell -NonInteractive -NoProfile -WindowStyle Hidden -ExecutionPolicy Bypass -Command "Import-Module 'C:\Program Files\Microsoft SDKs\Service Fabric\Tools\Scripts\DefaultLocalClusterSetup.psm1'; Set-LocalClusterReady -createOneNodeCluster $true"
3>--------------------------------------------
3>Local Service Fabric Cluster is not setup...
3>Please wait while we setup the Local Service Fabric Cluster. This may take few minutes...
3>Performing Stop-Service on service: FabricHostSvc . This may take a few minutes...
3>
3>Using Cluster Data Root: C:\SfDevCluster\Data
3>Using Cluster Log Root: C:\SfDevCluster\Log
3>
3>The generated json path is C:\Users\USER\AppData\Local\Temp\tmpE26D.tmp.json
3>Processing and validating cluster config.
3>Check if machine 'ComputerFullName' is IOT Core: False. Could not open registry key.
3>Performing Stop-Service on service: FabricHostSvc . This may take a few minutes...
3>Create node configuration succeeded
3>Performing Start-Service on service: FabricHostSvc . This may take a few minutes...
3>
3>Waiting for Service Fabric Cluster to be ready. This may take a few minutes...
3>Local Cluster ready status: 4% completed.
3>Local Cluster ready status: 8% completed.
3>Local Cluster ready status: 100% completed.
3>WARNING: Service Fabric Cluster is taking longer than expected to connect.
3>
3>Waiting for fabric:/System/NamingService to be ready. This may take a few minutes...
3>Connect-ServiceFabricCluster : No cluster endpoint is reachable, please check if there is connectivity/firewall/DNS
3>issue.
3>At C:\Program Files\Microsoft SDKs\Service Fabric\Tools\Scripts\ClusterSetupUtilities.psm1:979 char:12
3>+ [void](Connect-ServiceFabricCluster #connParams)
3>+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3> + CategoryInfo : InvalidOperation: (:) [Connect-ServiceFabricCluster], FabricException
3> + FullyQualifiedErrorId : TestClusterConnectionErrorId,Microsoft.ServiceFabric.Powershell.ConnectCluster
3>
3>fabric:/System/NamingService ready status: 8% completed.
3>fabric:/System/NamingService ready status: 17% completed.
3>fabric:/System/NamingService ready status: 92% completed.
3>fabric:/System/NamingService ready status: 100% completed.
3>WARNING: fabric:/System/NamingService is taking longer than expected to be ready...
3>Local Service Fabric Cluster created successfully.
3>--------------------------------------------------
3>Launching Service Fabric Local Cluster Manager...
3>You can use Service Fabric Local Cluster Manager (system tray application) to manage your local dev cluster.
3>Finished executing script 'Set-LocalClusterReady'.
3>Time elapsed: 00:12:29.9792319
3>The PowerShell script failed to execute.
========== Build: 2 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
I tried closing down my Windows firewall and debugging again, now getting:
Unable to determine whether the application is installed on the cluster or not
Unable to determine whether the application is installed on the cluster or not
I have encountered this error before and have solved it in 2 ways:
I simply redeployed to the local cluster.
I stopped the local cluster from the tray menu before redeploying.
We have windows 7 with VS 2015 Update 3 and Service Fabric Runtime 6.1.456.9494 installed along with Service Fabric SDK 3.0.456. There are no errors while installing either the runtime or sdk, but still while setting up local cluster it fails with following errors, and this is happening in all the machines we are using.
WARNING: Service Fabric Cluster is taking longer than expected to
connect.
Waiting for Naming Service to be ready. This may take a few minutes...
Connect-ServiceFabricCluster : No cluster endpoint is reachable,
please check if there is connectivity/firewall/DNS issue. At
C:\Program Files\Microsoft SDKs\Service
Fabric\Tools\Scripts\ClusterSetupUtilities.psm1:620 char:12 +
[void](Connect-ServiceFabricCluster #connparams) +
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo :
InvalidOperation: (:) [Connect-ServiceFabricClus 2> ter],
FabricException + FullyQualifiedErrorId :
TestClusterConnectionErrorId,Microsoft.ServiceFa 2>
bric.Powershell.ConnectCluster
Faulting application name: Fabric.exe, version: 6.1.456.9494, time stamp: 0x5a66710e
Faulting module name: FabricCommon.dll_unloaded, version: 0.0.0.0, time stamp: 0x5a666cec
Exception code: 0xc0000005
Fault offset: 0x000007febd3e6d31
Faulting process id: 0x2854
Faulting application start time: 0x01d3a64824f31fdc
Faulting application path: C:\SfDevCluster\Data_Node_0\Fabric\Fabric.Code\Fabric.exe
Faulting module path: FabricCommon.dll
Report Id: 62dd8dbf-123b-11e8-bbb0-00505699504f
I don't see anything useful in Trace logs either.
I tried resintalling microsoft visual c++ 2012 redistributable package (x64) , tried running cleanupfabric , cleanupcluster but still the issue persists.
Also unisntalled and reinstalled service fabric runtime and sdk multiple times, still issue persists.
I am trying to install ServiceFabric SDK on Azure VM (Windows Datacenter 2016) for configuring our TFS build-agent. But when I lanuch an install I got an error. I tried to re-install VS (I am using Community 2017) but it didn't help me.
Log which Microsoft Installer presented to me:
MSI (s) (98:F0) [11:03:39:170]: Doing action: INSTALL
MSI (s) (98:F0) [11:03:39:170]: Note: 1: 2205 2: 3: ActionText
Action start 11:03:39: INSTALL.
MSI (s) (98:F0) [11:03:39:171]: Running ExecuteSequence
MSI (s) (98:F0) [11:03:39:171]: Doing action: FindRelatedProducts
MSI (s) (98:F0) [11:03:39:171]: Note: 1: 2205 2: 3: ActionText
Action start 11:03:39: FindRelatedProducts.
MSI (s) (98:F0) [11:03:39:172]: Doing action: AppSearch
MSI (s) (98:F0) [11:03:39:172]: Note: 1: 2205 2: 3: ActionText
Action ended 11:03:39: FindRelatedProducts. Return value 1.
Action start 11:03:39: AppSearch.
MSI (s) (98:F0) [11:03:39:173]: Note: 1: 2262 2: Signature 3: -2147287038
MSI (s) (98:F0) [11:03:39:173]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Service Fabric 3: 2
MSI (s) (98:F0) [11:03:39:173]: Doing action: LaunchConditions
MSI (s) (98:F0) [11:03:39:173]: Note: 1: 2205 2: 3: ActionText
Action ended 11:03:39: AppSearch. Return value 1.
Action start 11:03:39: LaunchConditions.
MSI (s) (98:F0) [11:03:39:173]: Note: 1: 2205 2: 3: Error
MSI (s) (98:F0) [11:03:39:173]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709
MSI (s) (98:F0) [11:03:39:173]: Product: Microsoft Azure Service Fabric SDK -- This product requires Service Fabric Runtime version 5.7.198.9494 to be installed.
Action ended 11:03:39: LaunchConditions. Return value 3.
Action ended 11:03:39: INSTALL. Return value 3.
MSI (s) (98:F0) [11:03:39:175]: Note: 1: 1708
MSI (s) (98:F0) [11:03:39:175]: Note: 1: 2205 2: 3: Error
MSI (s) (98:F0) [11:03:39:175]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1708
MSI (s) (98:F0) [11:03:39:175]: Note: 1: 2205 2: 3: Error
MSI (s) (98:F0) [11:03:39:175]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709
MSI (s) (98:F0) [11:03:39:175]: Product: Microsoft Azure Service Fabric SDK -- Installation failed.
MSI (s) (98:F0) [11:03:39:175]: Windows Installer installed the product. Product Name: Microsoft Azure Service Fabric SDK. Product Version: 2.7.198.9494. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 1603.
MSI (s) (98:F0) [11:03:39:177]: Deferring clean up of packages/files, if any exist
MSI (s) (98:F0) [11:03:39:177]: MainEngineThread is returning 1603
MSI (s) (98:E0) [11:03:39:179]: RESTART MANAGER: Session closed.
MSI (s) (98:E0) [11:03:39:179]: No System Restore sequence number for this installation.
=== Logging stopped: 9/4/2017 11:03:39 ===
MSI (s) (98:E0) [11:03:39:180]: User policy value 'DisableRollback' is 0
MSI (s) (98:E0) [11:03:39:180]: Machine policy value 'DisableRollback' is 0
MSI (s) (98:E0) [11:03:39:180]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (98:E0) [11:03:39:182]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (98:E0) [11:03:39:182]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (98:E0) [11:03:39:182]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (7C:18) [11:03:39:183]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (7C:18) [11:03:39:184]: MainEngineThread is returning 1603
=== Verbose logging stopped: 9/4/2017 11:03:39 ===
Does anybody have any ideas what am I doing wrong? Thank you.
UPD
Here it is a log I've got after I tried to install SF Runtime.
DownloadManager Information: 0 : Starting EXE command for product 'Microsoft Visual C++ 2012 SP1 Redistributable Package (x64)'. Commandline is: 'C:\Users\kv-user\AppData\Local\Microsoft\Web Platform Installer\installers\VC11Redist_x64\ABE47E4996CF0409A794C1844F1FA8404032EDB2\vcredist_x64.exe /q /norestart'. Process Id: 2660
DownloadManager Information: 0 : Install exit code for product 'Microsoft Visual C++ 2012 SP1 Redistributable Package (x64)' is '0'
DownloadManager Information: 0 : Install return code for product 'Microsoft Visual C++ 2012 SP1 Redistributable Package (x64)' is Success
DownloadManager Information: 0 : Product Microsoft Visual C++ 2012 SP1 Redistributable Package (x64) done install completed
DownloadManager Information: 0 : Increasing current install to 2
DownloadManager Information: 0 : Number of bytes downloaded over the internet: '41922560'
DownloadManager Information: 0 : Number of bytes after possible decompression: '41922560'
DownloadManager Information: 0 : Moving downloaded file 'C:\Users\kv-user\AppData\Local\Temp\3\tmp9897.tmp' to: C:\Users\kv-user\AppData\Local\Microsoft\Web Platform Installer\installers\WindowsAzurePowershellGet\1F4FCC5E92035BE0907B4E83AC8661B13C0C2FA6\azure-powershell.4.3.1.msi
DownloadManager Information: 0 : Using cached file at C:\Users\kv-user\AppData\Local\Microsoft\Web Platform Installer\installers\ServiceFabricRuntime_5_7\C3ACBAF5C375D7E8834907EB208BA5EA92C507DA\MicrosoftServiceFabric.5.7.198.9494.exe instead of downloading from https://download.microsoft.com/download/2/9/E/29E129A2-5C20-46A6-83EB-A4958097DC2E/MicrosoftServiceFabric.5.7.198.9494.exe
DownloadManager Information: 0 : Starting MSI install for msi 'C:\Users\kv-user\AppData\Local\Microsoft\Web Platform Installer\installers\WindowsAzurePowershellGet\1F4FCC5E92035BE0907B4E83AC8661B13C0C2FA6\azure-powershell.4.3.1.msi', commandline: 'ACTION=INSTALL REBOOT=ReallySuppress'
DownloadManager Information: 0 : Using cached file at C:\Users\kv-user\AppData\Local\Microsoft\Web Platform Installer\installers\ServiceFabricSDK_2_7\6ACC7553812DE4F9F48427A124789298BC44E8F4\MicrosoftServiceFabricSDK.2.7.198.msi instead of downloading from https://download.microsoft.com/download/2/9/E/29E129A2-5C20-46A6-83EB-A4958097DC2E/MicrosoftServiceFabricSDK.2.7.198.msi
DownloadManager Information: 0 : MSI install return value for product 'Microsoft Azure PowerShell' is '0'
DownloadManager Information: 0 : Install return code for product 'Microsoft Azure PowerShell' is Success
DownloadManager Information: 0 : Microsoft Azure PowerShell installation log: C:\Users\kv-user\AppData\Local\Microsoft\Web Platform Installer\logs\install\2017-09-04T12.25.32\azure-powershell.4.3.1.txt
DownloadManager Information: 0 : Product Microsoft Azure PowerShell done install completed
DownloadManager Information: 0 : Increasing current install to 3
DownloadManager Information: 0 : Starting EXE command for product 'Microsoft Azure Service Fabric Runtime - 5.7.198'. Commandline is: 'C:\Windows\sysnative\cmd.exe /c wmic product where name="Microsoft Azure Service Fabric" call uninstall'. Process Id: 1256
DownloadManager Information: 0 : Install exit code for product 'Microsoft Azure Service Fabric Runtime - 5.7.198' is '0'
DownloadManager Information: 0 : Ignoring exit code '0' for product 'Microsoft Azure Service Fabric Runtime - 5.7.198'
DownloadManager Information: 0 : Starting EXE command for product 'Microsoft Azure Service Fabric Runtime - 5.7.198'. Commandline is: 'C:\Users\kv-user\AppData\Local\Microsoft\Web Platform Installer\installers\ServiceFabricRuntime_5_7\C3ACBAF5C375D7E8834907EB208BA5EA92C507DA\MicrosoftServiceFabric.5.7.198.9494.exe /AcceptEULA'. Process Id: 1816
DownloadManager Information: 0 : Install exit code for product 'Microsoft Azure Service Fabric Runtime - 5.7.198' is '1'
DownloadManager Error: 0 : Install return code for product 'Microsoft Azure Service Fabric Runtime - 5.7.198' is Failure
DownloadManager Information: 0 : Product Microsoft Azure Service Fabric Runtime - 5.7.198 done install completed
DownloadManager Information: 0 : Increasing current install to 4
DownloadManager Warning: 0 : Dependency failed for product 'Microsoft Azure Service Fabric SDK - 2.7.198'. Skipping install
DownloadManager Information: 0 : Product Microsoft Azure Service Fabric SDK - 2.7.198 had a dependency fail. Increasing install product to 5
DownloadManager Warning: 0 : Dependency failed for product 'Microsoft Azure Service Fabric SDK - 2.7.198'. Skipping install
DownloadManager Information: 0 : Product Microsoft Azure Service Fabric SDK - 2.7.198 had a dependency fail. Increasing install product to 6
DownloadManager Information: 0 : Product: VC11Redist_x64, Install Status: InstallCompleted-Success, Install Time: 00:00:01.2656949
DownloadManager Information: 0 : Product: WindowsAzurePowershellGet, Install Status: InstallCompleted-Success, Install Time: 00:00:52.7939372
DownloadManager Information: 0 : Product: ServiceFabricRuntime_5_7, Install Status: InstallCompleted-Failure, Install Time: 00:00:20.0043778
DownloadManager Information: 0 : Product: ServiceFabricSDK_2_7, Install Status: DependencyFailed-None, Install Time: 00:00:00
DownloadManager Information: 0 : Product: MicrosoftAzure-ServiceFabric-CoreSDK, Install Status: DependencyFailed-None, Install Time: 00:00:00
UPD2
That is what I've got from logs.:
DownloadManager Information: 0 : Starting EXE command for product 'Microsoft Azure Service Fabric Runtime - 5.7.198'. Commandline is: 'C:\Users\kv-user\AppData\Local\Microsoft\Web Platform Installer\installers\ServiceFabricRuntime_5_7\C3ACBAF5C375D7E8834907EB208BA5EA92C507DA\MicrosoftServiceFabric.5.7.198.9494.exe /AcceptEULA'. Process Id: 3892
DownloadManager Information: 0 : Install exit code for product 'Microsoft Azure Service Fabric Runtime - 5.7.198' is '1'
DownloadManager Error: 0 : Install return code for product 'Microsoft Azure Service Fabric Runtime - 5.7.198' is Failure
Then I tried to do it manually using PS (and the command inside), and what I've got:
I have Undefined CurrentUser. How could this happen..?
UPD3
Full redeploy of VM worked for me. Unfortunately problem still a guess for me.
Uninstall all components if any installed by Service Fabric like Azure Service Fabric(runtime), Azure Service Fabric SDK and Azure Service Fabric tools for visual studio (for example in case of VS2015).
Reinstall them in a sequence of Azure Service Fabric(runtime), Azure Service Fabric SDK and Azure Service Fabric tools for visual studio. It worked for me.
Clean redeploy for VM works for me. Unfortunately I could not give another more detailed answer or describtion on happended problem, but after full delete and totally new VM creation ServiceFabric SDK installed sucessfully.
Thank you Shridhar R. Kulkarni
I have been trying to install Microsoft exchange for a week now. I am pretty sure I have all the prerequisites, but this error keeps popping up:
Summary: 3 item(s). 2 succeeded, 1 failed.
Elapsed time: 00:01:14
Configuring Prerequisites
Failed
Error:
The following error was generated when "$error.Clear();
if($RoleInstallWindowsComponents)
{
# Install any Windows Roles or Features required for the Management Tools role
if ($RoleIsWindows8OrHigher)
{
if($RoleADToolsNeeded)
{
$ADToolsNeeded = 1
}
else
{
$ADToolsNeeded = 0
}
Invoke-Expression " Powershell -Command {& $RoleBinPath\InstallWindowsComponent.ps1 -ShortNameForRole AdminTools -ADToolsNeeded $ADToolsNeeded} "
}
else
{
Install-WindowsComponent -ShortNameForRole "AdminTools" -ADToolsNeeded $RoleADToolsNeeded
}
}
" was run: "[11:56:49] [Error] System.Exception: The target of the specified cmdlet cannot be a Windows client-based operating system.
at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)".
[11:56:49] [Error] System.Exception: The target of the specified cmdlet cannot be a Windows client-based operating system.
at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)
Click here for help... http://technet.microsoft.com/en-US/library/ms.exch.err.default(EXCHG.141).aspx?v=14.3.123.3&e=ms.exch.err.Ex88D115&l=0&cl=cp
Error:
The following error was generated when "$error.Clear();
if($RoleInstallWindowsComponents)
{
# Install any Windows Roles or Features required for the Management Tools role
if ($RoleIsWindows8OrHigher)
{
if($RoleADToolsNeeded)
{
$ADToolsNeeded = 1
}
else
{
$ADToolsNeeded = 0
}
Invoke-Expression " Powershell -Command {& $RoleBinPath\InstallWindowsComponent.ps1 -ShortNameForRole AdminTools -ADToolsNeeded $ADToolsNeeded} "
}
else
{
Install-WindowsComponent -ShortNameForRole "AdminTools" -ADToolsNeeded $RoleADToolsNeeded
}
}
" was run: "The target of the specified cmdlet cannot be a Windows client-based operating system.".
The target of the specified cmdlet cannot be a Windows client-based operating system.
Click here for help... http://technet.microsoft.com/en-US/library/ms.exch.err.default(EXCHG.141).aspx?v=14.3.123.3&e=ms.exch.err.Ex88D115&l=0&cl=cp
Elapsed Time: 00:00:22
Management Tools Prerequisites
Completed
Elapsed Time: 00:00:48
Languages Prerequisites
Completed
Elapsed Time: 00:00:04
The key is this message:
The target of the specified cmdlet cannot be a Windows client-based operating system.
Meaning: You can't install it on Windows 8.1. It has to be installed on Windows Server.