locked
Server was unable to process request - Plugin Registration Tool RRS feed

  • Question

  • Hi,

    We are experiencing a problem with our newly refreshed UAT and DEV orgs.

    First a little background. Our aim was to refresh the existing UAT and DEV orgs (which are on the same machine) with the current PROD configuration. I performed a backup of the PROD DB, deleted the PROD/DEV orgs and DBs then restored two DBs from the PROD backup. I then created two new CRM orgs from the new DBs.

    We have a heavily customised custom entity that on save throws the following error: 

    <<SORRY - I CANNOT POST SCREENSHOTS>

    "

    Unexpected Error

    An error occurred. Try this action again. If the problem continues, check the MS CRM Community for solutions or contact your...

    "

    with the log text stating:

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Runtime.InteropServices.COMException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #385EDD4BDetail:  <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">   <ErrorCode>-2147220970</ErrorCode>   <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />   <Message>System.Runtime.InteropServices.COMException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #385EDD4B</Message>   <Timestamp>2016-10-05T03:30:48.8566238Z</Timestamp>   <InnerFault i:nil="true" />   <TraceText i:nil="true" /> </OrganizationServiceFault>

     

    I checked the registered plugins through the Plugin Registration Tool and found a step executing on create of the record. I disabled the step and the error stopped. Upon inspecting the step i see that the "Run in User's Context" is set to a 'real' user. I attempted to change this to "Calling User" but upon clicking "Ok" I am presented with another error message, this time stating:

    <<SORRY - I CANNOT POST SCREENSHOTS>

    Registration Error

    Error occurred while registering this step. Would you like to see the details of this error?

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Server was unable to process request. Detail: <OrganizationServiceFault xmlns="http://schemas.microsoft.com/xrm/2011/Contracts" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">   <ErrorCode>-2147023878</ErrorCode>   <ErrorDetails xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />   <Message>Server was unable to process request.</Message>   <Timestamp>2016-10-05T03:35:02.3373494Z</Timestamp>   <InnerFault>     <ErrorCode>-2147023878</ErrorCode>     <ErrorDetails xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />     <Message>Server was unable to process request.</Message>     <Timestamp>2016-10-05T03:35:02.3373494Z</Timestamp>     <InnerFault>       <ErrorCode>-2147220970</ErrorCode>       <ErrorDetails xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />       <Message>System.Runtime.InteropServices.COMException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #386D7710</Message>       <Timestamp>2016-10-05T03:35:02.3373494Z</Timestamp>       <InnerFault i:nil="true" />       <TraceText i:nil="true" />     </InnerFault>     <TraceText i:nil="true" />   </InnerFault>   <TraceText i:nil="true" /> </OrganizationServiceFault> 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.Xrm.Sdk.IOrganizationService.Update(Entity entity)    at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.UpdateCore(Entity entity)    at Microsoft.Crm.Tools.PluginRegistration.RegistrationHelper.UpdateStep(CrmOrganization org, CrmPluginStep step, Nullable`1 origSecureConfigId, IList`1 updateImages)    at Microsoft.Crm.Tools.PluginRegistration.StepRegistrationForm.btnRegister_Click(Object sender, EventArgs e)

     

    I cannot work out what is causing this error. Other posts have suggested missing DLLs in both CRMWeb/bin/ and in the Plugin Registration Tool directory, but neither of these fixed the issue. Any help would be greatly appreciated.

    Thanks heaps

    Wednesday, October 5, 2016 8:07 PM

Answers

  • I came back this morning after posting this and the problems have resolved themselves. This includes an issue with dashboard graphs not rendering. I guess IIS restarted sometime last night.
    • Marked as answer by Corey Sutton Wednesday, October 5, 2016 8:44 PM
    Wednesday, October 5, 2016 8:44 PM