BVN 404 handler

Vote:
 

Hi,

I've added the BVN handler to an EpiServer 7.5 project via Nuget.  When I try to view the gadget in the Dashboard, it fails to load.  Looking at the logs I get the following:

2014-10-13 10:10:02,571 [40] ERROR EPiServer.Global: 1.2.5 Unhandled exception in ASP.NET

System.Web.HttpCompileException (0x80004005): d:\DevRoot2013\zzzzz\modules\BVNetwork.FileNotFound.RedirectGadget\Views\Redirect\Index.ascx(4): error CS1061: 'object' does not contain a definition for 'IsSuggestions' and no extension method 'IsSuggestions' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?)

I've check and I am referencing to the assembly. Any suggestions on how to get the BVN gadget to work?

Thanks

Danie

#109798
Oct 15, 2014 11:07
Vote:
 

Check your modulesbin folder. There should be both BVNetwork.FileNotFound.RedirectGadget.dll and BVNetwork.EPi404.dll

#109804
Oct 15, 2014 12:33
Vote:
 

Hey Danie

I assume this might be an MVC project? If so then the following walkthrough by Jon Jones might help:

http://jondjones.com/episerver-7-installing-bvn-404handler/

It includes a link to some work done Mark Everard thats needed if you want to use it in an MVC project.

David

#109814
Oct 15, 2014 13:57
Vote:
 

Hi guys,

thanks for your suggestions.  David, it is a MVC project.  I've went through walkthrough and also copied over the dlls to the modulesin folder but still get the error.

thanks

#109872
Oct 16, 2014 10:29
Vote:
 

Maybe not the solution for this error but you might need to change the web.config for the handler to support your version av MVC as well:

Have a  look at my blogpost for this issue: http://world.episerver.com/Blogs/Eric-Pettersson/Dates/2014/8/500-Internal-Server-Error-in-the-gadget-404-handler-for-CMS-7-from-BV-Network-MVC/

#109873
Oct 16, 2014 10:47
Vote:
 

I got the same error pointing to IsSuggestions. I think it has to do with the version of mvc that that is configured in /Modules/BVNetwork.FileNotFound.RedirectGadget/Views/Web.config. I removed the following and got it working.

<pages validateRequest="false" pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<controls>
<add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" namespace="System.Web.Mvc" tagPrefix="mvc" />
</controls>
</pages>



#114246
Dec 08, 2014 13:30
Vote:
 

We're cleaning this up, and will post a new version of the module to the feed in a few days.

#114250
Dec 08, 2014 14:25
* 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.