Project Server 2010 Server Event Handler Error RRS feed

  • Question

  • Hi,

    I created a custom server event handler to do some businness OnPublishing the project and I'm encountering the following error:


    Event Handler for event \ProjectPublishing\ of type \MyEventsHandlers.CheckProjectBaselineChanges\ threw an exception: Object reference not set to an instance of an object.    at SCTAEventsHandlers.CheckProjectBaselineChanges.OnPublishing(PSContextInfo contextInfo, ProjectPrePublishEventArgs e) 

    [ServerEventRemote]  Done firing ProjectPublishing 

    GeneralActionCanceledByEventHandler. Details: Attributes:  <null>  ProjectPublishing  . Standard Information: PSI Entry Point:   Project User: MyDomain\tabudayyeh  Correlation Id: fbee6263-2f56-4213-8179-68c0940a8959  PWA Site URL: http://epm/PWA  SSP Name: Project Web App Service Application  PSError: GeneralActionCanceledByEventHandler (22000) fbee6263-2f56-4213-8179-68c0940a8959

    Knowing that the event handler contains only the following lines:


     base.OnPublishing(contextInfo, e);
     e.Cancel = false; 

    Monday, September 5, 2011 12:18 PM


All replies