Skip to main content

Posts

Showing posts from February, 2026

How to Resolve DVT Script Issues When Applying Quality Updates in LCS for D365FO

  While applying Quality Update 10.0.46  in a Dynamics 365 Finance and Operations (D365FO) environment through Lifecycle Services (LCS), you may encounter an error related to the DVT script during the servicing process. One common error message is: DVT script for service mode: AOSService on machine.”                When you dig into the logs, you might also see the following detailed exception: ERROR: System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.                This issue generally indicates that the SSL certificates used by the environment are either expired,                     invalid, or out of sync—causing trust failures during communication.                Fortunately, the fix is straightforw...

Resolving the “Exclusive Access Could Not Be Obtained” Error During SQL Server Database Restore

Resolving “Exclusive Access Could Not Be Obtained” Error in SQL Server Resolving the “Exclusive Access Could Not Be Obtained” Error in SQL Server When attempting to restore a database in Microsoft SQL Server Management Studio (SSMS), you might encounter this error: Exclusive access could not be obtained because the database is in use. Full error message: Restore of database 'AxDB' failed. Microsoft.Data.SqlClient.SqlError: Exclusive access could not be obtained because the database is in use. This occurs when the database is still being accessed by other sessions, preventing the restore operation. Below are several effective approaches to fix the issue. 1️⃣ Close Existing Connections in SSMS You can close existing database connections directly from SSMS: Open the Restore Database window. Go to the Options tab. Check: Close existing connections to destination database ...