Link to home
Start Free TrialLog in
Avatar of Lee Fowler
Lee FowlerFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Exchange 2016 install absolute nightmare

Hi all hope your all well and hope to learn a lot from joining today.

long story short...

installed dc (on 2012r2) afp0001
installed exchange 2016 (on 2012) ecf0001 successfully!! linked to mimecast etc.
told to upgrade to CU4 - crashed. error pointed out that the FIPS policy was applied. (FIPS GPO has now been moved)
burned the server after several attemps to fix
new server (on 2012r2) (ecf0002) CU4 went on but kept getting error 500 upon login (hindsight... this was the best position i was in and should have tried to fix this)

now...
removed the iis entries from under sites from ecf0002
removed the bineries from ecf0002
removed the reg entries from ecf0002
removed the mailboxes from users and comp in afp0001
removed the four entries from adsi edit in afp0001

rerun setup...

gets to installing malboxes 6/11 (i think)
 and get the following error...

Error:
The following error was generated when "$error.Clear(); 
          Install-ExchangeCertificate -services IIS -DomainController $RoleDomainController
          if ($RoleIsDatacenter -ne $true -And $RoleIsPartnerHosted -ne $true)
          {
            Install-AuthCertificate -DomainController $RoleDomainController
          }
        " was run: "Microsoft.Exchange.Management.Metabase.IISGeneralCOMException: An IIS directory entry couldn't be created. 

The error message is The system cannot find the path specified.
. HResult = -2147024893 ---> System.Runtime.InteropServices.COMException: The system cannot find the path specified.

   at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
   at System.DirectoryServices.DirectoryEntry.Bind()
   at System.DirectoryServices.DirectoryEntry.RefreshCache()
   at System.DirectoryServices.DirectoryEntry.FillCache(String propertyName)
   at System.DirectoryServices.PropertyCollection.KeysCollection.GetEnumerator()
   at Microsoft.Exchange.Management.Metabase.IisUtility.GetProperties(DirectoryEntry webObj)
   --- End of inner exception stack trace ---
   at Microsoft.Exchange.Management.Metabase.IisUtility.GetProperties(DirectoryEntry webObj)
   at Microsoft.Exchange.Management.Metabase.IisUtility.GetWebSiteSslCertificate(String webObjectPath)
   at Microsoft.Exchange.Management.SystemConfigurationTasks.InstallExchangeCertificate.FindIisCertificate()
   at Microsoft.Exchange.Management.SystemConfigurationTasks.InstallExchangeCertificate.InternalProcessRecord()
   at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__c()
   at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean 

terminatePipelineIfFailed)".

Open in new window



Thank you very much for the time reading my mess
Avatar of Ivan
Ivan
Flag of Serbia image

Hi,

so you have first tried to deploy exchange on same server, that is hosting DC roles? Are you still traying to do it on same machine, or are you deploying in on ecf0002?

Regards,
Ivan.
Avatar of Lee Fowler

ASKER

Hi Ivan,
I have never tried to install the exchange SW on the DC.
In the infrastructure now there are 3 servers
DC
Exch 1 (which will be decommissioned) (and is turned off)
Exch 2 (which will need fixing as that is where im running the install from now and getting the error)
Hi,

do you have IIS deployed? The error says: An IIS directory entry couldn't be created
Can you check if there is default site in it? If it is missing, I would suggest to create it, or run all the prereq again.

Did you deploy all the prereq, for Exchange... Below are prereq for Windows 2012r2, so if you have not run this, run it now :)

Install-WindowsFeature AS-HTTP-Activation, Desktop-Experience, NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, RSAT-Clustering-Mgmt, RSAT-Clustering-PowerShell, Web-Mgmt-Console, WAS-Process-Model, Web-Asp-Net45, Web-Basic-Auth, Web-Client-Auth, Web-Digest-Auth, Web-Dir-Browsing, Web-Dyn-Compression, Web-Http-Errors, Web-Http-Logging, Web-Http-Redirect, Web-Http-Tracing, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Lgcy-Mgmt-Console, Web-Metabase, Web-Mgmt-Console, Web-Mgmt-Service, Web-Net-Ext45, Web-Request-Monitor, Web-Server, Web-Stat-Compression, Web-Static-Content, Web-Windows-Auth, Web-WMI, Windows-Identity-Foundation
Hi Ivan,

IIS 8 is installed on ECF0002 it has the breakdown SERVER>SITES with no further breakdown within.
IIS 6 there is nothing in there.

Yes all pre-reqs were done and the install button lights up allowing me to progress

I have run the above command...
 still the same
ASKER CERTIFIED SOLUTION
Avatar of Ivan
Ivan
Flag of Serbia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You download the Exchange 2016 again. Looks like corruption in the setup file to me.
SOLVED
IIS was corrupted. And the root folder was missing.
IIS remove and re-add didnt work. The root folders were copied from the DC to the ECF and the setup run through fine.

There is another issue now of error 500 after ECP login - ill go off and google but if there is a quick fix for this then that info would be greatly appreciated.
You have corrupt installation. I might do with clean one after re-downloading Exchange 2016 again.
we cant uninstal or reinstall as the uninstall option fails,

Exchange Powershell gives the following error (if anyone can shed some light while i google)
VERBOSE: Connecting to ECF0002.internal.xxx.co.uk.
New-PSSession : [ECF0002.internal.xxx.co.uk] Connecting to remote server
ECF0002.internal.xxx.co.uk failed with the following error message : The WinRM client received an
HTTP status code of 403 from the remote WS-Management service. For more information, see the
about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
   gTransportException
    + FullyQualifiedErrorId : -2144108273,PSSessionOpenFailed
Failed to connect to an Exchange server in the current site.
Enter the server FQDN where you want to connect.:

Open in new window

This solution pointed me in the right direction and it made me find the solution