Loading...

All project content is available for reading, but you need to be a member of the project for Subversion checkout of source code, or to create/modify any information.
Login if you are a member. Apply here to request membership (open to all).

Ticket #363 (new enhancement)

Opened 2 years ago

Episerver 7.x : Warning during Initialization

Reported by: morten@… Owned by: permagne@…
Priority: minor Component: 404Handler
Keywords: Cc:

Description

During startup we get this warning message:

WARN EPiServer.Web.InitializationModule: BVNetwork.FileNotFound.Redirects.CustomRedirectInitialization is attaching to FirstBeginRequest. Attaching to FirstBeginRequest should be avoided. Rewrite your code to implement an IInitializableModule instead.

The 404 initializer uszes an obsolete event EPiServer.Web.InitializationModule.FirstBeginRequest()

From EPiServer.Web:
[Obsolete("Attaching to FirstBeginRequest should be avoided. Rewrite your code to implement an IInitializableModule instead. This event fires only on sites upgraded from version 6.")]

Note: See HelpUser/Tickets for help on using tickets.