Attaching to FirstBeginRequest should be avoided

Vote:
 

Hi, im working on a projekt where this appears frequently in the log-files

WARN EPiServer.Web.InitializationModule[(null)] - Attaching to FirstBeginRequest should be avoided. Rewrite your code to implement an IInitializableModule instead

I cant find any references to FirstBeginRequest in our code.

Can anyone shed some light on this? Would it be safe to ignore this and only log erorrs from InitializationModule?

 

Thanks!

Martin

#58229
Apr 13, 2012 14:03
Vote:
 

Some code somewhere is attaching to this event. Have you added any plug-ins from Nuget, EPiCode etc that you don't have the source code for and therefore don't see the call when you search?

#58277
Apr 17, 2012 11:10
Vote:
 

Thanks for your reply.

These are the only references I can find when reflecting. All of them are from EPiServer code.

  • EPiServer.MirroringService.MirroringMonitoring.MirroringMonitoringModule.Init
  • EPiServer.Scheduler.Initializer.Init
  • EPiServer.WorkflowFoundation.WorkflowSystem.Init

/Martin

#58302
Apr 18, 2012 13:09
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.