Posts

Showing posts from February, 2021

D365/AX7 - Can not rename database - The database could not be exclusively locked to perform the operation

Image
 Some times after refreshing Devbox with VAL/PPD machine we need to rename new DB to AXDB but will get following error Solution : please make sure that following 3 services are stopped                     Still you are getting error message then run the following scripts to make single user          Set the database to single mode:      ALTER DATABASE dbName      SET SINGLE_USER WITH ROLLBACK IMMEDIATE      Try to rename the database: ALTER DATABASE dbName MODIFY NAME = NewName Set the database to Multiuser mode: ALTER DATABASE NewName SET MULTI_USER WITH ROLLBACK IMMEDIATE Start the services

Visual studio Dynamics D365/AX7 : Organize Elements/Synchronize data base on build for newly created Object

Image
 For D365 beginner developer it is difficult to find in visual studio elements will not be organized like form, Tables etc and whether database to be synchronized on project build Or not To achieve this following options need to checked in Visual Studio  Hope this is helpful!