Guidance Extension - Package configuration is invalid.. Recipe Error

Topics: General Discussion Forum, Service Factory Modeling Edition Forum
Jun 3, 2009 at 11:03 AM

While registrering the package gettting the following error. But its successfully compiled. where would be the error I couldnt find it.

Thanks in advance..

=====

Microsoft.Practices.RecipeFramework.ActionExecutionException: An exception occurred during the binding of reference or execution of recipe Register. Error was: Action Register failed to execute:
Package configuration is invalid..
You can remove the reference to this recipe through the Guidance Package Manager. ---> System.Configuration.ConfigurationException: Package configuration is invalid. ---> System.Xml.Schema.XmlSchemaValidationException: The element 'Recipes' in namespace 'http://schemas.microsoft.com/pag/gax-core' cannot contain text. List of possible elements expected: 'Recipe' in namespace 'http://schemas.microsoft.com/pag/gax-core'.
   at System.Xml.Schema.XmlSchemaValidator.SendValidationEvent(XmlSchemaValidationException e, XmlSeverityType severity)
   at System.Xml.Schema.XmlSchemaValidator.SendValidationEvent(String code, String[] args)
   at System.Xml.Schema.XmlSchemaValidator.ValidateText(String elementStringValue, XmlValueGetter elementValueGetter)
   at System.Xml.Schema.XmlSchemaValidator.ValidateText(XmlValueGetter elementValue)
   at System.Xml.XsdValidatingReader.ProcessReaderEvent()
   at System.Xml.XsdValidatingReader.Read()
   at System.Xml.XmlReader.ReadEndElement()
   at System.Xml.Serialization.XmlSerializationReader.ReadEndElement()
   at Microsoft.Practices.RecipeFramework.Configuration.Serialization.GuidancePackageSerializer.BaseReader.Read21_Recipe(Boolean isNullable, Boolean checkType)
   at Microsoft.Practices.RecipeFramework.Configuration.Serialization.GuidancePackageReader.Read21_Recipe(Boolean isNullable, Boolean checkType)
   at Microsoft.Practices.RecipeFramework.Configuration.Serialization.GuidancePackageSerializer.BaseReader.Read23_GuidancePackage(Boolean isNullable, Boolean checkType)
   at Microsoft.Practices.RecipeFramework.Configuration.Serialization.GuidancePackageReader.Read23_GuidancePackage(Boolean isNullable, Boolean checkType)
   at Microsoft.Practices.RecipeFramework.Configuration.Serialization.GuidancePackageSerializer.BaseReader.Read24_GuidancePackage()
   at Microsoft.Practices.RecipeFramework.Configuration.Serialization.GuidancePackageSerializer.Deserialize(XmlSerializationReader reader)
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
   --- End of inner exception stack trace ---
   at Microsoft.Practices.RecipeFramework.GuidancePackage.ReadConfiguration(XmlReader configReader)
   at Microsoft.Practices.RecipeFramework.GuidancePackage.ReadConfiguration(String configFile)
   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()

=====

asankhan

Jun 3, 2009 at 11:23 AM

Did you installed all the prereqs including GAX? (version?)

Are you installing on Vista?

Thanks,

Hernan