Server Error in '/' Application - Could not load file or assembly 'CMS.GlobalEventHelper'

   —   
This error occurs sometimes during the upgrade of Kentico CMS.
There are 3 known possible reasons of this error.

1. Custom handlers
If you are using custom handlers it’s possible that you haven’t configured them fully yet.
To find out if you are using custom handlers you should check your website's web.config file for line <add key="CMSUseCustomHandlers" value="true" />. If this line is included in your web.config file then please follow these instructions:
- Add Custom Handlers you used to use in your project to your website as described in Developer's guide (Event handling overview).
- Fill the code from previous version of Custom Handlers to the newly added Custom Handlers and rebuild solution.
- The references will be updated to new version of DataHandler and everything should work correctly.

2.IIS cache
Another reason of this problem could be .NET cache so please try to delete content of .NET cache folder located in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ folder. There could be still some old references. After deleting these files it might take longer time to load the application again. It could be also needful to use aspnet_regiis -i in your ASP.NET folder and then restart your IIS with iisreset command.

3.Incomplete installation
Last known reason of this issue is incomplete installation of CMS.
It may be possible that you haven’t copied and overwritten all files from the upgrade package, so please try this step of upgrade procedure again.



See also:


Applies to: Upgraded versions
Share this article on   LinkedIn

Juraj Ondrus

Hi, I am the Technical support leader at Kentico. I'm here to help you use Kentico and get as much as possible out of it.