EpiServer add-on is showing in my local dev environment, but not in integration

Vote:
 

In my local dev environment, I can see this add in the gadgets modal.

But when I look in integration, I don't see it.

Any ideas why it is missing in integration?

Thanks!

#280126
May 10, 2022 19:57
Vote:
 

I'm assuming this is BVN404?

As a start, look your web.config on Integration and confirm you can see a <bvn404handler> section and reference to bvn404 in the protectedmodules section.

You could also check access is restricted to the gadget in the web.config, look for securedcomponents section and see if there's a reference to bvnetwork there. It may have a role against it meaning you can only see the gadget if you have the assigned role.

#280164
May 11, 2022 8:36
Vote:
 

The handler is on integration. I didn't see anything for securedcomponents. But I did see a section under protectedmodules. I found this:

<episerver.shell>
    <publicModules rootPath="~/modules/" autoDiscovery="Modules" />
    <protectedModules rootPath="~/EPiServer/">
        <add name="BVNetwork.404Handler" />

and this:

<virtualPathProviders>
    <clear />
    <add name="ProtectedModules" virtualPath="~/EPiServer/" physicalPath="Modules\_Protected" type="EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider, EPiServer.Framework.AspNet" />
</virtualPathProviders>

and this:

<location path="Modules/_Protected">
    <system.webServer>
        <validation validateIntegratedModeConfiguration="false" />
        <handlers>
            <clear />
            <add name="BlockDirectAccessToProtectedModules" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" />
        </handlers>
    </system.webServer>
</location>

Do I need to set specific permissions or something? This was supposedly working before. So it's weird that it's not now.

#280168
May 11, 2022 12:54
Vote:
 

Try adding this in:

<episerver.shell>
        <viewManager>
            <securedComponents>
                <add definitionName="BVNetwork.NotFound.Controllers.NotFoundRedirectController" allowedRoles="Administrators" />
            </securedComponents>
        </viewManager>

#280169
Edited, May 11, 2022 12:58
Vote:
 

I added it, but it did not seem to work. I used Administrators and CmsAdmins, which is what my security section shows for the admin role. I restarted the app after each change and it still does not appear. This is what my episerver.shell section looks like on integration. It's odd that it works in local dev, but not on the website in integration.

#280171
May 11, 2022 13:33
Vote:
 

Couple more things for you to check

1. You have this in your integration web.config: <bvn404Handler handlerMode="On">

2. In your web folder under modules/_protected that the bvn404 folder exists and the correct files are there. Compare it to your local env.

#280211
May 11, 2022 23:34
Vote:
 

Ah. That second item is the problem, I think. The integration environment doens't have the BVN404 zip file. But local does.

Integration:

Local:

I need to figure out why all of the zips made it to their folders, but this one didn't.

#280213
May 12, 2022 1:03
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.