Forms causes error in read-only mode

Fixed in

EPiServer.Forms 4.24.1

Created

Mar 13, 2019

Updated

Mar 26, 2019

State

Closed, Fixed and tested


Description

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.