web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Unable to deploy a custom workflow : CRM 2013 (Strong name validation failed error)

(0) ShareShare
ReportReport
Posted on by 25

Hello.

I am getting the below error while trying to register a new custom workflow in CRM 2013.

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Exception retrieving custom activity info - Strong name validation failed. (Exception from HRESULT: 0x8013141A)
Detail: <OrganizationServiceFault xmlns="schemas.microsoft.com/.../Contracts" xmlns:i="www.w3.org/.../XMLSchema-instance">
<ErrorCode>-2147200995</ErrorCode>
<ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>Exception retrieving custom activity info - Strong name validation failed. (Exception from HRESULT: 0x8013141A)</Message>
<Timestamp>2016-04-21T02:07:28.7079148Z</Timestamp>
<InnerFault>
<ErrorCode>-2147200995</ErrorCode>
<ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>Exception retrieving custom activity info - Strong name validation failed. (Exception from HRESULT: 0x8013141A)</Message>
<Timestamp>2016-04-21T02:07:28.7079148Z</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.UpdateAssembly(CrmOrganization org, String pathToAssembly, CrmPluginAssembly assembly, PluginType[] type)
at Microsoft.Crm.Tools.AssemblyRegistration.PluginRegistrationViewModel.btnregisterClick()

I was succesfully able to deploy other workflows yesterday without any issue. Strangely, this issue started later during the day yesterday. 

Further, I am unable to update some of the workflows that were succesfully deployed yesterday. Getting the same error as above. 

We use CRM 2013. I use the 2015 plugin reg tool. 

I would really appreciate if someone could assist me on this , since I have an urgent requirement.

Regards.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    nghieppham Profile Picture
    4,755 on at

    Hi Sreejith.Vijayan,

    you should unregistered this custom activity and then register again.  

    Regards,

  • Sreejith.Vijayan Profile Picture
    25 on at

    Hello. Thank you for your reply. However, this is a new workflow i am trying to register.

  • Suggested answer
    nghieppham Profile Picture
    4,755 on at

    Hello,

    Please try to delete the old strong key file and create a new one. You should check for creating key file without creating the password.

    Regards,

  • Sreejith.Vijayan Profile Picture
    25 on at

    Thanks Pham Hong. I tried that now. Still no luck.

  • Suggested answer
    nghieppham Profile Picture
    4,755 on at
  • Sreejith.Vijayan Profile Picture
    25 on at

    Thanks Pham Hong. Sorry.. but i did try that as well.

  • Verified answer
    abhishek_255 Profile Picture
    1,614 on at

    Change assembly version (major) , rebuild and register.

  • Suggested answer
    Sreejith.Vijayan Profile Picture
    25 on at

    Thanks a lot Abhishek. That solved the problem. Appreciate your assistance.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans