none
getting weird error massages in event viewer : System.Data.ConstraintException AND Type: System.UnauthorizedAccessException RRS feed

  • Question

  • this is the event log details:

    Microsoft.Clm.BusinessLayer.WorkerThreads.TemporarySmartCardDisableService"              "Void ProcessTemporarySmartCards"       ""            "DOMAIN\CLMUpdate"      x00000968          0x00000008

    1) Exception Information

    *********************************************

    Exception Type: System.UnauthorizedAccessException

    Message: Current user [DOMAIN\CLMUpdate] is not authorized to initiate this operation [Temporary Cards] on PTFEA

    Data: System.Collections.ListDictionaryInternal

    TargetSite: Void CheckPolicyManagerCanInitiate(Microsoft.Clm.Common.AD.UserProfile, Microsoft.Clm.Common.UserProfiles.ProfilePolicy)

    HelpLink: NULL

    Source: Microsoft.Clm.BusinessLayer

    StackTrace Information

    *********************************************

       at Microsoft.Clm.BusinessLayer.Check.CheckPolicyManagerCanInitiate(UserProfile profileTemplate, ProfilePolicy policy)

       at Microsoft.Clm.BusinessLayer.Create.CheckRevokeReinstateSuspendRetire(RequestFlags requestFlags, UserProfile profileTemplate, ProfilePolicy policy, Guid targetUserUuid, UserAccessRights userAccessRights, Guid profileUuid, Guid scUuid)

       at Microsoft.Clm.BusinessLayer.Create.TemporaryCardDisableRequest(ProfilesRow profileDataRow, Guid originatorUserUuid, RequestFlags requestFlags, String comment, Byte requestPriority)

       at Microsoft.Clm.BusinessLayer.Create.CreateTemporaryCardDisableRequestBySmartCardUuid(Guid scUuid, Boolean selfService, String comment, Byte requestPriority)

       at Microsoft.Clm.BusinessLayer.WorkerThreads.TemporarySmartCardDisableService.ProcessTemporarySmartCard(SmartCardsRow row)

       at Microsoft.Clm.BusinessLayer.WorkerThreads.TemporarySmartCardDisableService.ProcessTemporarySmartCards()

    
    

    AND

    Microsoft.Clm.Service.ClmService"  "Void Process"    ""               "DOMain\CLMUpdate"       x00000124          0x0000000B

    General Information

    *********************************************

    Additional Info:

    Worker thread Online update worker thread (3) terminated with the following error: Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints..

    1) Exception Information

    *********************************************

    Exception Type: System.Data.ConstraintException

    Message: Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.

    Data: System.Collections.ListDictionaryInternal

    TargetSite: Void EnableConstraints()

    HelpLink: NULL

    Source: System.Data

    StackTrace Information

    *********************************************

       at System.Data.DataSet.EnableConstraints()

       at System.Data.DataSet.set_EnforceConstraints(Boolean value)

       at System.Data.DataTable.EndLoadData()

       at System.Data.Common.DataAdapter.FillFromReader(DataSet dataset, DataTable datatable, String srcTable, DataReaderContainer dataReader, Int32 startRecord, Int32 maxRecords, DataColumn parentChapterColumn, Object parentChapterValue)

       at System.Data.Common.DataAdapter.Fill(DataSet dataSet, String srcTable, IDataReader dataReader, Int32 startRecord, Int32 maxRecords)

       at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)

       at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)

       at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)

       at Microsoft.Clm.DataAccess.ExecuteSqlCommand.FillDataSet(SqlDataAdapter sqlDataAdapter, DataSet dataSet)

       at Microsoft.Clm.DataAccess.Certificates.GetProfilesByStatus(ProfileStatus status)

       at Microsoft.Clm.BusinessLayer.WorkerThreads.OnlineUpdateService.ProcessProfiles()

       at Microsoft.Clm.Common.Threading.WorkerThread.ThreadProc

    any idea what is that all about?

    I'm getting frustrated here :)

    thanks,

    David

    
    

    Tuesday, January 9, 2018 10:11 AM