Changed Date Now Unable to Login to BC
Introduction While doing some customization testing, which revolved around using different dates, I realized that once the date is switched back to the correct date, I was unable to connect to Business Central. I restarted the server instance, IIS, SQL Server services to no avail. Pre-requisites Business Central OnPrem with SSL Setup References Server Fault Microsoft Support Verification Logging into Business Central gave no errors, there were no errors in the Event Viewer that explicitly mention that it is a Date related issue. The way I stumbled across it being a date related issue is that in the Response that the Business Central server sent to the Login Request, was carrying the wrong date in it. When I switched the System Date back to the date mentioned in the Response headers, everything seemed to be working again. Solution This issue is caused because when the system date is changed, the same is changed in IIS but when you change it back IIS does not refresh it and we have ...