Forms causes error in read-only mode

Fixed in

EPiServer.Forms 4.24.1


Mar 13, 2019


Mar 26, 2019


Closed, Fixed and tested


Steps to reproduce:

1. Create an empty Episerver project.
2. Run the website.
3. Result: site loads without issues.
4. Add <add key="episerver:DatabaseMode" value="ReadOnly" /> under AppSettings.
5. Run the website.
6. Result: site loads without issues.
7. Install Episerver Forms through nuget package.
8. Run the website.

Actual: Website throws the attached error.
Expected: Site loads without issues.