5

Resolved

Exception while trying to import ListInstances

description

After finishing the recipe wizard "Import List Instance" the following exception occurs:
 
Microsoft.Practices.RecipeFramework.ActionExecutionException: An exception occurred during the binding of reference or execution of recipe ListInstanceImport. Error was: Action CreateElementsXml failed to execute:
Exception of type 'Microsoft.Practices.RecipeFramework.VisualStudio.Library.Templates.TemplateException' was thrown..
 
You can remove the reference to this recipe through the Guidance Package Manager. ---> Microsoft.Practices.RecipeFramework.VisualStudio.Library.Templates.TemplateException: Exception of type 'Microsoft.Practices.RecipeFramework.VisualStudio.Library.Templates.TemplateException'
was thrown.
at SPALM.SharePointSoftwareFactory.Library.Actions.BaseItemAction.Render(String templateCode, String templateFile)
at SPALM.SharePointSoftwareFactory.Library.Actions.BaseItemAction.GenerateContent(String templateFilename, String targetFilename, NameValueCollection overrideArguments)
at SPALM.SharePointSoftwareFactory.Library.Actions.BaseItemAction.GenerateContent(String templateFilename, String targetFilename)
at SPALM.SharePointSoftwareFactory.Library.Actions.AddElementsDefinitionAction.AddElementsDefinitionToVSTemplate(DTE dte, Project project, String evaluatedParentFeatureName, String evaluatedSPDataTemplate, String evaluatedElementsTemplate, String
evaluatedElementsCategory, String evaluatedElementsName, String evaluatedTargetFileName)
at SPALM.SharePointSoftwareFactory.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.SharePointSoftwareFactory.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.VisualStudio.Templates.UnfoldTemplate.ExecuteRecipe(Boolean executeActions)
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate.RunFinished()

comments

elmerm wrote Oct 31, 2011 at 8:23 PM

Is there a fix or workaround for this? I'm having this problem too.

bdenomme wrote Mar 23, 2012 at 3:45 PM

Anyone got a solution for this error yet ?

matein78 wrote May 28, 2013 at 2:56 PM

Fixed in SharePoint Software Factory 4.1.3