Click here to Skip to main content
14,425,800 members
Rate this:
Please Sign up or sign in to vote.
See more:
I am using "File.Encrypt(sPath)" method to encrypt a file. but an Exception "System.IO.IOException was unhandled
Message=Recovery policy configured for this system contains invalid recovery certificate." is accruing
Please Help Me for Solution.


THANX

M USMAN
Posted

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

When you get an error message that you don't understand, the first thing to do is to Google the message:
https://www.google.co.uk/search?q=Recovery+policy+configured+for+this+system+contains+invalid+recovery+certificate&oq=Recovery+policy+configured+for+this+system+contains+invalid+recovery+certificate&sugexp=chrome,mod=14&sourceid=chrome&ie=UTF-8[^]

This makes it look like this is a known problem with workrounds. Without knowing more specifics about your environment, I can't tell which of these are relevant, but the first link - to MSDN - describes your problem exactly, so it's worth looking at:
Error message when client computers encrypt a file in a Windows Server 2003 domain: “Recovery policy configured for this system contains invalid recovery certificate”[^]
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100