Hi Everyone,
When I call the CryptProtectDat a 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"
Any help will be appreciated.
When I call the CryptProtectDat a 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"
Any help will be appreciated.
Comment