Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
We have a number of role/membership providers for accessing our EPiServer website. One of these is an Active Directory provider that connects to an internal AD server. Recently, this server became unavailable for a period of time. A scheduled recycle of the application pool caused the website to restart, but initialization failed due to the unavailability of the AD server, and subsequently the whole website was unavailable until the AD server was back online.
Here's an extract from the error that was thrown during initialization
This is an irritating failure to have, as we have a second AD server that could have been fallen back on. Also, should a role provider become unavailable, I would hope that EPiServer would initialize without it, so our webpages could still be served to the public.
As the initialization process doesn't touch our code anywhere, I can't add code to this effect into the process anywhere:
Is there any means by which I can make this setup resilient so that it falls back to a second server, continues without an AD provider if it can't find one, or preferably, do both?
Web.config extract for Membership Providers: