ServiceFabric SDK installation failed - azure

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

Related

Azure Cosmos Db Emulator starting but never start

I use Azure Cosmos Db Emulator for about 1 year now and it’s the 3de time it sudently stop working.
The only way i found for resolve the problem was to do a complete re-install of windows 10 …
My configuration :
Windows 10 Pro
Administrator privilege
Domain link to AAD
Antivirus software : ESET Endpoint antivirus 9.1.2051.0
Intel(R) Core(TM) i5-4670 CPU # 3.40GHz 3.40 GHz
32 Go of RAM
All my software installed on C :
I try this in command prompt (as Administrator) :
Clear performance counter before start
Microsoft.Azure.Cosmos.Emulator.exe /shutdown
lodctr /R (2 time to be sure)
Microsoft.Azure.Cosmos.Emulator.exe
Result :
The notification for « Starting » show up
A dump file is create in AppData/Local/CrashDumps
The notification that the emulator is « start » never come
The web page never open
Uninstall – re-install
Microsoft.Azure.Cosmos.Emulator.exe /shutdown
Delete folder AppData\Local\CosmosDBEmulator
Uninstall Cosmos Db Emulator
Delete folder C:\Program Files\Azure Cosmos DB Emulator
Restart the computer
Install last app version : azure-cosmosdb-emulator-2.14.9-3c8bff92.msi
Check for start the emulator after install end
Result :
Same result than 1)
Start trace
- Microsoft.Azure.Cosmos.Emulator.exe /shutdown
- Microsoft.Azure.Cosmos.Emulator.exe /startwprtraces
- Microsoft.Azure.Cosmos.Emulator.exe
- [wait for 1 minute]
- Microsoft.Azure.Cosmos.Emulator.exe /stopwprtraces
- Microsoft.Azure.Cosmos.Emulator.exe /shutdown
Result :
The notification for « Starting » show up
A dump file is create in AppData/Local/CrashDumps
Until the 1 minute of waiting , a dump file was created for about every 20/30s
When i execute Microsoft.Azure.Cosmos.Emulator.exe /stopwprtraces, a docdbemulator_001.etl was created in C:\Program Files\Azure Cosmos DB Emulator
The notification that the emulator is « start » never come
The web page never open
I try to read the dump file with WinDbg.exe and i found this error message :
CLR_EXCEPTION_System.Collections.Generic.KeyNotFoundException_80131577_Microsoft.Azure.Documents.Common.dll!Microsoft.Azure.Documents.Common.Service.WindowsFabricConfigurationProvider.GetValue
And the stack trace was :
00000085`583feb40 00007ffe`49323302 Microsoft_Azure_Documents_Common!Microsoft.Azure.Documents.Common.Service.WindowsFabricConfigurationProvider.GetValue+0x52
00000085`583feb80 00007ffe`493230cb Microsoft_Azure_Documents_Common!Microsoft.Azure.Documents.Common.CrashDump.Register+0xdb
00000085`583febf0 00007ffe`48f673ee Microsoft_Azure_Cosmos_Compute_Host_ServiceFabric_EntryPoint!Microsoft.Azure.Cosmos.Compute.Host.ServiceFabric.EntryPoint.EntryPoint.CosmosDBGatewayInit+0x56e
00000085`583fecf0 00007ffe`48f51465 Microsoft_Azure_Cosmos_Compute_Host_ServiceFabric_EntryPoint!Microsoft.Azure.Cosmos.Compute.Host.ServiceFabric.EntryPoint.EntryPoint.Main+0x295
In windows logs I found the same error description (in french):
Application : Microsoft.Azure.Cosmos.Compute.Host.ServiceFabric.EntryPoint.exe Version du Framework : v4.0.30319 Description : le processus a été arrêté en raison d'une exception non gérée. Informations sur l'exception : System.Collections.Generic.KeyNotFoundException à Microsoft.Azure.Documents.Common.Service.WindowsFabricConfigurationProvider.GetValue(System.String) à Microsoft.Azure.Documents.Common.CrashDump.Register(System.Collections.Generic.IEnumerable`1<System.String>, Microsoft.Azure.Cosmos.Core.IConfigurationProvider) à Microsoft.Azure.Cosmos.Compute.Host.ServiceFabric.EntryPoint.EntryPoint.CosmosDBGatewayInit(System.Fabric.CodePackageActivationContext, System.String) à Microsoft.Azure.Cosmos.Compute.Host.ServiceFabric.EntryPoint.EntryPoint.Main(System.String[])
And
Microsoft.Azure.Cosmos.Compute.Host.ServiceFabric.EntryPoint.exe
2.14.0.0
bc4d0da5
KERNELBASE.dll
10.0.19041.1889
e9ede6d6
e0434352
0000000000034fd9
4360
01d8b7ac99b3d711
C:\Program Files\Azure Cosmos DB Emulator\Packages\CosmosGatewayService\CosmosGatewayService.Code\EP\Microsoft.Azure.Cosmos.Compute.Host.ServiceFabric.EntryPoint.exe
C:\WINDOWS\System32\KERNELBASE.dll
01134c47-5efa-4d7a-a243-15af35536df0
Finaly I found that Cosmos Db create 3 Security Groups that are not delete on uninstall.
I delete all 3 and remove all registry reference on each. (searching for Cosmos Db and DocDb)
Now when i reinstall all work properly !
Thanks you David for your help.
I tried all of the above, the security groups are under Computer management
DocDbGatewayService
DocDBMasterService
DocDbServerService
This still didn't clear it for me, I did find the following in the Event Log
Application:
Microsoft.Azure.Cosmos.Compute.Host.ServiceFabric.EntryPoint.exe
Framework Version: v4.0.30319 Description: The process was terminated
due to an unhandled exception. Exception Info:
System.Collections.Generic.KeyNotFoundException at
Microsoft.Azure.Documents.Common.Service.WindowsFabricConfigurationProvider.GetValue(System.String)
at
Microsoft.Azure.Documents.Common.CrashDump.Register(System.Collections.Generic.IEnumerable`1<System.String>,
Microsoft.Azure.Cosmos.Core.IConfigurationProvider) at
Microsoft.Azure.Cosmos.Compute.Host.ServiceFabric.EntryPoint.EntryPoint.CosmosDBGatewayInit(System.Fabric.CodePackageActivationContext,
System.String) at
Microsoft.Azure.Cosmos.Compute.Host.ServiceFabric.EntryPoint.EntryPoint.Main(System.String[])
And I managed to clear the issue with the following command
netsh http add iplisten ipaddress:0.0.0.0
This was taken from this thread - https://github.com/MicrosoftDocs/azure-docs/issues/6788

"SPManager.Initialize failed" when running PSConfig on sharepoint 2013

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.

Issue in installing MS Service Fabric SDK 3.2.162

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)

Xcode 9 Beta 2 fails - DVTPlugInErrorDomain plugin load fails

After downloading from Apple's site and installing Xcode 9 beta 2, it fails to launch on Sierra OS X version 10.12.5 with a following bug report:
Process: Xcode [4789] Path:
/Applications/Xcode-beta.app/Contents/MacOS/Xcode Identifier:
com.apple.dt.Xcode Version: 9.0 (13158.29) Build Info:
IDEFrameworks-13158029000000000~6 Code Type: X86-64
(Native) Parent Process: ??? [1] Responsible: Xcode
[4789] User ID: 501
Date/Time: 2017-07-10 09:27:38.822 +0300 OS Version:
Mac OS X 10.12.5 (16F73) Report Version: 12 Anonymous UUID:
D8406E47-CD80-D96B-2976-599E84980DE2
Sleep/Wake UUID: A8F0AF0B-2FF1-45A9-89AD-505F25730705
Time Awake Since Boot: 20000 seconds Time Since Wake: 3800
seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT) Exception Codes:
0x0000000000000000, 0x0000000000000000 Exception Note:
EXC_CORPSE_NOTIFY
Application Specific Information: ProductBuildVersion: 9M137d UNCAUGHT
EXCEPTION (NSInternalInconsistencyException): Error getting value for
parameter key 'name' of extension
'Xcode.InterfaceBuilderKit.PepperIntegration.Singletons' in plug-in
'com.apple.dt.IDE.IDEInterfaceBuilderWatchKitIntegration' UserInfo: {
NSUnderlyingError = "Error Domain=DVTPlugInErrorDomain Code=2 \"Loading a plug-in failed.\"
UserInfo={DVTPlugInIdentifierErrorKey=com.apple.dt.IDE.IDEInterfaceBuilderCocoaTouchIntegration,
DVTPlugInExecutablePathErrorKey=/Applications/Xcode-beta.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration,
NSLocalizedRecoverySuggestion=The plug-in or one of its prerequisite
plug-ins may be missing or damaged and may need to be reinstalled.,
DVTPlugInDYLDErrorMessageErrorKey=dlopen(/Applications/Xcode-beta.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration,
0): Library not loaded:
/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator\n
Referenced from:
/Applications/Xcode-beta.app/Contents/Developer/Library/PrivateFrameworks/SimulatorKit.framework/Versions/A/SimulatorKit\n
Reason: image not found, NSLocalizedDescription=Loading a plug-in
failed.,
NSFilePath=/Applications/Xcode-beta.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework,
NSLocalizedFailureReason=The plug-in
\U201ccom.apple.dt.IDE.IDEInterfaceBuilderCocoaTouchIntegration\U201d
at path
\U201c/Applications/Xcode-beta.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework\U201d
could not be loaded. The plug-in or one of its prerequisite plug-ins
may be missing or damaged., NSUnderlyingError=0x7fc8df3cb340 {Error
Domain=NSCocoaErrorDomain Code=3587
\"dlopen_preflight(/Applications/Xcode-beta.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration):
Library not loaded:
/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator\n
Referenced from:
/Applications/Xcode-beta.app/Contents/Developer/Library/PrivateFrameworks/SimulatorKit.framework/Versions/A/SimulatorKit\n
Reason: image not found\" UserInfo={NSLocalizedFailureReason=The
bundle is damaged or missing necessary resources.,
NSLocalizedRecoverySuggestion=Try reinstalling the bundle.,
NSFilePath=/Applications/Xcode-beta.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration,
NSDebugDescription=dlopen_preflight(/Applications/Xcode-beta.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration):
Library not loaded:
/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator\n
Referenced from:
/Applications/Xcode-beta.app/Contents/Developer/Library/PrivateFrameworks/SimulatorKit.framework/Versions/A/SimulatorKit\n
Reason: image not found,
NSBundlePath=/Applications/Xcode-beta.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework,
NSLocalizedDescription=The bundle
\U201cIDEInterfaceBuilderCocoaTouchIntegration\U201d couldn\U2019t be
loaded because it is damaged or missing necessary resources.}}}"; }
I had the same issue. I have reinstalled XcodeSystemResources.pkg package. You will find it in here:
/Applications/Xcode.app/Contents/Resources/Packages/XcodeSys‌​temResources.pkg
The installer will recreate /Library/Developer/PrivateFrameworks folder with its content. After that Xcode 9 started working for me.

Error installing Microsoft Exchange

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.

Resources