409 conflict Creating page/block

  • Updated

A couple of partners was trying to create a page or block in editmode but the Create Page/blocks button doesn’t appear. Instead they get a javascript error displaying some internal dojo-error.

  1. Request URL: http://mydomain/EPiServer/cms/Stores/contentdata/
  2. Request Method: POST
  3. Status Code: 409 Conflict

Please check and see if you use custom errors handling in the following fragment of web.config file:
<httpErrors errorMode="Custom" existingResponse="Replace">
<remove statusCode="404"/>
<remove statusCode="500"/>
<error statusCode="404" path="/Error404.aspx" responseMode="ExecuteURL"/>
<error statusCode="500" path="/Error500.aspx" responseMode="ExecuteURL"/>

If so the problem is with existingResponse="Replace", try removing this from the web.config and the validation will start to work as expected.

This is happening because of configuring httperrors for the whole application and EPiServer uses several 4xx HTTP Errors internally and requires the response NOT to be replaced.
The 2 possible solutions: