Exchange object reference not set to an instance of an object

Exchange object reference not set to an instance of an object

Server Error in ECP Application

Through a routine check, I became aware of the following error. The ECP and OWA did not open anymore.

object reference not set to an instance of an object

Description: An unhandled exception occurred during the execution of the current web request.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object

Here's the solution to the problem.

Conversion from KSP to CSP

Exchange object reference not set to an instance of an object