Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SDL Tridion 2009 - Unable to create an Event System Object

Tags:

tridion

We are using SDL Tridion 2009.

Some time ago we start to get this error "Unable to create an Event System Object". We start to get this error sporadic.

It might be something with our Events implementation, but that was functional more than 2 years, and we start to get this error just a some time ago.

Just in case someone got something similar, and it can help.

Thank you very much

like image 965
Cristina Avatar asked Feb 08 '13 16:02

Cristina


1 Answers

This error is raised during the initialization of the event. The typical suspects here are errors in the constructor of the Event System, like trying to load a configuration file that doesn't exist (without proper error handling) or calling an operation that the current user is not allowed to do.

Tridion does the following actions when it triggers an event:

  1. Check if Event is enabled (MMC SnapIn setting)
  2. Create an object of type "TDSEvents.Events"
  3. Set the Identity of the current user (using .Identity on the Events object)
  4. Invoke the On[ItemName][Event][Phase] method and pass the required parameters.

If any of the first 3 steps cause an error you will get the infamous "Unable to create an Event System Object" error.

like image 65
Nuno Linhares Avatar answered Oct 11 '22 03:10

Nuno Linhares