1

Resolved

Error Creating a new Custom Action

description

I received the following error from the current release (as of 05/08/2013) creating a custom action

Steps:
1) SPSF Artefacts -> Custom Actions and Ribbons -> Custom Action Group

2) Provide Name for CA GROUP -> Press OK

3) New Parent Feature, Used Defaults for Name/Title/Description, Scope = Farm and selected Create Feature Receiver

4) Used Default Title,Description, Ensured Sequence was 100, Set Location to Microsoft.SharePoint.Administration.ApplicationManagement (Microsoft.SharePoint.Administration.ApplicationManagement)

5) Pressed Finish

Error:

Microsoft.Practices.RecipeFramework.ActionExecutionException: An exception occurred during the binding of reference or execution of recipe CustomActionGroup. Error was: Action CreateElementsXml failed to execute:
Feature CTP_FBA_ADLDSConfiguration not found. Could not add feature to package..
You can remove the reference to this recipe through the Guidance Package Manager. ---> System.Exception: Feature CTP_FBA_ADLDSConfiguration not found. Could not add feature to package.
at SPALM.SPSF.Library.Helpers2.AddVSElementToVSFeature(DTE dte, Project project, ProjectItem elementFolder, String evaluatedParentFeatureName)
at SPALM.SPSF.Library.Actions.AddElementsDefinitionAction.AddElementsDefinitionToVSTemplate(DTE dte, Project project, String evaluatedParentFeatureName, String evaluatedSPDataTemplate, String evaluatedElementsTemplate, String evaluatedElementsCategory, String evaluatedElementsName, String evaluatedTargetFileName)
at SPALM.SPSF.Library.Actions.AddElementsDefinitionAction.Execute()
at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionExecutionService.Execute(String actionName, Dictionary2 inputValues)
at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionExecutionService.Execute(String actionName)
at SPALM.SPSF.Library.Coordinators.ConditionalCoordinator.Run(Dictionary
2 declaredActions, XmlElement coordinationData)
at Microsoft.Practices.RecipeFramework.Recipe.ExecuteActions(IDictionaryService readOnlyArguments, IDictionaryService arguments, ITypeResolutionService resolution)
--- End of inner exception stack trace ---
at Microsoft.Practices.RecipeFramework.Recipe.UndoExecutedActionsAndRethrow(Exception ex)
at Microsoft.Practices.RecipeFramework.Recipe.ExecuteActions(IDictionaryService readOnlyArguments, IDictionaryService arguments, ITypeResolutionService resolution)
at Microsoft.Practices.RecipeFramework.Recipe.Execute(Boolean allowSuspend)
at Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(String recipe, IAssetReference reference, IDictionary arguments)
at Microsoft.Practices.RecipeFramework.GuidancePackage.ExecuteFromTemplate(String recipe, IDictionary arguments)
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate.ExecuteRecipe(Boolean executeActions)
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate.RunFinished()

comments

matein78 wrote May 27, 2013 at 9:43 AM

Fix:Add to C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Recipes\Artefacts\CustomActions\CustomActionGroup.xml after(line 93)

Will be fixed in the next update.

matein78 wrote May 28, 2013 at 2:54 PM

Fixed in SharePoint Software Factory 4.1.3