User61956409 posted
Hi erum,
HttpContext.Current.Application["DateAndTime"] = Response;
The code snippet that you shared is assignment statement, do you mean that code snippet causes the error "ApplicationState is null"? or the issue is caused by another code snippet?
Please clarify more about your problem, so that we can understand it better.
With Regards,
Fei Han