RE: DPAPI

From: John Paul. A (JohnPaulA_at_discussions.microsoft.com)
Date: 11/29/04


Date: Sun, 28 Nov 2004 22:23:01 -0800

Hi Mark,
You check the config file settings. If everything finds right there, please
check the security settings for the dll.
Rgds,
John Paul. A

"Mark Petruszak" wrote:

> Hi everyone. I'm creating an app that stores DB connection strings in the
> web config file. I'm using the MSDN resources at
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secmod/html/secmod21.asp and the related articles for help.
>
> However, when using the code in the above article, I get the following
> exception:
> "Exception decrypting. Unable to load DLL (kernal32.dll)." When I click on
> the button "Decrypt string from config file", the application begins to
> postback but then quits after the Page_Load event.
>
> If someone could point me in the right direction, it would be very much
> appreciated.
>
> -Mark
>
>
>
>