Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 143529

Management Reporter not updating list of users

$
0
0

Dear Experts,
I`m having trouble to add new users to Management Reporter, and remove old ones that are no longer active in AX. New users have necessary roles added to grant them permission to MR, however they still don't have access to it.
I looked at MR configuration console and last time everything was fully integrated was few minutes ago.
Here's the error log from MR services:

Cannot insert duplicate key row in object '[dbo].[SecurityPrincipal]' due to trigger '[dbo].[SecurityPrincipal_Insert_UniqueName]'.
The transaction ended in the trigger. The batch has been aborted.
--- Exception Dump ---
Caught Exception: [System.Data.SqlClient.SqlException] Cannot insert duplicate key row in object '[dbo].[SecurityPrincipal]' due to trigger '[dbo].[SecurityPrincipal_Insert_UniqueName]'.
The transaction ended in the trigger. The batch has been aborted.
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.Dynamics.Performance.Integration.Reporting.Adapter.CompanyProvider.Finish()
at Microsoft.Dynamics.Integration.Service.Tasks.MapWork.GetTaskExecutionResult(Task`1 processRecordsTask)
at Microsoft.Dynamics.Integration.Service.Tasks.MapWork.Run()
at Microsoft.Dynamics.Integration.Service.Tasks.MapTask.RunImplementation()

User: axapp
Machine: AXAPP

Regards,
V


Viewing all articles
Browse latest Browse all 143529

Trending Articles