P
poifull
Hi Everyone,
When I call the CryptProtectData function from an ASPX page, I got the
following error:
The system cannot find the file specified
I'm getting the error only when ASP Impersonation is used by setting the
<IDENTITY> tag in web.config. Without impersonation the ASPX page works
fine.
The funny thing is if I use RUNAS to open a CMD window with the account
specified in <IDENTITY>, the ASPX page works!
The library is copied from the article "How to: Create a DPAPI Library"
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT07.asp
Any help will be appreciated.
When I call the CryptProtectData function from an ASPX page, I got the
following error:
The system cannot find the file specified
I'm getting the error only when ASP Impersonation is used by setting the
<IDENTITY> tag in web.config. Without impersonation the ASPX page works
fine.
The funny thing is if I use RUNAS to open a CMD window with the account
specified in <IDENTITY>, the ASPX page works!
The library is copied from the article "How to: Create a DPAPI Library"
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT07.asp
Any help will be appreciated.