DPAPI with User Profile
From: Kiran Kumar Pinjala (KiranKumarPinjala_at_discussions.microsoft.com)
Date: 08/26/04
- Previous message: Novice: "RE: Adding permissions to predefined permission sets"
- Next in thread: Nicole Calinoiu: "Re: DPAPI with User Profile"
- Reply: Nicole Calinoiu: "Re: DPAPI with User Profile"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 26 Aug 2004 11:33:13 -0700
Hi all,
I am using DPAPI to encrypt and decrypt strings. Copied all the code from
the MSDN site. Everything works fine if I do both encryption and decryption
on one machine.
I have posted this error before and was told to use roaming profile by
Steve Jansen, so i did that.
The user profile that I am using is a network user with roaming profile.
The problem is when I encrypt a string on machine1 and try to decrypt the
encrypted stirng on the machine2, I keep getting the error "Key not valid for
use in the specified state"
Can anybody help me with this?
Thanks in advance.
Kiran Kumar Pinjala
- Previous message: Novice: "RE: Adding permissions to predefined permission sets"
- Next in thread: Nicole Calinoiu: "Re: DPAPI with User Profile"
- Reply: Nicole Calinoiu: "Re: DPAPI with User Profile"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|