After adding the crypto feature for user mappings to cypher passwords I ran into a crypto exception when using IIS ASP.NET:

System.Security.Cryptography.CryptographicException saying that the handle was not valid after deploying to server:



In the Security tab of the folder's Properties:

Click Advanced

Click the Owner tab

Ensure the current owner says Administrators, if not, click it in the "Change owner to" box

Check the checkbox that says "Replace owner on subcontainers and objects"

Hit Apply

Click the Permissions tab

Add the Everyone group (if you haven't already) by using the Add button, type Everyone, and click OK

Highlight the Everyone group and click Edit

Ensure "Allow" is checked for all the boxes and click OK

Check the box that says "Replace permission entries on all child objects with entries shown here that apply to child objects"

Click Apply, then Yes on the warning to continue

Click OK

Then click Apply & OK on the MachineKeys Properties window.



This all did the trick for me. :-)

Last edited Apr 8, 2011 at 1:00 PM by Trace79, version 1

Comments

No comments yet.