Problems adding Step to Disk based Plugin Assembly

The spring 2014 version of the plugin registration tool (Build 6.1.0.581) provides us with a lovely new inteface, however after registering a new  Assembly from Disk you will run into the following error when adding a “New Step”

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault,Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Assembly file name (WorkspaceCRMPlugins.dll) is in invalid format. Only file name is allowed.
Detail: <OrganizationServiceFault xmlns="http://schemas.microsoft.com/xrm/2011/Contracts" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<ErrorCode>-2147204719</ErrorCode>
<ErrorDetails xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
<Message>Assembly file name (WorkspaceCRMPlugins.dll) is in invalid format. Only file name is allowed.</Message>
<Timestamp>2014-09-01T13:22:23.6048859Z</Timestamp>
<InnerFault>
   <ErrorCode>-2147204719</ErrorCode>
   <ErrorDetails xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
   <Message>Assembly file name (WorkspaceCRMPlugins.dll) is in invalid format. Only file name is allow   ed.</Message>
   <Timestamp>2014-09-01T13:22:23.6048859Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<TraceText i:nil="true" />
</OrganizationServiceFault>

This is either a problem with the registration tool or the CRM itself, but to take a guess it is with the plugin registration tool. To overcome the problem update the corresponding record within the ‘PluginAssemblyBase’ table so that the Path field only contains the name of the DLL and not the full path. Once you have changed this record you will then be able to add the plugin step.

Leave a comment