Weird errors

Jeff Klunder asked on June 7, 2017 09:19

Hi all,

We regularly get two errors (see attached screenshots) when working on Kentico 10 projects. The weird thing is that after page refresh, they disappear for an x amount of time. This feels a bit unstable.

Is there anything we good do to fix this?

Image Text

Image Text

Recent Answers


Roman Hutnyk answered on June 7, 2017 09:51

Second one usually happens to me whenever i switch from http to https or vice versa in the admin area. Making admin area to use https only 'fixes' this.

1 votesVote for this answer Mark as a Correct answer

David te Kloese answered on June 7, 2017 10:34

What hotfix version are you on? In hotfix 10.20 they improved the logging to make it easier to identify what's wrong.

https://devnet.kentico.com/download/hotfixes

  • Security - Improved logging of CSRF errors - Errors that occurred as a result of the system's CSRF protection feature were difficult to identify in certain cases. After applying the hotfix, the related error messages provide more accurate information.

Does the CSRF-error happen on your developent after you changed your code? It could be caused because you've had the page open and did a rebuild of your project and tried to do a post action which had an outdated state.


For the missing icons do you have any 404/script errors if you look at your browser console/debug tools? The icons are rendered from icon font.

I think most of it is referenced via /App_Themes/Default/bootstrap.css

And the fonts used for the icons are located at:

/App_Themes/Default/Fonts/Core-icons.woff (also ...icons.eot , ...icons.svg and ...icons.ttf)

depending on your browser and the like it will pick one for you.

So I think it could be an issue with your IIS not allowed to return these filetypes.

  • So first check if all files are present
  • than you might want to check the "MIME Types" module in IIS to see if it allows these types
0 votesVote for this answer Mark as a Correct answer

Jeff Klunder answered on June 7, 2017 10:41

Hi David,

Thanks for your response.

In the browser console, there are no errors or anything like that. Also after a page refresh, the icons are back, so I think it doesn't have anything to do with missing assets. The IIS thing you mentioned also doesn't apply, me thinks, because of this same reason.

Not sure what hotfix I am on, can I check that somewhere?

0 votesVote for this answer Mark as a Correct answer

David te Kloese answered on June 7, 2017 10:45

If you click the Question mark icon on top of the bar in admin interface in the menu shows a version number.

Image Text

0 votesVote for this answer Mark as a Correct answer

Jeff Klunder answered on June 7, 2017 10:47

It says v10.0 at my end

0 votesVote for this answer Mark as a Correct answer

Dawid Jachnik answered on June 7, 2017 12:31

Hello Jeff, Make sure you hotfixed your Kentico instance to 10.0.20 as David says. You need also to observe in which situations the erros occurs.

0 votesVote for this answer Mark as a Correct answer

Jeff Klunder answered on June 7, 2017 12:42

Hi Dawid,

Okay, I'll try to install the hotfix.

There is no set situation where these two errors occur really. They randomly appear, as far as I know.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on June 7, 2017 14:05

For reference it's never good to be on a vanilla install of any software. The faster you can apply the latest hotfixes to your install, the better off you will be.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.