While configuring we are facing two issues
One is while configuring Data Mart we getting below issue
"An error occurred while configuring 'Microsoft Dynamics AX 2012 Data Mart'. Check the deployment log for details".
Microsoft.Dynamics.Performance.Reporting.Common.ReportingDatabaseVersionException: The version of the database is incorrect. Install the correct version of the database.
at Microsoft.Dynamics.Performance.Reporting.Security.DatabaseProperties.ValidateSchemaVersion()
at Microsoft.Dynamics.Performance.Reporting.Scheduler.SchedulerService.ValidateDatabaseVersionOnServiceStart()
Second one is Service is automatically stopping
System.ServiceModel.FaultException: A service error has occurred. Please check your server error logs for details.
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Dynamics.Performance.Deployment.DataProvider.DataMart.Connector.IConfigurationServiceContract.GetIntegrationGroups()
at Microsoft.Dynamics.Performance.Deployment.DataProvider.DataMart.IntegrationProvider.<TryGetAllConfiguredIntegrations>b__15(ConfigurationServiceContractClient client)
at Microsoft.Dynamics.Performance.Deployment.Common.WcfUtility.ExecuteOnClient[TCommunicationObject,TReturn](Func`2 invokeMe, Func`1 clientFactory)
at Microsoft.Dynamics.Performance.Deployment.DataProvider.DataMart.ConnectorCommunicationHelper.ExecuteOnClient[T](Func`2 invokeMe, Func`2 exceptionHandler, Uri applicationServiceUri)
For this we are using SQL server version is
Microsoft SQL Server 2016 (SP1-CU15) (KB4495257) - 13.0.4574.0 (X64) Apr 27 2019 17:23:50 Copyright (c) Microsoft Corporation Standard Edition (64-bit) on Windows Server 2019 Standard 10.0 <X64> (Build 17763: ) (Hypervisor).