Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Distributed Applications / November 2004

Tip: Looking for answers? Try searching our database.

UIP: "state persistence provider is not provided" error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
chris yoker - 18 Nov 2004 11:24 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.