Share via


Event 1310,ASP.NET 4.0.30319.0

Question

Tuesday, January 9, 2018 12:36 PM

Hi Experts

recently i have been getting the warning below on my exchange 2016,Everything is still working,OWA and ecp but i am worried.Does anyone have an idea what could be causing this and how to resolve it?

3008

A configuration error has occurred.
2018/01/09 2:16:29 PM
2018/01/09 12:16:29 PM
532f99793e8642be9707635715844112
1
1
0
/LM/W3SVC/2/ROOT/ecp-1245-131599737891819822
Full
/ecp
C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\ecp\
SRVMB02
12976
w3wp.exe
NT AUTHORITY\SYSTEM
ConfigurationErrorsException
Could not load file or assembly 'Microsoft.Exchange.Common, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, Boolean checkAptcaBit) at System.Web.Configuration.Common.ModulesEntry.SecureGetType(String typeName, String propertyName, ConfigurationElement configElement) at System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement) 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) Could not load file or assembly 'Microsoft.Exchange.Common, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type) at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName) at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)
https://localhost:444/ecp/exhealth.check
/ecp/exhealth.check
127.0.0.1
False
NT AUTHORITY\SYSTEM
19
NT AUTHORITY\SYSTEM
False
at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, Boolean checkAptcaBit) at System.Web.Configuration.Common.ModulesEntry.SecureGetType(String typeName, String propertyName, ConfigurationElement configElement) at System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement) 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)  

All replies (12)

Thursday, January 18, 2018 2:30 PM ✅Answered | 4 votes

The problem was the path that somehow changes after security updates,To resolve the issue i went to IIS,Exchange Backend website,ECP Virtual directory and select Applications settings,BinseachFolder and remove

"%ExchangeInstallDir%bin;%ExchangeInstallDir%bin\CmdletExtensionAgents;%ExchangeInstallDir%ClientAccess\Owa\bin"

and replace it with the path is complaining about 


Wednesday, January 10, 2018 2:45 AM | 2 votes

Hi,

Thanks for contacting our forum. Firstly, please run the Script UpdateCAS.ps1: This script is found under the path: Install path:\Program Files\Microsoft\Exchange Server\V15\Bin

We can also copy the sharedwebconfig.config file from:

Install path:\Program Files\Microsoft\ExchangeServer\V15\FrontEnd\HttpProxy
To:
Install path:\ Program Files\Microsoft\ExchangeServer\V15\ClientAccess

It’s also recommended to refer to the solution in the similar thread:

https://social.technet.microsoft.com/Forums/office/en-US/7c36836c-0223-4bfe-8a36-24db8a021507/error-in-ecp-and-owa-after-update?forum=exchangesvrdeploy

Hope it helps.

Regards,

Jason Chao

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

Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.


Wednesday, January 10, 2018 7:26 AM

Hi

Thank you

I tried copying sharedwebconfig.config before posting but it exist on the destinations,Does it mean i must replace it? 


Wednesday, January 10, 2018 9:33 AM

Yes, if it doesn't work, please check the other ways mentioned above.

Please note: take a backup of the file that will be replaced.

Regards,

Jason Chao

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

Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.


Wednesday, January 10, 2018 11:18 AM

Hi

I did,I am still getting the warning event viewer,The problem started after running these updates

My OWA and Exchange admin is working as opposed to other articles i have seen referring to the same problem but on exchange 2013,


Thursday, January 11, 2018 1:52 AM

Thanks for your response.

Have you run the script UpdateCAS.ps1? and what’s the results?

It’s recommended to uninstall these two updates and monitor if it’s the root cause.

Thanks for your efforts.

Regards,

Jason Chao

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

Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.


Thursday, January 11, 2018 7:13 AM

Hi

I did run the script but the warning is still persisting 

Thank you very much


Thursday, January 11, 2018 10:55 AM

I think the problem is here


Tuesday, January 16, 2018 2:07 AM

Thanks for your response.

Normally, IIS would use the process identity (the user account it is running the worker process as) to access protected resources like file system or network.

With passthrough authentication, IIS will attempt to use the actual identity of the user when accessing protected resources.

If the user is not authenticated, IIS will use the application pool identity instead. If pool identity is set to NetworkService or LocalSystem, the actual Windows account used is the computer account.

The IIS warning you see is not an error, it's just a warning.

Please refer to:  Cannot verify access to path

Hope it helps.

Regards,

Jason Chao

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

Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.


Tuesday, August 28, 2018 12:34 PM

Hi Nkhangwe Madzivhandila

I just ran into this issue with one member of a DAG after security updates and your solution resolved it.

Thanks and regards

Ralph


Tuesday, September 18, 2018 3:07 PM

This issue just occured for me as well after installing the 2018-09 Cumulative Update for Windows Server 2016 for x64-based Systems (KB4457131) and Security Update For Exchange Server 2016 CU10 (KB4340731) updates.

Note also for me, a lot of files mysteriously disappeared from the "C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\Owa\prem\15.1.1531.4" and "C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\ecp\15.1.1531.6" folders (which I believe are created as part of the Exchange Security Update). I was able to manually copy them over from another server that was patched without issue.


Wednesday, October 10, 2018 7:35 AM

Hi

Talking about mysteriously disappearance of of files,I also updated my exchange to CU10,On one of my exchange Server,A ran to a lot of problems with missing files,I had to copy the missing files from one Exchange to another