Changes to Documentation

Jun 16, 2009 at 10:49 AM

You mentioned on another post that we would no longer need to deploy the workflow seperatly. Is that now the case?

If it is, then this documentation is out of date:

http://msdn.microsoft.com/en-us/library/dd206950.aspx

All the best

Coordinator
Jun 16, 2009 at 11:45 AM

Hi,

We will continue to deploy the workflow separately for version 1.  This is by design.  Part of what we looked at in version 1 was how to support upgrade of different types of artifacts in a SharePoint application.  One issue we discovered wasn't very well understood is how to support workflows in flight running to completion when a workflow needed to be updated.  The only way to support this is to partition your workflow into a different solution that can be indepedently versioned so the v1 workflow assembly is not removed from the GAC on upgrade (both approaches, upgradesolution and doing a retract-redeploy will remove the old assemblies from the GAC in the solution).  We then leave the version 1 workflow installed which supports any in flight workflows running to completion, but attach the new workflow to the list to kick off for any new entries.  Once all of the in flight workflows complete, the version 1 workflow can then be deactivated.

We describe workflow upgrade here: http://msdn.microsoft.com/en-us/library/dd206953.aspx

There is also a good discussion in this article: http://msdn.microsoft.com/en-us/library/cc514224.aspx#MOSS2007DevWorkflowSolutions_SavingWorkflowState

Chris

Jun 16, 2009 at 12:16 PM

Cheers Chris.

The main reason I was asking is when running spg v2 after deploying the trainingmanagement project, I then try to deploy the Registration approval workflow and it errors telling me I'm missing some features. Is it already deployed?

Kieran

Coordinator
Jun 16, 2009 at 9:19 PM

Hello Kieran,

The Web scoped Infrastructure feature does depend on the Site scoped Workflow feature. Other that this, there should be no other activation dependencies. Let me know if you are running into something else.

BTW: We renamed most of our features in this iteration to be clearer where dependent features should be activated. Please look for this next iteration drop.

-Francis

Jun 17, 2009 at 10:45 AM

When I try to deploy the RegistrationApproval project I get the following error:

VSeWSS Service Error: Dependency feature with id 9d4c5dae-88a3-4f95-bd08-6ebde74ae266 for feature 'ContosoTrainingManagementRegistrationApproval_v1' (id: 129c6ad5-2aa4-465c-b6e4-b4a304ef9b54) is not installed.

The code that I am running, I downloaded from this link:

http://spg.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=28496

which I thought was the latest version.

Am I missing something? :)

Cheers

Developer
Jun 22, 2009 at 9:24 PM

It looks like feature ids were changed when we upgraded from VSeWSS 1.2 to 1.3. We will update the feature activation dependencies with the correct feature ids in our next release. In the mean time, the feature with ID 9d4c5dae-88a3-4f95-bd08-6ebde74ae266 is the ContosoTrainingManagementSiteSiteCollection feature. Also the activation dependency in ContosoTrainingManagementRegistrationApprovalAssociation feature may also be incorrect.

Aug 12, 2009 at 8:08 PM

Came acrross the same error as @krs1.  Updating the id (2 files) from "9d4c5dae-88a3-4f95-bd08-6ebde74ae266" to "0cb4445d-ab1a-4053-9301-50c3b2666f31" seems to work. But, then another error is thrown:

Dependency feature with id f187949e-496d-4894-85be-3029853d3d22 for feature 'ContosoTrainingManagementRegistrationApprovalAssociation_v1' (id: e377e384-986e-47db-a40c-91eec8af47af) is not installed.

Dependency feature with id f187949e-496d-4894-85be-3029853d3d22 for feature 'ContosoTrainingManagementRegistrationApprovalAssociation_v1' (id: e377e384-986e-47db-a40c-91eec8af47af) is not installed.

The above error appears to be for the ContosoTrainingManagementWeb feature. Updating the id (1 location) from "f187949e-496d-4894-85be-3029853d3d22" to "8007101d-34cd-45dc-83ec-d0b6dc35edf9" appears to resolve the error (sort of!).

After updating to the correct id for the ContosoTrainingManagementWeb feature,  the "not installed" error went away, but a new "not activated at this scope" error popped up:

Dependency feature 'ContosoTrainingManagementWeb' (id: 8007101d-34cd-45dc-83ec-d0b6dc35edf9) for feature 'ContosoTrainingManagementRegistrationApprovalAssociation_v1' (id: e377e384-986e-47db-a40c-91eec8af47af) is not activated at this scope.

The above ran into this error (article references the old id):
http://www.codeplex.com/spg/WorkItem/View.aspx?WorkItemId=2538

And after following the above article and activating the feature on the Contoso Training site, the error still occurs when trying to deploy.

Finally, came across this artice that says v1.3 is not supported by 64bit machines:
http://spg.codeplex.com/Thread/View.aspx?ThreadId=55985

 

After chasing the rabbit, is there any word on a VSeWSS package that supports 64-bit systems? 

Dec 7, 2009 at 8:49 AM

I'm getting the same problem with the error: VSeWSS Service Error: Dependency feature 'ContosoTrainingManagementWeb' (id: 8007101d-34cd-45dc-83ec-d0b6dc35edf9) for feature 'ContosoTrainingManagementRegistrationApprovalAssociation_v1' (id: e377e384-986e-47db-a40c-91eec8af47af) is not activated at this scope. I'm using the August 2009 release of the Sharepoint Guidance code and following the September 2009 documentation on a 32 bit server so it appears that the problem was not fixed in the latest release.

 

Is there a solution?

Has anyone actually got this working?

 

Thanks

Dec 7, 2009 at 10:02 AM


Hi JohnSeaden,

can you make sure you have updated Training management URL in workflow project properties before deploy.

 To install the registration approval workflow

1.In Visual Studio 2008, right-click the Contoso.TrainingManagement.Workflows.RegistrationApproval project, and then click Properties. Click Debug.
2.Specify the URL of the Training Management site that you created in step 4 of the first procedure. (http://msdn.microsoft.com/en-us/library/ee413804.aspx )
3.Right-click the Contoso.TrainingManage.Workflows.RegistrationApproval project, and then click Deploy. Make sure that the Contoso.TrainingManagement.Workflows.RegistrationApproval/pkg folder and Contoso.TrainingManagement.Workflows.RegistrationApproval/bin/Debug folder are not read-only.

Thanks

Appaji

Dec 8, 2009 at 7:11 AM

I did eventually get the Training example to work from the August drop ... problems were all down to me, mistyping in the URL

Jan 21, 2010 at 8:59 AM

Hello,

 

I ran across this same problem yesterday when deploying the Contoso.TrainingManagement.Workflows.RegistrationApproval project.

I seem to have everything set correctly, any other suggestions?

Exact error message:

System.ArgumentException: Dependency feature 'ContosoTrainingManagementWeb' (id: 8007101d-34cd-45dc-83ec-d0b6dc35edf9) for feature 'ContosoTrainingManagementRegistrationApprovalAssociation_v1' (id: e377e384-986e-47db-a40c-91eec8af47af) is not activated at this scope.