hiya,
Please help.
I have wizard navigator in my project.
I invoke it as follows:
<code>
UIPManager.StartNavigationTask("CarWiz")
<\code>
unfortunately, I get an error:
<error>
the state persistence provider for the navigation graph ?CarWiz? is not
provided. Check the /configuration/ uipConfiguration/objectTypes.
<\error>
I am using the standard persistence that comes with uip:
<appConfigSnip>
<statePersistenceProvider
name="MemoryStatePersistence"
type="Microsoft.ApplicationBlocks.UIProcess.MemoryStatePersistence,
Microsoft.ApplicationBlocks.UIProcess,
Version=1.0.1.0,Culture=neutral,PublicKeyToken=null"/>
<navigationGraph name="CarWiz" runInWizardMode="true"
startView="yogiInfo"
endView="ClientInfo" statePersist="MemoryPersistState" state="State"
iViewManager="WizardViewManager">
<node view="yogiInfo">
<navigateTo navigateValue="next" view="ClientInfo" />
</node>
<node view="ClientInfo">
<navigateTo navigateValue="next" view="ClientInfo" />
</node>
</navigationGraph>
<\appConfigSnip>
The app runs ok until this point.The app.config seems to be OK, as far
as I can see.Can I supply more info?
Please help.
ta,
yogiberr
Robert Koritnik - 18 Nov 2004 14:58 GMT
statePersist atribute in navigationGraph tag must have the same value as
name attribute in statePersistenceProvider tag.

Signature
RobertK
{ Clever? No just smart. }
> hiya,
> Please help.
[quoted text clipped - 41 lines]
> ta,
> yogiberr
chris yoker - 18 Nov 2004 16:04 GMT
aah, many thanks Robert, I'd NEVER have spotted that :-)
ta,
yogiberr
rjgreaves@hotmail.com - 23 Nov 2004 10:57 GMT
Hi there,
Seems you've had as much fun with the UIP as I had. With most of the errors it's usually down to the config settings - even when you think it isn;t in my experience!
The state="State" part of the view set up points to another section of you config file, make sure you have a section within the <objectTypes> that looks something like this:
<state
name="State"
type="Microsoft.ApplicationBlocks.UIProcess.State,
Microsoft.ApplicationBlocks.UIProcess,
Version=1.0.1.0,Culture=neutral,PublicKeyToken=null"
default="true"
/>
Hopefully that will cure your problem?!
RG