Error Publishing Workflo

Apr 2, 2014 at 6:30 PM
Hello there... I am getting the following error when I publish a workflow using this activity:

(20, 3) CreateInstance failed for type 'SPD_SendEmailWithAttachment.SendEmailWithAttachment'. Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401).)

SP2010 version... Any ideas?

Thanks
Apr 2, 2014 at 6:55 PM
I have never ran into this error before. Doing some research I found some people that have ran into this issue with other applications performed an IIS reset and it resolved their issue. It might also be helpful to clear SharePoint Designer cache. Sometimes it can get things confused. http://www.myspblog.com/2011/07/clear-sharepoint-designer-cache.html

If that doesn't work I will see what else I can find out,

Thanks,
Matt