Recently, My office colleague faced an issue while starting Microsoft D365 windows batch services in Update 15. after 10 seconds of processing its getting failed
When we check in Event Viewer with below Path
Application and services Logs > Microsoft > Dynamics > AX-BatchService > Operations
Batch service throwing below Error
After spending some hours on internet root cause found. this issue occur When D365FO On Maintenance Mode.
There are two way to fix this issue...
The proper way; Use the Microsoft.Dynamics.AX.Deployment.Setup.exe command;
Run this from command line:
C:\AOSService\PackagesLocalDirectory\Bin\Microsoft.Dynamics.AX.Deployment.Setup.exe –metadatadir C:\AOSService\PackagesLocalDirectory –bindir C:\AOSService\PackagesLocalDirectory –sqlserver . –sqldatabase axdb –sqluser AOSUser –sqlpwd AOSWebSite@123 –setupmode maintenancemode –isinmaintenancemode false
The Hack way; Use the Microsoft SQL Server Management Studio, and edit the following record in the table dbo.SQLSystemvariables ; CONFIGURATIONMODE
Update SQLSystemvariables set Value=0 where parm='CONFIGURATIONMODE'







Tidak ada komentar:
Posting Komentar