Share via


Server Error in '/' Application Can not open ECP

Question

Saturday, April 11, 2020 9:22 AM

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'Microsoft.Exchange.HttpRedirectModules, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 36:       <compilation defaultLanguage="c#" debug="false">
Line 37:         <assemblies>
Line 38:           <add assembly="Microsoft.Exchange.HttpRedirectModules, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
Line 39:         </assemblies>
Line 40:       </compilation>

Source File: C:\inetpub\wwwroot\web.config **   Line:** 38

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.Exchange.HttpRedirectModules, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4075.0 

All replies (4)

Saturday, April 11, 2020 1:05 PM

Try below solution,

https://www.admin-enclave.com/en/articles/exchange/373-resolved-exchange-2016-iis-not-usable-after-installation-from-cu5.html


Monday, April 13, 2020 8:05 AM

Hi,

Please follow the suggestion provided by Udara Kaushalya and check whether it is helpful for you.

In addition, I would suggest you the following methods to help you troubleshooting:

a. Try changing the path of BinSearchFolders, you can find it from IIS->Exchange BackEnd website-> ECP virtual directory-> bin-> In the Middle Pane-> Application Settings-> BinSearchFolders, and change the path with “C:\Program Files\Microsoft\Exchange Server\V15\bin; C:\Program Files\Microsoft\Exchange Server\V15\bin\CmdletExtensionAgents; C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\Owa\bin”, and then restart IIS. You can refer to the detailed steps from Exchange 2013.... ECP error Line 43.

b. You can check the paths of Microsoft.Exchange.HttpRedirectModules.dll and other .dll files are correct or not. If they are incorrect, please modify them. You can refer to EWS Error Can not get Exchange 2010 to connect to Outlook 2011 for Mac

c. Please check your web.config file, and check whether you have web.config.bak or web.config.nul file. You can rename web.config file to web.config.old and change web.config.bak or web.config.nul file back to web.config. You can refer to Server Error in ECP when using OWA 'Options'

d. restart your IIS: Starting and Stopping Services

Regards, 

Vincy Cao 

Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact [email protected].


Monday, April 13, 2020 2:45 PM

In few updates of MS Exchange CUxx, set up is not able to copy configurations after update.

2 configurations needs to be checked.

1--> open IISà Hostname\Sites\Exchange Back End\ecp à AppSettings and check if "BinSearchFolders" has correct installation directory of exchange. I have installed Exchange in E:\Exch4016

2--> When Update is installed, Set up do not copy files files from old Themes folder to New Themes folder.

Path :

E:\exch4016\ClientAccess\ecp\old CU version\themes has files in it

E:\exch4016\ClientAccess\ecp\old CU version\Scripts has files in it

E:\exch4016\ClientAccess\ecp\new version\themes do not have any files in it.

E:\exch4016\ClientAccess\ecp\old CU version\Scripts do not have any files in it.

To Fix this this - Manually copying files from old version to new version do not work.

open EMS as administrator and navigate to Bin Directory of exchange install and run updatecas.ps1 

once complete Reset IIS and check themes and scripts folders will now have files.

Regards

Kamal

Please Mark as answer if it helped


Thursday, April 16, 2020 7:53 AM

Hi,

Any update now?

If you have any questions or needed further help on this issue, please feel free to post back. If the above suggestion helps, please be free to mark it as answer.

Regards,

Vincy Cao

Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact [email protected].