I have restarted the Business Central Server Service several times. The issue did not fix,
I have also checked the event viewer and seen the following error
Could not open the company.
Exception:
Microsoft.Dynamics.Nav.Client.Web.NavWebFailedOpenCompanyException: Could not open the company.
---> Microsoft.Dynamics.Nav.Types.Exceptions.NavSCOpenCompanyException: While opening company 'CRONUS Danmark A/S', the following error occured: 'Database transaction has been detected, no writes are allowed during this test. RecordID is User Login: {6E9C943B-D248-468B-929C-A2450EA3AF25}, Operation MODIFY.'
AL stack trace:
"No Transactions Subscriber"(CodeUnit 130630).ThrowErrorOnModify line 8 - Library - No Transactions by Microsoft
"Global Triggers"(CodeUnit 2000000002).OnDatabaseModify(Event) line 2
"User Login Time Tracker Impl."(CodeUnit 9013).CreateOrUpdateLoginInfo line 10 - System Application by Microsoft
"User Login Time Tracker"(CodeUnit 9026).CreateOrUpdateLoginInfo line 4 - System Application by Microsoft
"System Initialization Impl."(CodeUnit 151).Init line 12 - System Application by Microsoft
"Company Triggers"(CodeUnit 2000000003).OnCompanyOpen(Event) line 2
---> Microsoft.Dynamics.Nav.Types.Exceptions.NavCSideException: While opening company 'CRONUS Danmark A/S', the following error occured: 'Database transaction has been detected, no writes are allowed during this test. RecordID is User Login: {6E9C943B-D248-468B-929C-A2450EA3AF25}, Operation MODIFY.'
AL stack trace:
"No Transactions Subscriber"(CodeUnit 130630).ThrowErrorOnModify line 8 - Library - No Transactions by Microsoft
"Global Triggers"(CodeUnit 2000000002).OnDatabaseModify(Event) line 2
"User Login Time Tracker Impl."(CodeUnit 9013).CreateOrUpdateLoginInfo line 10 - System Application by Microsoft
"User Login Time Tracker"(CodeUnit 9026).CreateOrUpdateLoginInfo line 4 - System Application by Microsoft
"System Initialization Impl."(CodeUnit 151).Init line 12 - System Application by Microsoft
"Company Triggers"(CodeUnit 2000000003).OnCompanyOpen(Event) line 2
---> Microsoft.Dynamics.Nav.Types.Exceptions.NavCSideException: While opening company 'CRONUS Danmark A/S', the following error occured: 'Database transaction has been detected, no writes are allowed during this test. RecordID is User Login: {6E9C943B-D248-468B-929C-A2450EA3AF25}, Operation MODIFY.'