Get the error message below when trying to install the Exchange Server 2013 on windows 2012. Previously did install one time but didn't put in the prerequisite such as prepare Ad, schema and etc properly. Then uninstall it by deleting the folders and registry. Not sure whether that will got affect on current installation or not.
An unexpected error has occurred and a Watson dump is being generated: The foll
owing error was generated when "$error.Clear();
if ($RoleProductPlatform -eq "amd64")
{
$fastInstallConfigPath = Join-Path -Path $RoleBinPath -ChildPath
"Search\Ceres\Installer";
$command = Join-Path -Path $fastInstallConfigPath -ChildPath "In
stallConfig.ps1";
$dataFolderPath = Join-Path -Path $RoleBinPath -ChildPath "Searc
h\Ceres\HostController\Data";
try
{
# the BasePort value MUST be kept in sync with dev\Search\sr
c\OperatorSchema\SearchConfig.cs
&$command -action i -baseport 3800 -dataFolder $dataFolderPa
th -silent;
}
catch
{
$errorMsg = "Failure configuring SearchFoundation through in
stallconfig.ps1 - " + $_.Exception.Message;
Write-ExchangeSetupLog -Error $errorMsg;
# Clean up the failed configuration attempt.
&$command -action u -silent;
try
{
if ([System.IO.Directory]::Exists($dataFolderPath))
{
[System.IO.Directory]::Delete($dataFolderPath, $true
);
}
}
catch
{
$deleteErrorMsg = "Failure cleaning up SearchFoundation
Data folder. - " + $dataFolderPath + " - " + $_.Exception.Message;
Write-ExchangeSetupLog -Error $deleteErrorMsg;
}
}
}
" was run: "Error occurred while uninstalling Search Foundation for Exch
ange.System.InvalidOperationException: Service SearchExchangeTracing was not fou
nd on computer '.'. ---> System.ComponentModel.Win32Exception: The specified ser
vice does not exist as an installed service
--- End of inner exception stack trace ---
at System.ServiceProcess.ServiceController.GenerateNames()
at System.ServiceProcess.ServiceController.get_ServiceName()
at System.ServiceProcess.ServiceController.GenerateStatus()
at System.ServiceProcess.ServiceController.get_Status()
at Microsoft.Ceres.Exchange.PostSetup.DeploymentManager.StopService(String se
rviceName, Int32 timeoutInSeconds)
at Microsoft.Ceres.Exchange.PostSetup.DeploymentManager.Uninstall(String inst
allDirectory, String logFile)
at CallSite.Target(Closure , CallSite , Type , Object , Object )".
The following error was generated when "$error.Clear();
if ($RoleProductPlatform -eq "amd64")
{
$fastInstallConfigPath = Join-Path -Path $RoleBinPath -ChildPath
"Search\Ceres\Installer";
$command = Join-Path -Path $fastInstallConfigPath -ChildPath "In
stallConfig.ps1";
$dataFolderPath = Join-Path -Path $RoleBinPath -ChildPath "Searc
h\Ceres\HostController\Data";
try
{
# the BasePort value MUST be kept in sync with dev\Search\sr
c\OperatorSchema\SearchConfig.cs
&$command -action i -baseport 3800 -dataFolder $dataFolderPa
th -silent;
}
catch
{
$errorMsg = "Failure configuring SearchFoundation through in
stallconfig.ps1 - " + $_.Exception.Message;
Write-ExchangeSetupLog -Error $errorMsg;
# Clean up the failed configuration attempt.
&$command -action u -silent;
try
{
if ([System.IO.Directory]::Exists($dataFolderPath))
{
[System.IO.Directory]::Delete($dataFolderPath, $true
);
}
}
catch
{
$deleteErrorMsg = "Failure cleaning up SearchFoundation
Data folder. - " + $dataFolderPath + " - " + $_.Exception.Message;
Write-ExchangeSetupLog -Error $deleteErrorMsg;
}
}
}
" was run: "Error occurred while uninstalling Search Foundation for Exch
ange.System.InvalidOperationException: Service SearchExchangeTracing was not fou
nd on computer '.'. ---> System.ComponentModel.Win32Exception: The specified ser
vice does not exist as an installed service
--- End of inner exception stack trace ---
at System.ServiceProcess.ServiceController.GenerateNames()
at System.ServiceProcess.ServiceController.get_ServiceName()
at System.ServiceProcess.ServiceController.GenerateStatus()
at System.ServiceProcess.ServiceController.get_Status()
at Microsoft.Ceres.Exchange.PostSetup.DeploymentManager.StopService(String se
rviceName, Int32 timeoutInSeconds)
at Microsoft.Ceres.Exchange.PostSetup.DeploymentManager.Uninstall(String inst
allDirectory, String logFile)
at CallSite.Target(Closure , CallSite , Type , Object , Object )".
The Exchange Server setup operation didn't complete. More details can be found
in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs f