Hi, Following the documentation, after creating "CslaDBALibrary Solution incl. Test Project" (On db connection step page 7 of documentation) when I hit finish I get the following exception:
(any suggestions? )
Microsoft.Practices.RecipeFramework.ActionExecutionException: An exception occurred during the binding of reference or execution of recipe CreateDBConnection. Error was: Action DiscoverSchema failed to execute:
Procedure or function 'aspnet_Applications_CreateApplication' expects parameter '@ApplicationId', which was not supplied..
You can remove the reference to this recipe through the Guidance Package Manager. ---> System.Data.SqlClient.SqlException: Procedure or function 'aspnet_Applications_CreateApplication' expects parameter '@ApplicationId', which was not supplied.
at CslaDBA.DatabaseDescriptorProvider.HandleException(Exception ex, String policy)
at CslaDBA.DatabaseDescriptorProvider.LoadStoredProcedureResultSchema(DatabaseDescriptor project, StoredProcedureDescriptor sproc)
at CslaDBA.DatabaseDescriptorProvider.LoadStoredProcedureDescriptors(DatabaseDescriptor project, BackgroundWorker bw)
at CslaDBA.Actions.DiscoverSchemaAction.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.VisualStudio.VsBoundReference.OnExecute()
at Microsoft.Practices.RecipeFramework.AssetReference.Execute()
at Microsoft.Practices.RecipeFramework.VisualStudio.RecipeMenuCommand.OnExec()
at Microsoft.Practices.RecipeFramework.VisualStudio.AssetMenuCommand.Invoke()
Thanks for your help
(any suggestions? )
Microsoft.Practices.RecipeFramework.ActionExecutionException: An exception occurred during the binding of reference or execution of recipe CreateDBConnection. Error was: Action DiscoverSchema failed to execute:
Procedure or function 'aspnet_Applications_CreateApplication' expects parameter '@ApplicationId', which was not supplied..
You can remove the reference to this recipe through the Guidance Package Manager. ---> System.Data.SqlClient.SqlException: Procedure or function 'aspnet_Applications_CreateApplication' expects parameter '@ApplicationId', which was not supplied.
at CslaDBA.DatabaseDescriptorProvider.HandleException(Exception ex, String policy)
at CslaDBA.DatabaseDescriptorProvider.LoadStoredProcedureResultSchema(DatabaseDescriptor project, StoredProcedureDescriptor sproc)
at CslaDBA.DatabaseDescriptorProvider.LoadStoredProcedureDescriptors(DatabaseDescriptor project, BackgroundWorker bw)
at CslaDBA.Actions.DiscoverSchemaAction.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.VisualStudio.VsBoundReference.OnExecute()
at Microsoft.Practices.RecipeFramework.AssetReference.Execute()
at Microsoft.Practices.RecipeFramework.VisualStudio.RecipeMenuCommand.OnExec()
at Microsoft.Practices.RecipeFramework.VisualStudio.AssetMenuCommand.Invoke()
Thanks for your help