none
Object Reference not found when trying to install a new workflow WSP. WorkflowManager 1.0 and sharepoint 2013 RRS feed

  • Question


  • I am getting the following error when I am trying to install a custom workflow <g class="gr_ gr_32 gr-alert gr_spell gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="32" id="32">wsp</g> from Visual studio. I could see that scopes were not created for Site and Web level upon registration. Also, re-registration did not help.

    Active Deployment Configuration: Default Skipping deployment step because a pre-deployment command is not specified. Recycle IIS Application Pool: Recycling IIS application pool 'SharePoint - weisungen.Customer.local80'... Retract Solution: Deactivating feature 'Customer_Solution2_Customer_Weisung_Templates_Feature' ... Retracting solution 'Customer_Solution2.wsp'... Deleting solution 'Customer_Solution2.wsp'... Add Solution: Found 7 deployment conflict(s). Resolving conflicts ... Deleted list instance 'Lists/DraftWeisungen' from server. Deleted list instance 'Lists/Segmente' from server. Deleted list instance 'Lists/PublishedWeisungen' from server. Deleted list instance 'Lists/WeisungAttachments' from server. Could not delete file 'http://server02/wfsvc/153a1b69cff54671b12cd0d7d90498dc/Workflow.xaml' from server. Deleted file 'http://server02/wfsvc/153a1b69cff54671b12cd0d7d90498dc/WorkflowStartAssociation' from server. Deleted list instance 'Lists/WorkflowHistoryList' from server. Deleted list instance 'Lists/WorkflowTaskList' from server. Deployment conflict resolution for one or more items failed. See the Output Window for details. Adding solution 'Customer_Solution2.wsp'... Deploying solution 'Customer_Solution2.wsp'... Activate Features: Activating feature 'Customer_Weisung_Templates_Feature' ... Activating feature 'Customer_Weisung_Workflow_Feature' ... Error occurred in deployment step 'Activate Features': System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.SharePoint.WorkflowServices.WorkflowSubscriptionStorageEventReceiver.ItemUpdating(SPItemEventProperties properties) ========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ========== ========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========



    Tuesday, July 26, 2016 5:41 AM

All replies