Answered by:
Plugin Register Error - Assembly file name is in invalid format. Only file name is allowed.

Question
-
Hi,
when I add a step in a plugin registered in disk using the 2013 or 2011 tool for CRM 2013. it got a error as below.
Assembly file name is in invalid format. Only file name is allowed.
Anyone know this? thank you.
Detailed log as below
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 (LoyaltyEngine.CRM.Main.Plugin.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 (LoyaltyEngine.CRM.Main.Plugin.dll) is in invalid format. Only file name is allowed.</Message>
<Timestamp>2014-12-31T05:16:55.9984484Z</Timestamp>
<InnerFault>
<ErrorCode>-2147204719</ErrorCode>
<ErrorDetails xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
<Message>Assembly file name (LoyaltyEngine.CRM.Main.Plugin.dll) is in invalid format. Only file name is allowed.</Message>
<Timestamp>2014-12-31T05:16:55.9994483Z</Timestamp>
<InnerFault i:nil="true" />
<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 Microsoft.Crm.Tools.Libraries.RegistrationHelper.RegisterStep(CrmOrganization org, CrmPluginStep step)
at Microsoft.Crm.Tools.PluginRegistration.StepRegistrationViewModel.btnRegister_Click(Object sender, EventArgs e)
Dynamics CRM Consulting
- Edited by Jack - Jiang HuiYong Wednesday, December 31, 2014 5:23 AM
Wednesday, December 31, 2014 5:18 AM
Answers
-
Hi,
Have you checked the below links.
http://mscrmdeveloper.wordpress.com/2014/09/04/problems-adding-step-to-disc-based-plugin-assembly/
http://gustafwesterlund.blogspot.com/2014/05/issues-with-new-plugin-registration-tool.html
Hope this Helps!!!
Thanks,
Prasad
Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.
- Marked as answer by Jack - Jiang HuiYong Wednesday, December 31, 2014 12:19 PM
Wednesday, December 31, 2014 6:40 AM
All replies
-
Hi,
Have you checked the below links.
http://mscrmdeveloper.wordpress.com/2014/09/04/problems-adding-step-to-disc-based-plugin-assembly/
http://gustafwesterlund.blogspot.com/2014/05/issues-with-new-plugin-registration-tool.html
Hope this Helps!!!
Thanks,
Prasad
Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.
- Marked as answer by Jack - Jiang HuiYong Wednesday, December 31, 2014 12:19 PM
Wednesday, December 31, 2014 6:40 AM -
Thank you. It's helpful for me.
after checked the plugin table, I changed the 'file on server' using dll name (not full path) to register. it works well.
Dynamics CRM Consulting
Wednesday, December 31, 2014 12:19 PM