Exchange
--
Questions
--
Followers
Top Experts
An unexpected error occurred and your request couldn't be handled.
X-ClientId: 49DBB0A7F8B3491893124058DE
request-id 57f2763f-d11a-440d-98a6-82
X-OWA-Error System.IO.FileNotFoundExce
X-OWA-Version 15.1.1779.2
When i try to browse the to autodiscover URL I get the following:
Server Error in '/Autodiscover' Application.
Could not load file or assembly 'Microsoft.Exchange.AutoDi
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundExce
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.Exchange.AutoDi
Stack Trace:
[FileNotFoundException: Could not load file or assembly 'Microsoft.Exchange.AutoDi
Microsoft.Exchange.Autodis
Microsoft.Exchange.Autodis
[HttpException (0x80004005): Could not load file or assembly 'Microsoft.Exchange.AutoDi
System.Web.HttpApplication
System.Web.HttpApplication
System.Web.HttpApplication
System.Web.HttpApplication
System.Web.Hosting.Pipelin
[HttpException (0x80004005): Could not load file or assembly 'Microsoft.Exchange.AutoDi
System.Web.HttpRuntime.Fir
System.Web.HttpRuntime.Ens
System.Web.HttpRuntime.Pro
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Microsoft.Exchange.AutoDiscover.Conf iguration, Version=15.0.0.0
that is exchange 2013; 15.1.x is Exchange 2016
Any thoughts?






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
https://support.microsoft.com/en-us/help/3099532/event-id-1309-and-you-can-t-access-owa-and-ecp-after-you-install-excha
is this the only Exchange in your organization, or are you doing migration?
Regards,
Ivan.
Error:
The following error was generated when "$error.Clear();
if (get-service MSExchangeServiceHost* | where {$_.name -eq "MSExchangeServiceHost"})
{
restart-service MSExchangeServiceHost
}
" was run: "Microsoft.PowerShell.Comm
--- End of inner exception stack trace ---
at System.ServiceProcess.Serv
at Microsoft.PowerShell.Comma
--- End of inner exception stack trace ---".
Not sure if this is related. Any ideas?

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
The Microsoft Exchange Service Host (MSExchangeServiceHost)' service is disabled, hence ur upgrade is failing.
Please make sure that the
Microsoft Exchange Search
Microsoft Exchange Service Host
The above services are started and up and running, then perform upgrade.
Check:
1. Check the exchange setup log for any errors.
2. Check the registry location: HKEY_LOCAL_MACHINE\SOFTWAR
Underneath exchange key check the mailbox role and client access role for versions i.e.
Configured
Packed version
Both the above versions should be the same.
3. There should not be any watermark keys.
4. Verify all exchange services are started and running.
5. Open powershell if you r unable to open EMS:
Run command: add-psssnapin *e2010*
6. Run command: Get-ExchangeServer | fl name, domain, edition, fqdn, serverrole, site, admindisplayversion
This will show u what version exchange is on.
There is a comment above where your auto-discover version shows 15.0 i.e. exchange 2013 and you said you hv definitely installed exchange 2016 so a cross check is required.
Have you recently upgraded or is this a clean/new install of Exch 2016?
What version(s) did you upgrade from and was it on the same server or a different one?
have you checked the upgrade/install logs to see if anything went wrong?
Also, what Domain controllers/domain/forest level are you running please?






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
[10/22/2019 23:53:31.0932] [1] Executing:
if (get-service MSExchangeServiceHost* | where {$_.name -eq "MSExchangeServiceHost"})
{
if ($RoleDatacenterIsTestEnv)
{
Stop-Process -Name "Microsoft.Exchange.Servic
Sleep -Seconds 15
}
else
{
Stop-service MSExchangeServiceHost
}
Start-service MSExchangeServiceHost
}
[10/22/2019 23:53:32.0257] [1] The following 1 error(s) occurred during task execution:
[10/22/2019 23:53:32.0257] [1] 0. ErrorRecord: Service 'Microsoft Exchange Service Host (MSExchangeServiceHost)' cannot be started due to the following error: Cannot start service MSExchangeServiceHost on computer '.'.
[10/22/2019 23:53:32.0286] [1] 0. ErrorRecord: Microsoft.PowerShell.Comma
--- End of inner exception stack trace ---
at System.ServiceProcess.Serv
at Microsoft.PowerShell.Comma
--- End of inner exception stack trace ---
[10/22/2019 23:53:32.0298] [1] The following error was generated when "$error.Clear();
if (get-service MSExchangeServiceHost* | where {$_.name -eq "MSExchangeServiceHost"})
{
if ($RoleDatacenterIsTestEnv)
{
Stop-Process -Name "Microsoft.Exchange.Servic
Sleep -Seconds 15
}
else
{
Stop-service MSExchangeServiceHost
}
Start-service MSExchangeServiceHost
}
" was run: "Microsoft.PowerShell.Comm
--- End of inner exception stack trace ---
at System.ServiceProcess.Serv
at Microsoft.PowerShell.Comma
--- End of inner exception stack trace ---".
[10/22/2019 23:53:32.0298] [1] Service 'Microsoft Exchange Service Host (MSExchangeServiceHost)' cannot be started due to the following error: Cannot start service MSExchangeServiceHost on computer '.'.
[10/22/2019 23:53:32.0298] [1] Cannot start service MSExchangeServiceHost on computer '.'.
[10/22/2019 23:53:32.0298] [1] The service cannot be started, either because it is disabled or because it has no enabled devices associated with it
[10/22/2019 23:53:32.0299] [1] [ERROR-REFERENCE] Id=ClientAccessComponent__
[10/22/2019 23:53:32.0299] [1] Setup is stopping now because of one or more critical errors.
[10/22/2019 23:53:32.0299] [1] Finished executing component tasks.
[10/22/2019 23:53:32.0350] [1] Ending processing Install-ClientAccessRole
[10/22/2019 23:53:32.0367] [0] CurrentResult console.ProcessRunInternal
[10/22/2019 23:53:32.0382] [0] CurrentResult launcherbase.maincore:90: 1
[10/22/2019 23:53:32.0382] [0] CurrentResult console.startmain:52: 1
[10/22/2019 23:53:32.0382] [0] CurrentResult SetupLauncherHelper.loadas
[10/22/2019 23:53:32.0383] [0] The Exchange Server setup operation didn't complete. More details can be found in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSet
[10/22/2019 23:53:32.0386] [0] CurrentResult main.run:235: 1
[10/22/2019 23:53:32.0386] [0] CurrentResult setupbase.maincore:396: 1
[10/22/2019 23:53:32.0387] [0] End of Setup
What can I do to just completely removed Exchange from the server and AD so I can start re-install Exchange from scratch?
Looks like it a known issue while updating the CU. Please execute the below command on Windows Powershell while the setup in progress:
While (1 -le 2) { Sleep 1 ; Get-Service | Where { $_.DisplayName -Like ‘Microsoft Exchange*’ } | Set-Service –StartupType ‘Automatic’ }
Refer:
https://blogs.technet.microsoft.com/karthikm/2016/09/28/unable-to-upgrade-cu-the-installation-source-for-this-product-is-not-available-verify-that-the-source-exists-and-that-you-can-access-it-error-code-is-1612/
https://oddytee.wordpress.com/2017/11/09/cannot-start-service-msexchangeservicehost-on-computer-during-exchange-cu-update/
try the links Shreedhar has provided and let us know if it doesn't work.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
However, when I went to re-install Exchange using the CU14 download, I received the following:
[10/23/2019 03:11:33.0266] [2] An IIS directory entry couldn't be created. The error message is The system cannot find the path specified.
. HResult = -2147024893
[10/23/2019 03:11:33.0266] [2] The system cannot find the path specified.
[10/23/2019 03:11:33.0274] [2] Ending processing Install-ExchangeCertificat
[10/23/2019 03:11:33.0279] [2] Active Directory session settings for 'Install-AuthCertificate' are: View Entire Forest: 'True', Configuration Domain Controller: 'bateyserver.BATEY.local',
[10/23/2019 03:11:33.0279] [2] User specified parameters: -DomainController:'bateyse
[10/23/2019 03:11:33.0279] [2] Beginning processing Install-AuthCertificate
[10/23/2019 03:11:33.0628] [2] Ending processing Install-AuthCertificate
[10/23/2019 03:11:33.0629] [1] The following 1 error(s) occurred during task execution:
[10/23/2019 03:11:33.0629] [1] 0. ErrorRecord: An IIS directory entry couldn't be created. The error message is The system cannot find the path specified.
. HResult = -2147024893
[10/23/2019 03:11:33.0629] [1] 0. ErrorRecord: Microsoft.Exchange.Managem
. HResult = -2147024893 ---> System.Runtime.InteropServ
at System.DirectoryServices.D
at System.DirectoryServices.D
at System.DirectoryServices.D
at System.DirectoryServices.D
at System.DirectoryServices.P
at Microsoft.Exchange.Managem
--- End of inner exception stack trace ---
at Microsoft.Exchange.Managem
at Microsoft.Exchange.Managem
at Microsoft.Exchange.Managem
at Microsoft.Exchange.Managem
at Microsoft.Exchange.Configu
at Microsoft.Exchange.Configu
[10/23/2019 03:11:33.0631] [1] The following error was generated when "$error.Clear();
Install-ExchangeCertificat
if ($RoleIsDatacenter -ne $true -And $RoleIsPartnerHosted -ne $true)
{
Install-AuthCertificate -DomainController $RoleDomainController
}
" was run: "Microsoft.Exchange.Manage
. HResult = -2147024893 ---> System.Runtime.InteropServ
at System.DirectoryServices.D
at System.DirectoryServices.D
at System.DirectoryServices.D
at System.DirectoryServices.D
at System.DirectoryServices.P
at Microsoft.Exchange.Managem
--- End of inner exception stack trace ---
at Microsoft.Exchange.Managem
at Microsoft.Exchange.Managem
at Microsoft.Exchange.Managem
at Microsoft.Exchange.Managem
at Microsoft.Exchange.Configu
at Microsoft.Exchange.Configu
[10/23/2019 03:11:33.0631] [1] An IIS directory entry couldn't be created. The error message is The system cannot find the path specified.
. HResult = -2147024893
[10/23/2019 03:11:33.0631] [1] The system cannot find the path specified.
[10/23/2019 03:11:33.0631] [1] [ERROR-REFERENCE] Id=BridgeheadExchangeCerti
[10/23/2019 03:11:33.0631] [1] Setup is stopping now because of one or more critical errors.
[10/23/2019 03:11:33.0631] [1] Finished executing component tasks.
[10/23/2019 03:11:33.0647] [1] Ending processing Install-BridgeheadRole
Should I remove and reinstall IIS and try again?
Yes the article decribes about manual removal of exchange from ADsiedit.
An IIS directory entry couldn't be created. The error message is The system cannot find the path specified.
Setup is trying to create IIS VD's in IIS and hence it gives error because there might be old information out there.
Try to also uninstall IIS using the windows server manager and remove features and roles.
If not then if this a VM roll up a new VM and try to install exchange on a new VM. Format the old VM box.
But make sure you have taken exchange database backup so that you can restore the database on the new exchange server and run command:
get-mailbox -database (old server mailbox database name) | set-mailbox -database "New server mailbox database"






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Ensure all traces of this exch are removed from your AD.
Rebuild os.
Make sure all pre-reqs are in place
Try again.
Any thoughts and how to get past this?

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Follow article-
https://practical365.com/exchange-server/installing-exchange-server-2016/
http://microsoftgeek.com/?p=2422
Please advise.
Follow the instructions here and remove IIS first and reboot the server:
https://hostadvice.com/how-to/how-to-uninstall-iis-8-5-using-the-server-manager-and-powershell-from-windows-server-2012-r2-1/
Make sure you have removed Exchange using following article-
https://www.pelegit.co.il/uninstall-exchange-2013-manually-force/
Reboot the server.
Install Exchange 2016, but first install IIS:
Prerequisites for Mailbox Server Role:
Open a Windows PowerShell session by navigating to Start > All Programs > Accessories > Windows
PowerShell.
1. Run the following command: Install-WindowsFeature RSAT-ADDS
2. Run the following command to install the required Windows components.
Install-WindowsFeature AS-HTTP-Activation, Desktop-Experience, NET-Framework-45-Features,
Remaining steps are in below article-
Follow article-
https://practical365.com/exchange-server/installing-exchange-server-2016/
http://microsoftgeek.com/?p=2422
This is like a clean install no errors should come up for IIS or Exchange if you do it properly.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Exchange
--
Questions
--
Followers
Top Experts
Exchange is the server side of a collaborative application product that is part of the Microsoft Server infrastructure. Exchange's major features include email, calendaring, contacts and tasks, support for mobile and web-based access to information, and support for data storage.