Single sign on in Sitecore
Even after going through the Active Directory and Custom Providers documentation with a fine toothed comb, there was still an issue with Single Sign On. Every time I hit sitecore/admin/LDAPLogin.aspx - the 'configuration test' for SSO, which had anonymous authentication disabled and Windows Integrated authentication turned on, I was presented with a pop up login box. After several failures using login details I knew to be correct, I was presented with a 401.1 Error Page.
It turns out this is due to custom host headers being used on a local site. You can read about this in more detail here at Microsoft support.
Sitecore CryptographicException: Padding is invalid and cannot be removed.
Something to try if you get the error below: Recycle the application pool for the given website. It worked for me.
Update: If that doesn’t fix your problem, try clearing your cookies.
Server Error in '/' Application.
Padding is invalid and cannot be removed.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[CryptographicException: Padding is invalid and cannot be removed.]
Sitecore tip of the day – Rebuild Lucene Search Index
How do I rebuild a Lucene Search Index in Sitecore?
- Log in to the Sitecore desktop at http://yoursite/sitecore/
- Click the Sitecore button and open the Control Panel
- Click on the Database group
- Click Rebuild the Search Index
- Select the indexes you wish to rebuild and click the Rebuild button