Skip to content
Archive of posts filed under the ASP.NET category.

DPAPI Decrypt Request Failed exception

For the last couple of days, I’ve been dealing with a web hosting service “mistake”. they decided to limit the usage of trust level attribute, at the web.config file.
so suddenly, the code couldn’ t decrypt the connection string and a nice exception flashed into my eyes:
“System.Security.SecurityException : Request Failed”
at the web.config i used <trust level=”Full” [...]