Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Wednesday, August 24, 2016 9:45 AM
Please can someone help me. I cant open our ECP on our backup exchange server.
Server Error in '/ecp' Application.
Could not load file or assembly 'Microsoft.Exchange.HttpProxy.Common, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf*********' or one of its dependencies. The system cannot find the file specified.
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.FileNotFoundException: Could not load file or assembly 'Microsoft.Exchange.HttpProxy.Common, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31b*********' or one of its dependencies. The system cannot find the file specified.
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.HttpProxy.Common, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf********** could not be loaded.
|
Stack Trace:
|
All replies (18)
Wednesday, August 31, 2016 1:58 PM âś…Answered | 3 votes
SOLVED!!!!!!!!!!!
I located the missing 'Microsoft.Exchange.HTTPProxy.Commn' in E:\Exchange Server\V15\Bin.
I opened the web.config file in E:\Exchange Server\V15\FrontEnd\HttpProxy\ecp
In the web.config file where file locations, so I pasted in the file location for Microsoft.Exchange.HTTPProxy.Commn. Saved the web.config file and opened up ecp with no problems.
Wednesday, August 24, 2016 10:54 AM | 1 vote
Hi
You can recycle IIS and see if that resolves it?
Edward van Biljon - Exchange MVP
Wednesday, August 24, 2016 11:10 AM
how do you do a recycle?
Wednesday, August 24, 2016 11:13 AM | 1 vote
You can run IISRESET from an elevated prompt but be aware it will disconnect all mailboxes briefly so perhaps schedule time to do it after hours.
Edward van Biljon - Exchange MVP
Wednesday, August 24, 2016 11:37 AM
we have reset IIS and this did not resolve it.
Wednesday, August 24, 2016 11:56 AM
Hi,
See here for a similar thread. Several possible solutions are proposed. Does that solve your problem?
http://exchangeserverpro.com/ms15-064-important-security-update-for-exchange-server-2013/
Here's another thread that sais KB3040856 causes this:
http://msexchangeguru.com/2015/03/31/troubleshooting/
Peter Van Gils Toa Projects
Wednesday, August 24, 2016 12:11 PM
When tryingto browse to ECP from a pc I get this -
Server Error in '/ecp' Application.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
|
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
|
Wednesday, August 24, 2016 2:45 PM
thanks, but none of those work. This has all started since I did a CU13 update on exchange. I haven't updated my backup exchange box (that works) yet due to this not working.
Wednesday, August 24, 2016 2:50 PM | 1 vote
Can you try re-applying CU13 and see if it fixes the ECP?
Edward van Biljon - Exchange MVP
Wednesday, August 24, 2016 3:29 PM
no can do -
Removal information
After you install this cumulative update package, you can't uninstall the package to revert to an earlier version of Exchange Server 2013. If you uninstall this cumulative update package, Exchange Server 2013 is removed from the server.
Wednesday, August 24, 2016 3:35 PM | 1 vote
No, just run CU13 again to update the components. We not removing anything from the control panel.
Edward van Biljon - Exchange MVP
Wednesday, August 24, 2016 6:53 PM
If I try and re in it, it comes up with a box that has everything installed ticked. Everything is greyed out, I can't select anything. The setup application file this is.
Thursday, August 25, 2016 7:31 AM
Hi,
Can you login owa normally?
Please follow above suggestion to uninstall the Exchange 2013 Security Update KB3040856 for test.
If it doesn't work,I suggest you try to re-create the ECP Virtual Directories.
According to that error:"Could not load file or assembly 'Microsoft.Exchange.HttpProxy.Common, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf*********",some config files may be corrupted.
Also check some related event log in event viewer for further analysis.
Regards,
David Wang_
TechNet Community Support
Please remember to mark the replies as an answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Thursday, August 25, 2016 7:57 AM
I can login with owa yes.
I have checked the event logs:
ME with Database Availability Group Events -
Event 1309 ASP.NET 4.0.30319.0
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 24/08/2016 16:40:01
Event time (UTC): 24/08/2016 15:40:01
Event ID: 568352085b5e406cbf7dfa669a888129
Event sequence: 1
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT/ecp-384-131165268014022991
Trust level: Full
Application Virtual Path: /ecp
Application Path: E:\Exchange Server\V15\FrontEnd\HttpProxy\ecp\
Machine name: PAN-FLT-EX01
Process information:
Process ID: 9512
Process name: w3wp.exe
Account name: NT AUTHORITY\SYSTEM
Exception information:
Exception type: TargetInvocationException
Exception message: Exception has been thrown by the target of an invocation.
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture)
at System.Web.HttpRuntime.CreateNonPublicInstance(Type type, Object[] args)
at System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList)
at System.Web.HttpApplication.GetModuleCollection(IntPtr appContext)
at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
The type initializer for 'Microsoft.Exchange.HttpProxy.FbaModule' threw an exception.
at Microsoft.Exchange.HttpProxy.FbaModule..ctor()
Could not load file or assembly 'Microsoft.Exchange.HttpProxy.Common, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
at Microsoft.Exchange.HttpProxy.HttpProxySettings.Prefix(String appSettingName)
at Microsoft.Exchange.HttpProxy.FbaModule..cctor()
Request information:
Request URL: https://localhost:443/ecp/
Request path: /ecp/
User host address: ::1
User:
Is authenticated: False
Authentication Type:
Thread account name: DESITS\Administrator
Thread information:
Thread ID: 10
Thread account name: DESITS\Administrator
Is impersonating: False
Stack trace: at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture)
at System.Web.HttpRuntime.CreateNonPublicInstance(Type type, Object[] args)
at System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList)
at System.Web.HttpApplication.GetModuleCollection(IntPtr appContext)
at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
Thursday, August 25, 2016 9:38 AM
I have already tried re-creating the virtual directory for ecp. Did not resolve.
Tuesday, August 30, 2016 9:00 AM
Hi,
According to the error,I have found a similar thread for your reference:
Please refer to the solution in the thread.
Regards,
David Wang_
TechNet Community Support
Please remember to mark the replies as an answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Tuesday, August 30, 2016 11:13 AM
thank you for the reply. I have checked this and the path is already correct.
Wednesday, September 5, 2018 4:10 PM
Could you please confirm how did you add the new file location. I am getting errors.
I am doing it this way :
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<linkedConfiguration href="file://C:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy
<linkedConfiguration href="file://C:\Program Files\Microsoft\Exchange Server\V15\Bin
\SharedWebConfig.config" />
</assemblyBinding>