_MvcSiteMapProviderSecurityTrimmingEnabled is set to True
One controller with constructor that throws an exception
Steps:
Open any page.
Actual behavior:
Website crashes with the following exception: System.ArgumentNullException: Value cannot be null.
Expected behavior
Original exception is thrown.
P.S. In my case it appears when a WCF service endpoint is missing in Web.config. DI library tries to inject that service to controller via constructor and fails.
Preconditions:
Steps:
Open any page.
Actual behavior:
Website crashes with the following exception: System.ArgumentNullException: Value cannot be null.
Expected behavior
Original exception is thrown.
P.S. In my case it appears when a WCF service endpoint is missing in Web.config. DI library tries to inject that service to controller via constructor and fails.