Dear All:
I've spent the past three days attempting to implement the DPAPI w/User
Store solution reccommended by Microsoft
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT08.asp),
and after following the instructions exactly, I recieve an error of the
following format:
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
At the time that I first initialize the DPAPIComp object in my test web
project (the exact same as is detailed in the Microsoft webpage above).
I have even gone to the extent of giving the created user Administrative
access rights, and yet this error still occurs. Has anyone run into this?
The only difference between the example given by Microsoft and what I'm
using is that I am using Visual Studio 2005 and .NET 2.0.
Is there a better way to do this, or is there something unmentioned in that
article that is critical to getting it to function? Thanks in advance for
any help that can be provided!