Error installing Microsoft Exchange - windows-8.1

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.

Related

"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)

"Win32Exception: The subsystem needed to support the image type is not present" when deploying Fabric Cluster on Nano Server

I am deploying a Service Fabric Cluster on Nano Server using the secure-cluster-5-node template (https://github.com/Azure/azure-quickstart-templates/tree/master/service-fabric-secure-cluster-5-node-1-nodetype)
I get the following error:
Operation xxx
Tracking xxx
StatusConflict
Provisioning StateFailed
Timestamp‎6‎/‎22‎/‎2017‎ ‎13‎:‎05‎:‎14
Duration6 minutes 11 seconds
TypeMicrosoft.Compute/virtualMachineScaleSets
Resource Id/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Compute/virtualMachineScaleSets/nt1vm
StatusMessage{
"status": "Failed",
"error": {
"code": "ResourceDeploymentFailure",
"message": "The resource operation completed with terminal provisioning state 'Failed'.",
"details": [
{
"code": "VMExtensionHandlerNonTransientError",
"message": "Handler 'Microsoft.Azure.ServiceFabric.ServiceFabricNode' has reported failure for VM Extension 'ServiceFabricNodeVmExt_vmNodeType0Name' with terminal error code '1007' and error message: 'Install failed for plugin (name: Microsoft.Azure.ServiceFabric.ServiceFabricNode, version 1.0.0.35). Exception:\nSystem.ComponentModel.Win32Exception: The subsystem needed to support the image type is not present\r\n at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)\r\n at Microsoft.Azure.Agent.StateMachine.HandlerStateMachine.InvokeCommand(String command, PluginArtifacts pluginArtifact, String pluginVersion, String pluginFolder, String pluginLogFolder, Int32 processWaitTimeout, PluginEventType startType, PluginEventType endType)\r\n at Microsoft.Azure.Agent.StateMachine.HandlerStateMachine.InstallHandler(PluginArtifacts artifact)'"
}
]
}
}
The settings are using in the ARM template for the os is:
"vmImagePublisher": {
"value": "MicrosoftWindowsServer"
},
"vmImageOffer": {
"value": "WindowsServer"
},
"vmImageSku": {
"value": "2016-Nano-Server"
},
"vmImageVersion": {
"value": "latest"
},
Any idea on how to troubleshoot this?
For now, Nano Server is not supported by Service Fabric Cluster. Please refer to this link.
You are able to create clusters on VMs running these operating
systems:
Windows Server 2012 R2
Windows Server 2016
Linux Ubuntu 16.04(in public preview)
You also could check it on Azure Portal. 2016-Nano-Server could not be selected.

Puppet manifests file which is running fine on windows 7, returning error on windows server 2008

I am working on the puppet manifests file to install and upgrade few of the application on the windows machine.
The code I have made is doing exactly what I wanted on the windows 7 machine, but when the same code is running on the windows server 2008 machine, it is returning following error:
Error: Could not prefetch package provider 'windows': Type 0 is not supported.
Error: /Stage[main]/Main/Package[Apache Tomcat 7.0 Tomcat7 (remove only)]: Coul
not evaluate: Type 0 is not supported.
Error: /Stage[main]/Main/Package[Java 8 Update 92 (64-bit)]: Could not evaluate
Type 0 is not supported.
Error: /Stage[main]/Main/Package[Microsoft .NET Framework 4.5.1]: Could not eva
uate: Type 0 is not supported.
Here is the code I am running
package { 'Java 8 Update 92 (64-bit)' :
ensure => installed,
source => 'C:\ProgramData\PuppetLabs\temp\jdk-8u92-windows-x64.exe',
install_options => ['/s',{ 'INSTALLDIR' => 'C:\opt\java' }],
provider => windows
}

Puppet exit code 6

I am trying to install Microsoft C++ 2010 Runtime Components for a 32 bit windows 7 machine using puppet script.
The block of code I have is --
package {'Microsoft2010RuntimeComponents32' :
ensure => 'installed',
source => "${src}\\vc2010_redist\\vcredist_x86.exe",
install_options => ["/q","/log"=>"${log_5}"],
}
When I run puppet agent --test it is exiting with the error code 6 and I am receiving the error as
1;31mError: Could not set 'present' on ensure: Invalid argument - ruby_setenv at 13:/etc/puppet/modules/module_name/manifests/test.pp
Not aware of this ruby_setenv error. Can somebody pls help !!

Resources