CRM 2011 Plugins deployment - From Development to Production RRS feed

  • Question

  • Hello all. Current CRM 2011 Rollup 6 architecture is as follows: 1 Web Server with Front End Server role installed and 1 Application Server with all three roles installed. Development team has built some plugins and when they deploying them in the Application Server, they say they get an error and thus, cannot proceed. Error is as follows:

    Unhandled Exception: System.ServiceModel.FaultException: The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.


    Server stack trace: 
       en System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
       en System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
       en System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       en System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       en System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)


    Exception rethrown at [0]: 
       en System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       en System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       en Microsoft.Xrm.Sdk.Discovery.IDiscoveryService.Execute(DiscoveryRequest request)
       en Microsoft.Xrm.Sdk.Client.DiscoveryServiceProxy.Execute(DiscoveryRequest request)
       en PluginRegistrationTool.CrmConnection.RetrieveOrganizations() en D:\Integración CRM Online 2011\sdk\tools\pluginregistration\CrmConnection.cs:línea 315
       en PluginRegistrationTool.ConnectionsForm.OpenConnection(CrmConnection con) en D:\Integración CRM Online 2011\sdk\tools\pluginregistration\ConnectionsForm.cs:línea 940

    Now they are saying that they need the Deployment Administration Server role installed in the Web Server, which I just did, so they can deploy the plugin in this server. This didn't work also, as I was expecting.

    Now they are saying that they need the Back End Server role to see if they can deploy the plugins.

    Question is, for our initial architecture, where do they need to deploy the plugins?


    Guillermo Taylor F.
    IT Pro & Xbox gamer
    My blog

    Tuesday, February 21, 2012 1:08 AM

All replies

  • Deployment of plugins is not dependent on which roles are installed on the individual servers. The most important thing to check is privileges to deploy plugins users need to be Deployment administrators. This is a role which is not configured in the CRM organization but using the CRM deployment manager. This role is needed whenever an assembly is being registered which does not run in the sandbox.

    If the person doing the deployment already is a member of this role I would recommend checking the log files. The windows event log will contain most important entries, if this does not contain any information or it is insufficient you may want to enable tracing (http://support.microsoft.com/kb/907490).

    Patrick Verbeeten

    Tuesday, February 21, 2012 11:23 AM