Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Recipe Framework Error when created SCSF project
 

Recipe Framework Error when created SCSF project

I installed SCSF may 2007 release. when I want to create a new Smart Client Application (C#) in Guidance Packages, I encounted the Recipe Framework Error which says:

An exception occurred during the binding of reference or excution of recipe BindingRecipe. Error was: Action FoundationalModuleRefVB failed to excute: Cannot find registration information for template "D:\Microsoft\Smart client Factory\Guidance Package\Templates\Projects\Module.VB\ModuleHandle.vstemplate". Package templates may not be properly registered. Run package installation again and verify template name and location.

I tried to reinstalled the SCSF again, but not help.

My visual studio is 2005 and I only install C#, is that the problem?

ikeepsmile  Friday, October 05, 2007 5:02 AM

I have fix it by:

uninstall the SCSF and GAX

repair the VS2005 add the VB.net, then reinstall sp1

install GAX and SCSF

then it works. I think it was the VB module in the SCSF that cause this problem.

ikeepsmile  Wednesday, October 10, 2007 3:44 PM

And I cannot enable the smart client development may 2007 package in other project though I can explore the package when I chose to explore selected package, I can see the recipes and templates. But I cannot enable it, the error message shows:

Microsoft.Practices.RecipeFramework.ActionExecutionException: An exception occurred during the binding of reference or execution of recipe BindingRecipe. Error was: Action FoundationalModuleRefVB failed to execute:
Cannot find registration information for template "D:\Microsoft\Smart Client Factory\Guidance Package\Templates\Projects\Module.VB\ModuleHandle.vstemplate". Package templates may not be properly registered. Run package installation again and verify template name and location..
You can remove the reference to this recipe through the Guidance Package Manager. ---> System.InvalidOperationException: Cannot find registration information for template "D:\Microsoft\Smart Client Factory\Guidance Package\Templates\Projects\Module.VB\ModuleHandle.vstemplate". Package templates may not be properly registered. Run package installation again and verify template name and location.
�Microsoft.Practices.RecipeFramework.VisualStudio.Templates.VSTemplatesService.GetTemplateRegistryData(String templateFileName)
�Microsoft.Practices.RecipeFramework.VisualStudio.Templates.VSTemplatesService.Microsoft.Practices.RecipeFramework.VisualStudio.Common.IVsTemplatesService.GetTemplate(String templateFileName)
�Microsoft.Practices.RecipeFramework.VisualStudio.Templates.TemplateReference.OnSited()
�Microsoft.Practices.RecipeFramework.AssetReference.set_Site(ISite value)
�System.ComponentModel.Container.Add(IComponent component, String name)
�Microsoft.Practices.RecipeFramework.Services.AssetReferenceService.Add(IComponent component, String name)
�System.ComponentModel.Container.Add(IComponent component)
�Microsoft.Practices.RecipeFramework.Services.AssetReferenceService.Add(IAssetReference reference, IDictionary initialState, Boolean throwIfDuplicate)
�Microsoft.Practices.RecipeFramework.Services.AssetReferenceService.Add(IAssetReference reference, IDictionary initialState)
�Microsoft.Practices.RecipeFramework.Services.AssetReferenceService.Add(IAssetReference reference)
�Microsoft.Practices.RecipeFramework.Library.Actions.CreateUnboundReferenceAction.Execute()
�Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionExecutionService.Execute(String actionName, Dictionary`2 inputValues)
�Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionExecutionService.Execute(String actionName)
�Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionCoordinationService.Run(Dictionary`2 declaredActions, XmlElement coordinationData)
�Microsoft.Practices.RecipeFramework.Recipe.ExecuteActions(IDictionaryService readOnlyArguments, IDictionaryService arguments, ITypeResolutionService resolution)
--- 内部异常堆栈跟踪的结�---
�Microsoft.Practices.RecipeFramework.Recipe.UndoExecutedActionsAndRethrow(Exception ex)
�Microsoft.Practices.RecipeFramework.Recipe.ExecuteActions(IDictionaryService readOnlyArguments, IDictionaryService arguments, ITypeResolutionService resolution)
�Microsoft.Practices.RecipeFramework.Recipe.Execute(Boolean allowSuspend)
�Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(String recipe, IAssetReference reference, IDictionary arguments)
�Microsoft.Practices.RecipeFramework.RecipeManager.Add(IComponent component, String name)
�System.ComponentModel.Container.Add(IComponent component)
�Microsoft.Practices.RecipeFramework.RecipeManager.EnablePackage(XmlReader configuration)
�Microsoft.Practices.RecipeFramework.RecipeManager.EnablePackage(String packageName)
�Microsoft.Practices.RecipeFramework.PackageManagement.EnableDisablePackages.OnOkClick(Object sender, EventArgs e)

ikeepsmile  Friday, October 05, 2007 5:08 AM

It seems an issue with SCSF, try to post the issue in the SCSF specific forum @ codeplex http://www.codeplex.com/smartclient

thanks

jose.

Jose Escrich  Friday, October 05, 2007 7:38 PM
I am encountering the same problem. Did you find a resolution?

Mike Mates  Tuesday, October 09, 2007 11:12 PM
Do you have installed VB, that seems and issue when tries to create some VB references.
Jose Escrich  Tuesday, October 09, 2007 11:15 PM
Thank you for your reply. I don't use VB. Whatever I installed with VB, I will reinstall without it.

Mike Mates  Wednesday, October 10, 2007 4:59 AM

I have fix it by:

uninstall the SCSF and GAX

repair the VS2005 add the VB.net, then reinstall sp1

install GAX and SCSF

then it works. I think it was the VB module in the SCSF that cause this problem.

ikeepsmile  Wednesday, October 10, 2007 3:44 PM
I uninstalled VS 2005, CAB 2005, SCSF 2007, GAX, GAT, Enterprise Libraries 3.1 2007 and reinstalled everything with SP1for VS 2005. Same freakin problem.

Mike Mates  Wednesday, October 10, 2007 9:17 PM
I was able to resolve my issue by resinstalling .NET 2.0 & 3.0 from the MS site, thus overlaying the same that was installed on my laptop by my employer. I then reinstalled GAX, GAT and SCSF 2007. I lost about 10 hours over this!
Mike Mates  Thursday, October 11, 2007 5:10 PM

solved via :

1. Modify VS 2005 and adding VB

2. Repair SCSF

markny  Friday, October 19, 2007 5:12 PM

If you don't have VB.Net installed then delete the VB Actions from the recipies Binding.xml found under the guidance package installation folder. Works a charm :)

  • Proposed As Answer byCEO Thursday, April 16, 2009 10:07 PM
  •  
CEO  Thursday, April 16, 2009 10:06 PM
http://developmentwithdotnet.blogspot.com Hello All, Namespace is logical group of Classies which are help to develop application. I have put article about namespace in DotNet.. Must read.. It's really helpfull for further infomration open "http://developmentwithdotnet.blogspot.com" Thanks -Nimesh.
nimesh.blogger  Wednesday, August 05, 2009 5:14 PM

Hello All,

This Article about Data Access Object in .NET. Must read.

How to deal with Data Access Object in .NET Framework, all points explain in this Article.

It's really very userfull.


for further infomration open "http://dotnetheavens.blogspot.com/"

Thanks
-Nimesh.

nimesh.blogger  Sunday, August 16, 2009 8:49 AM

You can use google to search for other answers

Custom Search

More Threads

• DTE Set Startup Project?
• Visual Studio does not recognise GAT
• Guidance Package Uninstallation Damaging GAT
• uninstall previously installed while installing
• Wizard with check boxes
• Guidance Package Manager not enabled in VS 2008
• Unable to install GAX June CTP - States Visual Studio 8.0 is not installed
• Step by Step guide to Smart client software factory
• Reference Errors..
• Where to Report GAT Bugs or Suggestions?