Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > WizardPage doesnot load
 

WizardPage doesnot load

Hello everyone

I am using SFT.I add a wizard page but it give error at loading.

In my Createsolution.xml file i add another page

<Page Type="TEST.WizardPages.Datawizard,TEST" Height="500" Width="300"/>

I add a windowform in wizardpages folder of SFT.

My DataWizard.cs file is default file,I added a textbox there

namespace TEST.WizardPages
{
public partial class DataWizard : Form
{
public DataWizard()
{
InitializeComponent();
}
}
}

It registered successfully but when I run my new package,it gives error

Microsoft.Practices.WizardFramework.WizardExecutionException: The wizard failed to execute. The error was:
Cannot create WizardPage , Constructor on type 'TEST.WizardPages.Datawizard' not found.. ---> Microsoft.Practices.WizardFramework.WizardFrameworkException: Cannot create WizardPage , Constructor on type 'TEST.WizardPages.Datawizard' not found.. ---> System.MissingMethodException: Constructor on type 'TEST.WizardPages.Datawizard' not found.
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at Microsoft.Practices.WizardFramework.WizardForm.CreateWizardPage(Page page)
--- End of inner exception stack trace ---
at Microsoft.Practices.WizardFramework.WizardForm.CreateWizardPage(Page page)
at Microsoft.Practices.WizardFramework.WizardForm.EndInit()
at Microsoft.Practices.WizardFramework.WizardForm..ctor(IServiceProvider provider, Wizard wizardConfig, String basePath)
at Microsoft.Practices.WizardFramework.WizardForm..ctor(IServiceProvider provider, Wizard wizardConfig)
at Microsoft.Practices.WizardFramework.WizardGatheringService.Microsoft.Practices.Common.Services.IValueGatheringService.Execute(XmlElement data, Boolean allowSuspend)
--- End of inner exception stack trace ---
at Microsoft.Practices.WizardFramework.WizardGatheringService.Microsoft.Practices.Common.Services.IValueGatheringService.Execute(XmlElement data, Boolean allowSuspend)
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.TemplateGatheringService.Microsoft.Practices.Common.Services.IValueGatheringService.Execute(XmlElement serviceData, Boolean allowSuspend)
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.ExecuteFromTemplate(String recipe, IDictionary arguments)
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate.ExecuteRecipe(Boolean executeActions)
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate.RunStarted(Object automationObject, Dictionary`2 replacementsDictionary, WizardRunKind runKind, Object[] customParams)

Guide me

Thanks

Monesh  Wednesday, June 27, 2007 12:23 PM
You've a typo in the manifest file where you specified:

>>>Datawizard

and in your class the constructor is defined:

>>>
DataWizard

note the uppercase 'W'.
vga  Thursday, June 28, 2007 2:47 AM
You've a typo in the manifest file where you specified:

>>>Datawizard

and in your class the constructor is defined:

>>>
DataWizard

note the uppercase 'W'.
vga  Thursday, June 28, 2007 2:47 AM

You can use google to search for other answers

Custom Search

More Threads

• Invoking Add Web Reference Dialog
• How to install Guidance packages?
• I have facing a problem in wix , I have no idea about this
• Newbie Problem
• Guidance Automation Toolkit ( febrruary 2008 ) not able to install
• How can you use T3 templates in VS templates???
• Keyref warning
• Visual Studio 2008 Smart Client software Factory
• how can i add namespace in index.aspx?
• Improper loading of GAT