Exception while trying to import ListInstances

Apr 14, 2011 at 9:21 AM

Hello,

when I try to import a list instance I always get the the exception below.

Are there some preparations necessary before the import?

Thanks for help

Michael

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, Dictionary`2 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()

Coordinator
Apr 19, 2011 at 4:35 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.