RBS Exception


Author
Message
Larry Caylor
Larry Caylor
StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)
Group: Awaiting Activation
Posts: 592, Visits: 3.7K
Role base security is throwing an exception when the session lock timer fires. See attached.
Attachments
SFMessage.png (318 views, 40.00 KB)
Replies
Larry Caylor
Larry Caylor
StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)
Group: Awaiting Activation
Posts: 592, Visits: 3.7K

I can’t be sure but it seems that the AppLifeUpdate and sessionmonitoring issues started with 1.7.7.1. I don’t know if anything changed in SFrelated to session monitoring with that release or if Microsoft released an OSpatch that may somehow be causing a conflict. In any event the AppLifeUpdateand session monitoring is not a problem since I know how to work around it byturning off session monitoring when processing an update. The real issue for meis trying to figure out why I’m getting the duplicate key error while the applicationis running. I can’t reliably reproduce the error, it just randomly happens.

BTW, how is SF2.0 coming along?

-Larry


StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
It is possible that I broke something in some changes I made for 1.7.7.1.  We started using a WPF dialog for our login process with several of our applications.  A WPF Window certainly doesn't inherit from WinForms Form, so I had to add another interface ILoginFormExtended and tie the session locking into that.  Upon hearing of your problems yesterday, I made some changes to the SessionLock class to simply hide the forms when the session locks, so they don't stay on the task bar, only the login form is shown on the taskbar.  The side effect of that is that I no longer need a dictionary to store off the WindowState of each of the windows, so I changed it to use a list instead.  I'm not sure what could be calling LockSession() when it's already locked, but no longer using a dictionary, you certainly wouldn't get a duplicate key exception any more.

Let me know and I can send you the source for the SessionLock class if you want to rebuild the changes to avoid that exception (or use a fancy WPF login form in your app Wink).

FYI, SF 2.0 is coming along swimmingly.  It's taking longer than we'd hoped, but we don't want to release it half-baked, so we're making sure people won't lose functionality when they want to switch over to it, and we're writing oodles of unit tests and coded UI tests for it so it will be stable when we let it out of the barn.  I had some fun a while back copying what Snoop does with it's inspection tool by using an unmanaged injector to launch our testing harness into another app (like VS) so we can do automated UI testing without being limited to the properties that are visible within Accessibility.  
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search