Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > The specified '8.0Exp' registration setting is not valid
 

The specified '8.0Exp' registration setting is not valid

Hi,

I am running WSSF Extended Hands On Lab Exercise 1. Everything ran fine until the last step when I was about to register my package. ie. I failed in registering the BusinessEntityGuidancePackage. Here is the output from the Recipe Framework:

"Output window created.
Entering constructor for: Microsoft.VisualStudio.ShellConfig.ShellConfigPackage
Entering Initialize() of: Microsoft.VisualStudio.ShellConfig.ShellConfigPackage
(*) Error: 0 : Microsoft.Practices.RecipeFramework.ActionExecutionException: An exception occurred during the binding of reference or execution of recipe Register. Error was: Action Register failed to execute:
The specified '8.0Exp' registration setting is not valid.
You can remove the reference to this recipe through the Guidance Package Manager. ---> System.Exception: The specified '8.0Exp' registration setting is not valid
at Microsoft.Practices.RecipeFramework.MetaGuidancePackage.Registration.PackageRegistationAction.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 Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionCoordinationService.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.Execute(IAssetReference reference)
at Microsoft.Practices.RecipeFramework.RecipeReference.OnExecute()
at Microsoft.Practices.RecipeFramework.AssetReference.Execute()
at Microsoft.Practices.RecipeFramework.VisualStudio.RecipeMenuCommand.OnExec()
at Microsoft.Practices.RecipeFramework.VisualStudio.AssetMenuCommand.Invoke()

(*) Error: 0 : Microsoft.Practices.RecipeFramework.ActionExecutionException: An exception occurred during the binding of reference or execution of recipe Register. Error was: Action Register failed to execute:
The specified '8.0Exp' registration setting is not valid.
You can remove the reference to this recipe through the Guidance Package Manager. ---> System.Exception: The specified '8.0Exp' registration setting is not valid
at Microsoft.Practices.RecipeFramework.MetaGuidancePackage.Registration.PackageRegistationAction.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 Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionCoordinationService.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.Execute(IAssetReference reference)
at Microsoft.Practices.RecipeFramework.RecipeReference.OnExecute()
at Microsoft.Practices.RecipeFramework.AssetReference.Execute()
at Microsoft.Practices.RecipeFramework.VisualStudio.RecipeMenuCommand.OnExec()
at Microsoft.Practices.RecipeFramework.VisualStudio.AssetMenuCommand.Invoke()

(*) Error: 0 : Microsoft.Practices.RecipeFramework.ActionExecutionException: An exception occurred during the binding of reference or execution of recipe Register. Error was: Action Register failed to execute:
The specified '8.0Exp' registration setting is not valid.
You can remove the reference to this recipe through the Guidance Package Manager. ---> System.Exception: The specified '8.0Exp' registration setting is not valid
at Microsoft.Practices.RecipeFramework.MetaGuidancePackage.Registration.PackageRegistationAction.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 Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionCoordinationService.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.Execute(IAssetReference reference)
at Microsoft.Practices.RecipeFramework.RecipeReference.OnExecute()
at Microsoft.Practices.RecipeFramework.AssetReference.Execute()
at Microsoft.Practices.RecipeFramework.VisualStudio.RecipeMenuCommand.OnExec()
at Microsoft.Practices.RecipeFramework.VisualStudio.AssetMenuCommand.Invoke()

(*) Error: 0 : Microsoft.Practices.RecipeFramework.ActionExecutionException: An exception occurred during the binding of reference or execution of recipe QuickRegister. Error was: Action QuickRegisterAction failed to execute:
Could not find file 'C:\Documents and Settings\All Users\Application Data\Microsoft\Recipe Framework\RecipeFramework8.0Exp.xml'..
You can remove the reference to this recipe through the Guidance Package Manager. ---> System.IO.FileNotFoundException: Could not find file 'C:\Documents and Settings\All Users\Application Data\Microsoft\Recipe Framework\RecipeFramework8.0Exp.xml'.
File name: 'C:\Documents and Settings\All Users\Application Data\Microsoft\Recipe Framework\RecipeFramework8.0Exp.xml'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
at System.Threading.CompressedStack.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state)
at System.Xml.XmlTextReaderImpl.OpenUrl()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at Microsoft.Practices.RecipeFramework.MetaGuidancePackage.Registration.QuickRegisterAction.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 Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionCoordinationService.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.Execute(IAssetReference reference)
at Microsoft.Practices.RecipeFramework.RecipeReference.OnExecute()
at Microsoft.Practices.RecipeFramework.AssetReference.Execute()
at Microsoft.Practices.RecipeFramework.VisualStudio.RecipeMenuCommand.OnExec()
at Microsoft.Practices.RecipeFramework.VisualStudio.AssetMenuCommand.Invoke()

(*) Error: 0 : Microsoft.Practices.RecipeFramework.ActionExecutionException: An exception occurred during the binding of reference or execution of recipe Register. Error was: Action Register failed to execute:
The specified '8.0Exp' registration setting is not valid.
You can remove the reference to this recipe through the Guidance Package Manager. ---> System.Exception: The specified '8.0Exp' registration setting is not valid
at Microsoft.Practices.RecipeFramework.MetaGuidancePackage.Registration.PackageRegistationAction.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 Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionCoordinationService.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.Execute(IAssetReference reference)
at Microsoft.Practices.RecipeFramework.RecipeReference.OnExecute()
at Microsoft.Practices.RecipeFramework.AssetReference.Execute()
at Microsoft.Practices.RecipeFramework.VisualStudio.RecipeMenuCommand.OnExec()
at Microsoft.Practices.RecipeFramework.VisualStudio.AssetMenuCommand.Invoke()"

I am using Visual Studio 2008 Prof Edition and XP SP3. When I used Quick Register, I got a "System.IO.FileNotFoundException: Could not find file 'C:\Documents and Settings\All Users\Application Data\Microsoft\Recipe Framework\RecipeFramework8.0Exp.xml'.
File name: 'C:\Documents and Settings\All Users\Application Data\Microsoft\Recipe Framework\RecipeFramework8.0Exp.xml'". I went inside the folder but only find the RecipeFramework9.0Exp.xml. I did a Google search but there is no such a file as RecipeFramework8.0Exp.xml' online. What could be the problem?


Jeff
Jeff584397  Friday, January 23, 2009 1:59 AM

Hi,

Are you downloading the code from this link ? :

http://www.codeplex.com/servicefactory/Release/ProjectReleases.aspx?ReleaseId=7847

If I am right, you have the code for VS2008, you don´t need to convert VS2005 examples to VS2008, because italready was converted.

You need to download the code from theExtending-HOL Source (VS2008).zip file.

greetings


Leandro Tuttini
  • Marked As Answer byJeff584397 Thursday, January 29, 2009 8:27 PM
  •  
Leandro Tuttini  Saturday, January 24, 2009 1:19 PM

Hi,

Remember that if you are using VS2008, sure you have installed VS2008 SDK 1.0 or 1.1, then you have the 9.0Exp.

The 8.0Exp corresponds to VS2005 (and VS2005 SDK).

I think that the project which you are editing was converted to VS2008, or you must install the VS2005 SDK.

If you install VS2005 SDK, you will had the 8.0Exp.

greetings


Leandro Tuttini
Leandro Tuttini  Friday, January 23, 2009 12:08 PM
Thanks for your prompt reply Leandro! You are absolutely right, the project was converted when I opened it with VS2008. In fact, I have strongly doubt about this as a source of the problem. Then I fell back: how come a project can work on VS2005 but not VS2008? Remember this is THE sample project recommended by the P&P team. So, what should I do to make it work on VS2008? I have tried changing the name from the RecipeFramework9.0Exp.xml to RecipeFramework8.0Exp.xml, wondering that I could fool the machine. But the same feedback. There is no RecipeFramework8.0Exp.xml online according to Google, indicating that RecipeFramework8.0Exp.xml could only exists in binary format within the package.

I believe this is going to be the most common problem anyone using VS2008 will encounter, since the sample is a "THE Project". Perhaps it deserves some attention from the P&P team. Any help?

Thanks,

Jeff



Jeff
Jeff584397  Friday, January 23, 2009 6:39 PM

Hi,

Are you downloading the code from this link ? :

http://www.codeplex.com/servicefactory/Release/ProjectReleases.aspx?ReleaseId=7847

If I am right, you have the code for VS2008, you don´t need to convert VS2005 examples to VS2008, because italready was converted.

You need to download the code from theExtending-HOL Source (VS2008).zip file.

greetings


Leandro Tuttini
  • Marked As Answer byJeff584397 Thursday, January 29, 2009 8:27 PM
  •  
Leandro Tuttini  Saturday, January 24, 2009 1:19 PM
Just back from Chinese new year vacation. Good Grief! How could I have chosen the other version, I must have had been in the massive download mode. Thanks Leandro! Happy New year!
Jeff
Jeff584397  Thursday, January 29, 2009 8:27 PM

You can use google to search for other answers

Custom Search

More Threads

• Enable recipie if assembly reference exist
• Substitue for Windows Service in Web Application
• Unable to create project using GAX/WCSF in VS2008
• Newbie Problem
• Problem Using Newly Created Guidance package in VS 2005
• web project template, to fire code in gac class.
• GAT is VS Solution Centric
• Error in creating new solution through SFT
• GAX VS 2005 - "Cannot find registration information for template "...". Package templates may not be properly registered. Run package installation again and verify template name and location.
• Creating solution folders which do not appear on disk