November Happy Hour will be moved to Thursday December 5th.

BV Network - 404 handler calls several times sql CREATE and throws exceptions

Vote:
 

Hi,
We noticed a lot of "BVNetwork.NotFound.Core.Data.DataAccessBaseEx" errors in our log since we use EPiServer 10.
All versions are up to date (EPiServer 10.4, BVN.404Handler 10.1) and we get this message in our AlloyTech log (partially in norwegian).
##############################################################################
2017-02-10 12:37:16,422 [20] ERROR BVNetwork.NotFound.Core.Data.DataAccessBaseEx: Error during NotFoundHandler version check:System.NullReferenceException: Objektreferanse er ikke satt til en objektforekomst.
ved EPiServer.DataAccess.DataAccessBase.CreateCommand()
ved BVNetwork.NotFound.Core.Data.DataAccessBaseEx.b__13_0()
2017-02-10 12:37:16,453 [20] ERROR BVNetwork.NotFound.Core.Data.DataAccessBaseEx: An error occureding in the ExecuteSQL method with the following sqlCREATE TABLE [dbo].[BVN.NotFoundRequests](
                                        [ID] [int] IDENTITY(1,1) NOT NULL,
                                        [OldUrl] [nvarchar](2000) NOT NULL,
                                        [Requested] [datetime] NULL,
                                        [Referer] [nvarchar](2000) NULL
                                        ) ON [PRIMARY]. Exception:System.NullReferenceException: Objektreferanse er ikke satt til en objektforekomst.
ved EPiServer.DataAccess.DataAccessBase.CreateCommand()
ved BVNetwork.NotFound.Core.Data.DataAccessBaseEx.<>c__DisplayClass5_0.b__0()
##############################################################################

The plugin works, but it tries to create a new table each time (Am I wrong?).
We just 'muted' the log with the param logging="off".
Does anybody can confirm it's a bug in the plugin?

Regards.

#175087
Feb 10, 2017 15:16
Vote:
 

This is related to this issue on github. It check your current version to see if there are old redirect objects that should be upgraded. This is run when the site is initialized.

#175155
Feb 14, 2017 10:05
Vote:
 

Thanks Per! I will follow this issue.

#175169
Feb 14, 2017 12:24
Vote:
 

Great. It appears someone has already created a temporary workaround, but I'm guessing it wont take long until a fix will be pushed to the repo

#175209
Feb 15, 2017 6:56
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.