hi ,
I am getting error while publishing the Ribbon Solution .
The error is:
Import Failed : Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.osf, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Error while importing workflow {a73affc9-8c83-e511-80f4-3863bb36ef98} name Default ValueDetail:
<osf xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1="" />
<Message>Error while importing workflow {a73affc9-8c83-e511-80f4-3863bb36ef98} name Default Value</Message>
<Timestamp>2017-07-13T09:21:20.515639Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault>
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d3p1="" />
<Message>Error while importing workflow {a73affc9-8c83-e511-80f4-3863bb36ef98} name Default Value</Message>
<Timestamp>2017-07-13T09:21:20.515639Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault>
<ErrorCode>-2147209463</ErrorCode>
<ErrorDetails xmlns:d4p1="" />
<Message>SecLib::RetrievePrivilegeForUser failed - no roles are assigned to user. Returned hr = -2147209463, User: 56d9984d-6418-e711-810d-3863bb3c56b8</Message>
<Timestamp>2017-07-13T09:21:20.515639Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</osf>
at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode, ExecutionContext executionContext)
at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)
at Microsoft.Crm.Extensibility.InprocessServiceProxy.ExecuteCore(OrganizationRequest request)
at Microsoft.Crm.Asynchronous.ExecuteSdkMessageOperation.InternalExecute(AsyncEvent asyncEvent)
Stack Trace:
Error:
at ClientUI.ViewModel.EditCommandBarsVM.queryImport (:19488:1442)
at Anonymous function (:19489:1)
Anyone faced the issue please guide.
*This post is locked for comments
is it possible that i have changed one buttons functionality in Ribbon and some other buttons are missing from the Home Page?
can this error be just because of Environment Version
?
I can check it , but i think i have reassigned all the Disabled owners records to Enabled Owners.
Well its possible that Business Rules can be owned by Users that don't exist anymore in your Live System.
but I have made same changes in the Sandbox environment at that time it did not throw any error it is throwing error only in Production environment.
I think it may still apply to publishing as well. Here is another article explaining that it was something to do with the Business Rules.
crmgiant.eu/.../reassign-records-does-not-reassign-business-rules
Thanks for the quick response Thomas ,But i am not getting error while importing a solution in CRM .I am getting the error while modifying a button in Ribbon Workbench and the error is showing while Publishing the Ribbon.
Hi Varsha,
Scott Durow explains this error in detail - community.dynamics.com/.../business-rules-amp-seclib-retrieveprivilegeforuser-failed-no-roles-are-assigned-to-user
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156