Thanks Ken. Yes, this sounds consistent with my observations, so LoadKeyByUUID() doesn't load the bind key second time it is called. Now, how do we fix this.
----- Original Message ----- > From: "Ken Goldman" <[email protected]> > To: [email protected] > Sent: Thursday, May 1, 2014 2:15:51 PM > Subject: Re: [TrouSerS-users] Multiple context across multiple applications > issue > > On 5/1/2014 1:24 PM, Dmitri Toubelis wrote: > > Ken, > > > > I triple checked my code and I it looks like when I call > > LoadKeyByUUID() the first time it works fine, but when I call it > > again with the SAME key UUID from a different context it gives this > > error. This means that LoadKeyByUUID() somehow loads a wrong key > > the > > second time around. You say that it is trying to UnBind() with a > > storage key, so this would mean that LoadKeyByUUID() likely loads > > the > > parent of the key in question for some reasons. > > I'm not saying it's loading the wrong key the second time. I'm > saying > it doesn't load it at all. > > Your hierarchy is: > > SRK -> Storage Key -> Bind Key > > So it first has to load your storage key under the SRK, then your > bind > key under the storage key. > > The second time, it loads your storage key, but it never loads your > bind > key. Then it uses your storage key to unbind, which of course > fails. > > ~~ > > I can tell what is happening, not why. > > > > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For > FREE > Instantly run your Selenium tests across 300+ browser/OS combos. Get > unparalleled scalability from the best Selenium testing platform > available. > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > TrouSerS-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/trousers-users > ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ TrouSerS-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/trousers-users
