Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

MR 2012 Duplicate Record error/ Timeout issue

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

I am running GP 2010 (11.00.2272.00). We are still using FRx for reporting but we have setup Management Reporter 2012 (2.1.12000.26) which is not in production yet. We pretty much just have the Data Mart Running so that after EOY, the software can be evaluated by Accounting. I have been getting these 2 errors over the last 10 days. I have changed the  the time out setting referenced in the 2 links below as a well as removed the recoreds from the Period Table in the ManagementReporterDM DB. Nothing has worked.

http://www.crestwood.com/blog/view/mr-2012-upgrade-timeout-error-fix/

http://www.summitgroupsoftware.com/blog/management-reporter-data-mart

Here is the 1st Error:

Description:

Cannot insert duplicate key row in object 'dbo.Period' with unique index 'PeriodIndex_DateRange'. The duplicate key value is (1057, 2016-01-01 00:00:00.0000000, 2016-01-31 23:59:59.0000000).
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
5 organizations merged
2017-01-17 21:32:39.0062931
5 staged organizations deleted
2017-01-17 21:32:39.0062931
0 dimensions updated with organization id
2017-01-17 21:32:39.0492974
0 accounts updated with account category id
2017-01-17 21:32:39.0502975
0 accounts updated with exchange rate id
2017-01-17 21:32:39.0873012

            INSERT INTO DimensionCombinationResolving
            WITH (TABLOCK) (Id, SourceKey, OrganizationId, Description, Dimension1Id, Dimension2Id, Dimension3Id, Dimension4Id, Dimension5Id)
                SELECT dcs.Id, dcs.SourceKey, o.Id, dcs.Description, dv1.Id, dv2.Id, dv3.Id, dv4.Id, dv5.Id
                FROM DimensionCombinationStaging dcs
                JOIN Organization o on dcs.OrganizationKey = o.SourceKey
            LEFT JOIN DimensionValuesWithDefinitions dv1 on
                    dv1.SourceKey = dcs.Dimension1Key and
                    dv1.OrganizationId = o.Id and
                 dv1.ColumnIndex = 1
            LEFT JOIN DimensionValuesWithDefinitions dv2 on
                    dv2.SourceKey = dcs.Dimension2Key and
                    dv2.OrganizationId = o.Id and
                 dv2.ColumnIndex = 2
            LEFT JOIN DimensionValuesWithDefinitions dv3 on
                    dv3.SourceKey = dcs.Dimension3Key and
                    dv3.OrganizationId = o.Id and
                 dv3.ColumnIndex = 3
            LEFT JOIN DimensionValuesWithDefinitions dv4 on
                    dv4.SourceKey = dcs.Dimension4Key and
                    dv4.OrganizationId = o.Id and
                 dv4.ColumnIndex = 4
            LEFT JOIN DimensionValuesWithDefinitions dv5 on
                    dv5.SourceKey = dcs.Dimension5Key and
                    dv5.OrganizationId = o.Id and
                 dv5.ColumnIndex = 5
                where
            (dv1.Id IS NOT NULL OR dcs.Dimension1Key IS NULL) AND
            (dv2.Id IS NOT NULL OR dcs.Dimension2Key IS NULL) AND
            (dv3.Id IS NOT NULL OR dcs.Dimension3Key IS NULL) AND
            (dv4.Id IS NOT NULL OR dcs.Dimension4Key IS NULL) AND
            (dv5.Id IS NOT NULL OR dcs.Dimension5Key IS NULL)
86 combinations updated
2017-01-17 21:32:39.4523377
MERGE INTO DimensionCombinationUnreferenced with (TABLOCK) AS tar
                USING (select * from DimensionCombinationResolving) as src
                on tar.SourceKey = src.SourceKey and tar.OrganizationId = src.OrganizationId
                WHEN MATCHED THEN
                    UPDATE SET
                        tar.Description = src.Description, tar.Dimension1Id = src.Dimension1Id, tar.Dimension2Id = src.Dimension2Id, tar.Dimension3Id = src.Dimension3Id, tar.Dimension4Id = src.Dimension4Id, tar.Dimension5Id = src.Dimension5Id
            WHEN NOT MATCHED THEN
                INSERT (Id, SourceKey, OrganizationId, Description, Dimension1Id, Dimension2Id, Dimension3Id, Dimension4Id, Dimension5Id)
                VALUES (src.Id, src.SourceKey, src.OrganizationId, src.Description, src.Dimension1Id, src.Dimension2Id, src.Dimension3Id, src.Dimension4Id, src.Dimension5Id);
86 staged combinations merged
2017-01-17 21:32:39.6433568
0 staged periods updated with organization id
2017-01-17 21:32:39.9483873
0 staged periods updated with fiscal year id
2017-01-17 21:32:39.9493874
5904 staged periods updated to hold key of existing period
2017-01-17 21:32:40.0303955
12 overlapping periods found.
2017-01-17 21:32:40.2864211
0 overlapping periods deleted from staging table
2017-01-17 21:32:40.4594384
Starting [UpdateDimensionValueReferences]
2017-01-17 21:32:46.8690793
11090 dimension values moved
2017-01-17 21:32:49.3353259
4 staged scenarios updated with organization id
2017-01-17 21:32:49.3863310
0 staged scenarios updated with parent id
2017-01-17 21:32:49.3863310
4 staged scenarios updated with id
2017-01-17 21:32:49.3873311
0 staged scenarios found requiring recalculation
2017-01-17 21:32:49.4013325
4 scenarios merged
2017-01-17 21:32:49.4213345
4 staged scenarios not requiring recalculation deleted
2017-01-17 21:32:49.4273351
4 scenarios moved
2017-01-17 21:32:49.4273351
0 staged scenarios updated with parent id
2017-01-17 21:32:49.4273351
0 staged scenarios updated with id
2017-01-17 21:32:49.4273351
0 staged scenarios found requiring recalculation
2017-01-17 21:32:49.4273351
0 scenarios merged
2017-01-17 21:32:49.4273351
0 staged scenarios not requiring recalculation deleted
2017-01-17 21:32:49.4273351
0 scenarios moved
2017-01-17 21:32:49.4273351
The statement has been terminated.
0 periods merged
2017-01-17 21:32:49.6633587
0 facts updated to reflect period change
2017-01-17 21:32:49.9043828
456 periods deleted from PeriodStaging
2017-01-17 21:32:49.9623886

                insert into Fact with(TABLOCK) (
                    Id, DimensionsId, PeriodId, FactDate, OriginalAmount,
                    OriginalUnitOfMeasureId, PrimaryAmount, ScenarioId, IsPosted,
                    PostingLayerId, FactType, IsDebit, OrganizationId, ShouldBeTombstoned,
                    AcquisitionDate, SourceKey, [Description], VersionStart, FactTypeQualifierId)
                output inserted.Id into #newlyInsertedFactIds
                select
                    f.Id, dc.Id, p.PeriodId, f.FactDate, f.OriginalAmount,
                    f.OriginalUnitOfMeasureId, f.PrimaryAmount, s.Id, f.IsPosted,
                    f.PostingLayerId, f.FactType, f.IsDebit, o.Id, f.ShouldBeTombstoned,
                    f.AcquisitionDate, f.SourceKey, f.[Description], '2017-01-17 21:32:38.9392864',
                    ftq.Id
                from FactStaging f
                    inner join Organization o on f.OrganizationKey = o.SourceKey
                    inner join DimensionCombination dc on f.DimensionsKey = dc.SourceKey and dc.OrganizationId = o.Id
                    inner join Scenario s on f.ScenarioKey = s.SourceKey and s.OrganizationId = o.Id
                    inner join PeriodsByDate p on CAST(f.FactDate AS date) = p.IncludedDate and p.OrganizationId = o.Id
                    left join FactTypeQualifier ftq on f.FactTypeQualifierKey = ftq.SourceKey and ftq.OrganizationId = o.Id
                    where (ftq.Id IS NOT NULL or f.FactTypeQualifierKey IS NULL)

                        insert into Fact with(TABLOCK) (
                            Id, DimensionsId, PeriodId, FactDate, OriginalAmount,
                            OriginalUnitOfMeasureId, PrimaryAmount, ScenarioId, IsPosted,
                            PostingLayerId, FactType, IsDebit, OrganizationId, ShouldBeTombstoned,
                            AcquisitionDate, SourceKey, [Description], VersionStart, FactTypeQualifierId)
                        output inserted.DimensionsId into #newlyReferencedCombinations (Id)
                        select
                            f.Id, dc.Id, p.PeriodId, f.FactDate, f.OriginalAmount,
                            f.OriginalUnitOfMeasureId, f.PrimaryAmount, s.Id, f.IsPosted,
                            f.PostingLayerId, f.FactType, f.IsDebit, o.Id, f.ShouldBeTombstoned,
                            f.AcquisitionDate, f.SourceKey, f.[Description], '2017-01-17 21:32:38.9392864',
                            ftq.Id
                        from FactStaging f
                            inner join Organization o on f.OrganizationKey = o.SourceKey
                            inner join DimensionCombinationUnreferenced dc on f.DimensionsKey = dc.SourceKey and dc.OrganizationId = o.Id
                            inner join Scenario s on f.ScenarioKey = s.SourceKey and s.OrganizationId = o.Id
                            inner join PeriodsByDate p on CAST(f.FactDate AS date) = p.IncludedDate and p.OrganizationId = o.Id
                            left join FactTypeQualifier ftq on f.FactTypeQualifierKey = ftq.SourceKey and ftq.OrganizationId = o.Id
                            where (ftq.Id IS NOT NULL or f.FactTypeQualifierKey IS NULL)
                                and f.Id not in (select Id from #newlyInsertedFactIds)
    --- Exception Dump ---
    Caught Exception: [System.Data.SqlClient.SqlException] Cannot insert duplicate key row in object 'dbo.Period' with unique index 'PeriodIndex_DateRange'. The duplicate key value is (1057, 2016-01-01 00:00:00.0000000, 2016-01-31 23:59:59.0000000).
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
5 organizations merged
2017-01-17 21:32:39.0062931
5 staged organizations deleted
2017-01-17 21:32:39.0062931
0 dimensions updated with organization id
2017-01-17 21:32:39.0492974
0 accounts updated with account category id
2017-01-17 21:32:39.0502975
0 accounts updated with exchange rate id
2017-01-17 21:32:39.0873012

            INSERT INTO DimensionCombinationResolving
            WITH (TABLOCK) (Id, SourceKey, OrganizationId, Description, Dimension1Id, Dimension2Id, Dimension3Id, Dimension4Id, Dimension5Id)
                SELECT dcs.Id, dcs.SourceKey, o.Id, dcs.Description, dv1.Id, dv2.Id, dv3.Id, dv4.Id, dv5.Id
                FROM DimensionCombinationStaging dcs
                JOIN Organization o on dcs.OrganizationKey = o.SourceKey
            LEFT JOIN DimensionValuesWithDefinitions dv1 on
                    dv1.SourceKey = dcs.Dimension1Key and
                    dv1.OrganizationId = o.Id and
                 dv1.ColumnIndex = 1
            LEFT JOIN DimensionValuesWithDefinitions dv2 on
                    dv2.SourceKey = dcs.Dimension2Key and
                    dv2.OrganizationId = o.Id and
                 dv2.ColumnIndex = 2
            LEFT JOIN DimensionValuesWithDefinitions dv3 on
                    dv3.SourceKey = dcs.Dimension3Key and
                    dv3.OrganizationId = o.Id and
                 dv3.ColumnIndex = 3
            LEFT JOIN DimensionValuesWithDefinitions dv4 on
                    dv4.SourceKey = dcs.Dimension4Key and
                    dv4.OrganizationId = o.Id and
                 dv4.ColumnIndex = 4
            LEFT JOIN DimensionValuesWithDefinitions dv5 on
                    dv5.SourceKey = dcs.Dimension5Key and
                    dv5.OrganizationId = o.Id and
                 dv5.ColumnIndex = 5
                where
            (dv1.Id IS NOT NULL OR dcs.Dimension1Key IS NULL) AND
            (dv2.Id IS NOT NULL OR dcs.Dimension2Key IS NULL) AND
            (dv3.Id IS NOT NULL OR dcs.Dimension3Key IS NULL) AND
            (dv4.Id IS NOT NULL OR dcs.Dimension4Key IS NULL) AND
            (dv5.Id IS NOT NULL OR dcs.Dimension5Key IS NULL)
86 combinations updated
2017-01-17 21:32:39.4523377
MERGE INTO DimensionCombinationUnreferenced with (TABLOCK) AS tar
                USING (select * from DimensionCombinationResolving) as src
                on tar.SourceKey = src.SourceKey and tar.OrganizationId = src.OrganizationId
                WHEN MATCHED THEN
                    UPDATE SET
                        tar.Description = src.Description, tar.Dimension1Id = src.Dimension1Id, tar.Dimension2Id = src.Dimension2Id, tar.Dimension3Id = src.Dimension3Id, tar.Dimension4Id = src.Dimension4Id, tar.Dimension5Id = src.Dimension5Id
            WHEN NOT MATCHED THEN
                INSERT (Id, SourceKey, OrganizationId, Description, Dimension1Id, Dimension2Id, Dimension3Id, Dimension4Id, Dimension5Id)
                VALUES (src.Id, src.SourceKey, src.OrganizationId, src.Description, src.Dimension1Id, src.Dimension2Id, src.Dimension3Id, src.Dimension4Id, src.Dimension5Id);
86 staged combinations merged
2017-01-17 21:32:39.6433568
0 staged periods updated with organization id
2017-01-17 21:32:39.9483873
0 staged periods updated with fiscal year id
2017-01-17 21:32:39.9493874
5904 staged periods updated to hold key of existing period
2017-01-17 21:32:40.0303955
12 overlapping periods found.
2017-01-17 21:32:40.2864211
0 overlapping periods deleted from staging table
2017-01-17 21:32:40.4594384
Starting [UpdateDimensionValueReferences]
2017-01-17 21:32:46.8690793
11090 dimension values moved
2017-01-17 21:32:49.3353259
4 staged scenarios updated with organization id
2017-01-17 21:32:49.3863310
0 staged scenarios updated with parent id
2017-01-17 21:32:49.3863310
4 staged scenarios updated with id
2017-01-17 21:32:49.3873311
0 staged scenarios found requiring recalculation
2017-01-17 21:32:49.4013325
4 scenarios merged
2017-01-17 21:32:49.4213345
4 staged scenarios not requiring recalculation deleted
2017-01-17 21:32:49.4273351
4 scenarios moved
2017-01-17 21:32:49.4273351
0 staged scenarios updated with parent id
2017-01-17 21:32:49.4273351
0 staged scenarios updated with id
2017-01-17 21:32:49.4273351
0 staged scenarios found requiring recalculation
2017-01-17 21:32:49.4273351
0 scenarios merged
2017-01-17 21:32:49.4273351
0 staged scenarios not requiring recalculation deleted
2017-01-17 21:32:49.4273351
0 scenarios moved
2017-01-17 21:32:49.4273351
The statement has been terminated.
0 periods merged
2017-01-17 21:32:49.6633587
0 facts updated to reflect period change
2017-01-17 21:32:49.9043828
456 periods deleted from PeriodStaging
2017-01-17 21:32:49.9623886

                insert into Fact with(TABLOCK) (
                    Id, DimensionsId, PeriodId, FactDate, OriginalAmount,
                    OriginalUnitOfMeasureId, PrimaryAmount, ScenarioId, IsPosted,
                    PostingLayerId, FactType, IsDebit, OrganizationId, ShouldBeTombstoned,
                    AcquisitionDate, SourceKey, [Description], VersionStart, FactTypeQualifierId)
                output inserted.Id into #newlyInsertedFactIds
                select
                    f.Id, dc.Id, p.PeriodId, f.FactDate, f.OriginalAmount,
                    f.OriginalUnitOfMeasureId, f.PrimaryAmount, s.Id, f.IsPosted,
                    f.PostingLayerId, f.FactType, f.IsDebit, o.Id, f.ShouldBeTombstoned,
                    f.AcquisitionDate, f.SourceKey, f.[Description], '2017-01-17 21:32:38.9392864',
                    ftq.Id
                from FactStaging f
                    inner join Organization o on f.OrganizationKey = o.SourceKey
                    inner join DimensionCombination dc on f.DimensionsKey = dc.SourceKey and dc.OrganizationId = o.Id
                    inner join Scenario s on f.ScenarioKey = s.SourceKey and s.OrganizationId = o.Id
                    inner join PeriodsByDate p on CAST(f.FactDate AS date) = p.IncludedDate and p.OrganizationId = o.Id
                    left join FactTypeQualifier ftq on f.FactTypeQualifierKey = ftq.SourceKey and ftq.OrganizationId = o.Id
                    where (ftq.Id IS NOT NULL or f.FactTypeQualifierKey IS NULL)

                        insert into Fact with(TABLOCK) (
                            Id, DimensionsId, PeriodId, FactDate, OriginalAmount,
                            OriginalUnitOfMeasureId, PrimaryAmount, ScenarioId, IsPosted,
                            PostingLayerId, FactType, IsDebit, OrganizationId, ShouldBeTombstoned,
                            AcquisitionDate, SourceKey, [Description], VersionStart, FactTypeQualifierId)
                        output inserted.DimensionsId into #newlyReferencedCombinations (Id)
                        select
                            f.Id, dc.Id, p.PeriodId, f.FactDate, f.OriginalAmount,
                            f.OriginalUnitOfMeasureId, f.PrimaryAmount, s.Id, f.IsPosted,
                            f.PostingLayerId, f.FactType, f.IsDebit, o.Id, f.ShouldBeTombstoned,
                            f.AcquisitionDate, f.SourceKey, f.[Description], '2017-01-17 21:32:38.9392864',
                            ftq.Id
                        from FactStaging f
                            inner join Organization o on f.OrganizationKey = o.SourceKey
                            inner join DimensionCombinationUnreferenced dc on f.DimensionsKey = dc.SourceKey and dc.OrganizationId = o.Id
                            inner join Scenario s on f.ScenarioKey = s.SourceKey and s.OrganizationId = o.Id
                            inner join PeriodsByDate p on CAST(f.FactDate AS date) = p.IncludedDate and p.OrganizationId = o.Id
                            left join FactTypeQualifier ftq on f.FactTypeQualifierKey = ftq.SourceKey and ftq.OrganizationId = o.Id
                            where (ftq.Id IS NOT NULL or f.FactTypeQualifierKey IS NULL)
                                and f.Id not in (select Id from #newlyInsertedFactIds)
    Stack trace:
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.SqlCommandExtensions.<>c__DisplayClass1.b__0()
at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func)
at Microsoft.Dynamics.Performance.Core.SqlCommandWrapper.RunCommand[TResult](SqlCommand command, Func`1 execute)
at Microsoft.Dynamics.Performance.DDM.FactLoader.ProcessStagedData(String connectionString)
at Microsoft.Dynamics.Integration.Adapters.DimensionalDataMart.DataMartAdapter.RunMaintenance()
at Microsoft.Dynamics.Integration.Service.Tasks.MaintenanceTask.RunImplementation()

    User: NT AUTHORITY\NETWORK SERVICE
    Machine: MFG-NYC-GPRPT1   

Here is the 2nd Error:

Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
--- Exception Dump ---
Caught Exception: [System.Data.SqlClient.SqlException] Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Stack trace:
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()
at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()
at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()
at System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteScalar()
at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.SqlCommandExtensions.<>c__DisplayClassa.<ExecuteScalarWithRetry>b__9()
at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func)
at Microsoft.Dynamics.Performance.Core.SqlCommandWrapper.RunCommand[TResult](SqlCommand command, Func`1 execute)
at Microsoft.Dynamics.Integration.Adapters.DimensionalDataMart.DataMartAdapter.RunMaintenance()
at Microsoft.Dynamics.Integration.Service.Tasks.MaintenanceTask.RunImplementation()

Inner Exception: [System.ComponentModel.Win32Exception] The wait operation timed out
Stack trace:

User: NT AUTHORITY\NETWORK SERVICE

*This post is locked for comments

  • JoshP Profile Picture
    JoshP on at
    RE: MR 2012 Duplicate Record error/ Timeout issue

    Hello Jason,

    Thank you for the details of the issue encountered. Below I have a couple of suggestions:

    1. There is possibly some bad data in the data mart. Editing values in the data mart is not supported, as the next time the data mart is synchronized (by default every 60 seconds for transaction data/5 minutes for everything else), it will try and write the values again. If the data is in an inconsistent state, errors can occur. I recommend starting by re-creating the data mart database to ensure it is populated successfully with data from Dynamics. If the problem is the source data in Dynamics, then the source Dynamics data will need to be corrected.

    Note that re-creating the data mart should not be done regularly unless it is confirmed one of the known processes has been completed which requires a rebuild, such as those listed in the MR blog article:

    blogs.msdn.microsoft.com/.../resetting-the-management-reporter-data-mart.

    (The PowerShell module in the article is not available until upgrading to MR 2012 CU15)

    2. Also, the MR version number listed is CU12. CU15 is the newest version of MR 2012 at this time; however, since you are on the older GP 2010 version, MR 2012 CU13 would be the newest supported version until your Dynamics version is upgraded. Refer to the version list below. I would recommend upgrading to the latest version so you have all of the available improvements and fixes which were released.

    You can download the latest version of Management Reporter 2012 from:

    Microsoft Dynamics Management Reporter Install and Service Packs Overview

    mbs.microsoft.com/.../MROverview

    mbs.microsoft.com/.../MROverview

    Management Reporter feature and version number summary

    blogs.msdn.com/.../management-reporter-feature-and-version-number-summary.aspx

    Installation, upgrade and migration instructions along with a user guide are included at:

    Microsoft Management Reporter: Installation, Migration, System Requirements and Configuration Guides

    www.microsoft.com/.../details.aspx

    To be notified when the next update is released or features added, I recommend that you subscribe to one of the Management Reporter blogs available at the links below:

    All ERPs = blogs.msdn.com/.../dynamics_financial_reporting

    GP = community.dynamics.com/.../dynamicsgp

    Thanks!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,307 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans