Recovers lost or deleted Office documents, emails, presentations & multimedia files.
Recovers deleted files, photos, videos etc. on Mac.
Recover photos, videos, & audio files from all cameras and storage on Windows.
Summary: HTTP ERROR 500 in Exchange is displayed when the server rejects the request to establish a connection with the Exchange Server. The error prevents Exchange administrators and users from accessing the Exchange Admin Center and managing the Exchange Server. In this blog, we have discussed reasons and solutions to fix the HTTP ERROR 500 in Exchange and get access to the EAC/ECP.
Exchange Management Console (EMC) and Exchange Control Panel (ECP) were two different interfaces used in Exchange 2010 and earlier versions to manage the Exchange Servers. With Exchange 2013, Exchange Administrative Center (EAC) — a web-based management console optimized for on-premises, hybrid, and online Exchange Server deployments—replaced EMC and ECP.
And since EAC is web-based, you need to use a web browser and require the OWA/ECP virtual directory URL to access the management console. By default, you can access the ECP/EAC console using the following URLs,
Internal URL— https://<CASServerName>/ecp
It allows users to access the EAC within the organization’s firewall.
External URL— https://mail.abc.com/ecp
It provides access to users from outside of your organization’s firewall.
Administrators and users with permission can access the EAC/ECP panel by signing in using valid credentials.
However, many users have reported an HTTP ERROR 500 after they sign in to EAC/ECP.
Contents
The HTTP ERROR 500 is usually reported after upgrading or updating the Exchange Server without an elevated command prompt.
However, it may also occur due to many other reasons, such as,
Follow these solutions in the given sequence to troubleshoot and fix the HTTP 500 error in Exchange Server EAC/ECP after login.
Sometimes browser cache and cookies can cause issues while accessing the Exchange Admin Center. You can reset either the web browser or use a different browser to fix the error and access the EAC/ECP.
If you still encounter the HTTP ERROR 500, proceed to the next solution.
On your Windows Server, open the Windows Updates section and install any pending updates as they may stop certain Exchange Services resulting in HTTP ERROR 500 after EAC login.
After the update, restart the server and then try to log in to the EAC. You may disable automatic Windows updates to prevent HTTP ERROR 500. However, it has is highly recommended to install the updates to stay protected.
In case there are no pending updates, and the error persists, follow the next solution.
If the HTTP ERROR 500 occurred after installing the Exchange Server security updates, reinstall those using the elevated command prompt. The steps are as follow,
cd “C:\Users\UserName\Downloads\Updates\”
.\UpdateName.msp
Some users have reported that the HTTP ERROR 500 occurred simply because their Exchange VM doesn’t allocate enough CPU cores. To fix this, shut down the server VM and review the allocated resources.
Add or allocate more CPU cores and RAM, if available. Restart the server and check if EAC is accessible.
Similarly, for physical servers, upgrading the hardware may fix the error. However, we recommend you follow all troubleshooting solutions discussed in this blog before upgrading the hardware to resolve the HTTP 500 error.
Improper or outdated server configuration after the server upgrade or update can also render EAC or ECP inaccessible, causing HTTP ERROR 500 after login.
In such a case, you can run UpdateConfigFiles.ps1 and UpdateCAS.ps1 PowerShell scripts located in the Exchange Server ‘Bin’ directory (C:\Program Files\Microsoft\Exchange Server\V15\Bin\) to resolve the error.
To execute these PowerShell scripts, follow these steps,
cd “C:\Program Files\Microsoft\Exchange Server\V15\Bin.”
Then execute following commands to run the PowerShell scripts to fix the configuration issues.
.\UpdateConfigFiles.ps1
.\UpdateCAS.ps1
This may take a while to finish. Once done, restart the server and check if the HTTP 500 error is resolved and ECP/EAC is accessible.
As a last resort, you can remove the existing OWA and ECP virtual directories and create new ones to fix the HTTP 500 error in Exchange. The steps are as follow,
Remove-OwaVirtualDirectory –Identity “ExchangeServerName\owa (Default Web Site)”
New-OwaVirtualDirectory –WebsiteName “Default Web Site”
The commands are case-sensitive.
This will rebuild the virtual directories and possibly fix the issue. It will also change the way you log in. Instead of the login page, you will see the following pop-up for login.
Enter username and password to log in and ECP/EAC web console.
If none of the solutions worked for you, try repairing your Exchange Server. For this, you need to mount the same Cumulative Update ISO as installed on the server. The use following command in EMS to repair the server.
Setup /Mode:upgrade /IAcceptExchangeServerLicenseTerms
Use ‘/IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF’ if your server is running on September 2021 or later Cumulative Update.
After the repair, restart the server and check if the HTTP ERROR 500 is resolved.
You may also set up a new Exchange Server if server repair fails and then move your mailboxes and mail items from the old server to the new server. For this, you can use an EDB converter tool, such as Stellar Converter for EDB. The software can extract mailbox data from your faulty Exchange server with an online or offline database and export them to PST. You may also export the mailboxes from offline EDB to your new Exchange Server database to PST. The software auto-maps the source mailboxes with destination mailboxes and exports up to four mailboxes simultaneously to the target server database in a few simple steps.
HTTP ERROR 500 is common, especially after improper server update installation. However, it may also occur due to several other reasons, as discussed in this blog. We also discussed all possible solutions to resolve the HTTP ERROR 500 in Exchange Server 2013 and later versions. However, if the error isn’t resolved, it’s recommended to set up a new server and move your data from the faulty server to a new server using an EDB converter tool, such as Stellar Converter for EDB. The software helps you extract and move mailbox data from offline or online databases hosted on your faulty server and exports them to PST, Office 365 tenant, or Live Exchange Server. It automates the entire mailbox data migration, which saves tons of time required to export and import mailboxes via EMS or EAC manually. Moreover, the cmdlets do not work if the database is offline.
Ravi Singh is a Senior Writer at Stellar®. He is an expert Tech Explainer, IoT enthusiast, and a passionate nerd with over 6 years of experience in technical writing. He writes about Data Recovery, File Repair, Email Migration, Linux, Windows, Mac, and DIY Tech. Ravi spends most of his weekends working with IoT devices and playing games on the Xbox. He is also a solo traveler who loves hiking and exploring new trails.