All K2 sites are unavailable, when you try to access them you see almost empty white page with some text in top right corner of the page

  • 16 February 2021
  • 0 replies
  • 34 views

Badge +3
 

All K2 sites are unavailable - empty white page displayed

kbt157901

PRODUCT
K2 Five
TAGS
IIS
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.

Issue

All K2 sites are unavailable, when you try to access them you see mostly an empty white page with the following text in top right corner of the page:

Forms
Browse
[Empty Data Label]
Back
K2:DOMAINUser
Developed by K2 blackpearl

Symptoms

 

In your Internet browser console it is possible to see numerous errors similar to this one:

Failed to load resource: the DT.SourceCode.Forms...olPack.KendoUI.js:1 server responded with a status of 500 (Internal Server Error)

Resolution

This issue can be caused by changes made in the web.config (C:inetpubK2 blackpearl), more specifically, it can happen when the following lines are added:

<httpProtocol>
<customHeaders>
<add name="X-UA-Compatible" value="IE=EmulateIE7" />
<add name="Access-Control-Allow-Origin" value="*" />
<add name="Access-Control-Allow-Headers" value="Content-Type" />
<add name="Access-Control-Allow-Methods" value="GET,POST,PUT,DELETE,OPTIONS" />
<add name="Access-Control-Allow-Credentials" value="true" />
</customHeaders>
</httpProtocol>


In this case, removing these lines or at least  removing <add name="Access-Control-Allow-Origin" value="*" /> resolves the issue experienced within the K2 sites.


0 replies

Be the first to reply!

Reply