0

I am using SharePoint foundation 2013 and visual studio 2015.

I having creating workflow project then getting an issue i mention bellow step follow

First step is i created add new SharePoint project with blank solution.

Second step is i added new list with selected Default(custom list) and i like to add some columns in the list and then changed Feature Name like "DeviationWorkflowlistFeature" this

Third step is add to Workflow and edit workflow to add WriteToHistory Tool And Finally last step is build is "successfully" and then i deployed project then got an issue I mention bellow

Severity Code Description Project File Line Suppression State Error Error occurred in deployment step 'Add Solution': Failed to load receiver assembly "Microsoft.SharePoint.WorkflowServices, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" for feature "WorkflowProject_Feature1" (ID: 3f748e54-537a-4ecb-8978-93a5fb7fcda8).: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.SharePoint.WorkflowServices, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified. File name: 'Microsoft.SharePoint.WorkflowServices, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection) at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.Assembly.Load(String assemblyString) at Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject()

WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

and I changed Feature Template as below

Feature1.Template.xml both template  add tag   
AlwaysForceInstall="TRUE"    
<Feature **AlwaysForceInstall="TRUE"** xmlns="http://schemas.microsoft.com/sharepoint/"> 

then got an new error as bellow

Severity Code Description Project File Line Suppression State Error Error occurred in deployment step 'Activate Features': Feature '2c63df2b-ceab-42c6-aeff-b3968162d4b1' for list template '4501' is not installed in this farm. The operation could not be completed.

how do it resolve it.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.