Ask a Question related to ASP.NET Security, Design and Development.
-
poifull #1
CryptProtectData failed when calling from ASP.NET
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"
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT07.asp[/url]
Any help will be appreciated.
poifull Guest
-
(0x8004E025) COM+ Activation failed because an initialization function failed. Check the event log for more information.
Resolved this issue... Removed component from COM+ registration. Deleted DLL. Re-compiled DLL from source. Re-registered in COM+. Works fine. Mr... -
Calling a WebMethod returns HTTP Status 417: Expectation failed
Hi Manish, Is there a proxy server between the web service server and the particualr client? Based on my experience, this kind of problem may be... -
ftp to AIX failed
I am using AIX4.3.3 ML10 and some ftp from the main frame machine may occassionally got stalled and failed. The system are very idle and the... -
[PHP] Got failed while calling strtotime().
* Thus wrote Larry_Li@contractor.amat.com (Larry_Li@contractor.amat.com): "06 9 2003 12:00AM" is not a valid date string. see:... -
CLI connection failed. SQL30082N Attempt to establish connection failed with security reason "24"
Hi, have you found the failure? Because I'm now in the same situation and don't know how to go on??? :( Thanks Originally posted by Prince... -
swat #2
Re: CryptProtectData failed when calling from ASP.NET
Hi poifull,
What is the authentication in IIS set to? Anonymous? Windows
Integrated? Both? Other?
swat Guest
-
poifull #3
Re: CryptProtectData failed when calling from ASP.NET
Hi swat,
I found out what the problem is from this article:
[url]http://support.microsoft.com/default.aspx?scid=kb;en-us;Q322371[/url]
It clearly states that calling CryptProtectData using user store does not
work with ASP.NET because a profile is required.
Thanks for your response.
"swat" <loka_1999@yahoo.com> wrote in message
news:1114622902.834984.325970@f14g2000cwb.googlegr oups.com...> Hi poifull,
>
> What is the authentication in IIS set to? Anonymous? Windows
> Integrated? Both? Other?
>
poifull Guest



Reply With Quote

